dlog
Logging framework
 All Files Functions Enumerations Enumerator Groups
Enumerations | Functions
dlog.h File Reference

This file is the header file of 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 Error. More...
 
enum  log_priority {
  DLOG_UNKNOWN = 0,
  DLOG_DEFAULT,
  DLOG_VERBOSE,
  DLOG_DEBUG,
  DLOG_INFO,
  DLOG_WARN,
  DLOG_ERROR,
  DLOG_FATAL,
  DLOG_SILENT,
  DLOG_PRIO_MAX
}
 Enumeration for log priority values in ascending priority order. More...
 

Functions

int dlog_print (log_priority prio, const char *tag, const char *fmt,...)
 Sends log with priority and tag.
 
int dlog_vprint (log_priority prio, const char *tag, const char *fmt, va_list ap)
 Sends log with priority, tag, and va_list.
 

Detailed Description

Version
0.4