dlog
Logging framework
Loading...
Searching...
No Matches
dlog.h File Reference

This file is the header file of the interface of Dlog. More...

#include <stdarg.h>
#include <string.h>
#include <tizen_error.h>
#include "dlog-internal.h"

Go to the source code of this file.

Enumerations

enum  dlog_error_e {
  DLOG_ERROR_NONE = TIZEN_ERROR_NONE ,
  DLOG_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER ,
  DLOG_ERROR_NOT_PERMITTED = TIZEN_ERROR_NOT_PERMITTED
}
 Enumeration for Dlog Errors, returned by API calls. More...
enum  log_priority {
  DLOG_VERBOSE ,
  DLOG_DEBUG ,
  DLOG_INFO ,
  DLOG_WARN ,
  DLOG_ERROR ,
  DLOG_FATAL ,
  DLOG_SILENT
}
 Enumeration for log priority values in ascending priority order. More...

Functions

int dlog_print (log_priority prio, const char *tag, const char *fmt,...) __attribute__((format(printf
 Sends a log message with given priority and tag, using printf formatting.
int int dlog_vprint (log_priority prio, const char *tag, const char *fmt, va_list ap)
 Sends a log message with given priority and tag label, using variadic args.

Detailed Description

Version
0.4

Interfaces for DLog, the default system-wide logger for Tizen.