Logo Search packages:      
Sourcecode: avahi version File versions

log.h File Reference


Detailed Description

Extensible logging subsystem

Definition in file log.h.

#include <stdarg.h>
#include <avahi-common/cdecl.h>
#include <avahi-common/gccmacro.h>

Go to the source code of this file.

Typedefs

typedef void(* AvahiLogFunction )(AvahiLogLevel level, const char *txt)

Enumerations

enum  AvahiLogLevel {
  AVAHI_LOG_ERROR = 0, AVAHI_LOG_WARN = 1, AVAHI_LOG_NOTICE = 2, AVAHI_LOG_INFO = 3,
  AVAHI_LOG_DEBUG = 4, AVAHI_LOG_LEVEL_MAX
}

Functions

void avahi_log (AvahiLogLevel level, const char *format,...) AVAHI_GCC_PRINTF_ATTR23
void avahi_log_ap (AvahiLogLevel level, const char *format, va_list ap)
void avahi_log_debug (const char *format,...) AVAHI_GCC_PRINTF_ATTR12
void avahi_log_error (const char *format,...) AVAHI_GCC_PRINTF_ATTR12
void avahi_log_info (const char *format,...) AVAHI_GCC_PRINTF_ATTR12
void avahi_log_notice (const char *format,...) AVAHI_GCC_PRINTF_ATTR12
void avahi_log_warn (const char *format,...) AVAHI_GCC_PRINTF_ATTR12
void avahi_set_log_function (AvahiLogFunction function)


Generated by  Doxygen 1.6.0   Back to index