Logo Search packages:      
Sourcecode: sofia-sip version File versions

su_log.h File Reference


Detailed Description

SU logging interface

Author:
Pekka Pessi <Pekka.Pessi@nokia.com>.
Date:
Created: Thu Feb 22 18:09:02 2001 ppessi

Definition in file su_log.h.

#include <stdarg.h>
#include <sofia-sip/su_config.h>

Go to the source code of this file.

Classes

struct  su_log_s

Defines

#define SU_LOG_INIT(name, env, level)   { sizeof(su_log_t), name, env, level, SU_LOG_MAX, 0, NULL, NULL, }

Typedefs

typedef struct su_log_s su_log_t

Enumerations

enum  { SU_LOG_MAX = 9 }

Functions

SOFIAPUBFUN void SOFIAPUBFUN void su_llog (su_log_t *log, unsigned level, char const *fmt,...) __attribute__((__format__(printf
SOFIAPUBFUN void su_log (char const *fmt,...) __attribute__((__format__(printf
SOFIAPUBFUN void su_log_init (su_log_t *log)
SOFIAPUBFUN void su_log_redirect (su_log_t *log, su_logger_f *f, void *stream)
SOFIAPUBFUN void su_log_set_level (su_log_t *log, unsigned level)
SOFIAPUBFUN void su_log_soft_set_level (su_log_t *log, unsigned level)
SOFIA_BEGIN_DECLS typedef void() su_logger_f (void *stream, char const *fmt, va_list ap)
SOFIAPUBFUN void su_perror (char const *s)
SOFIAPUBFUN void su_perror2 (char const *s, int errcode)
SOFIAPUBFUN void SOFIAPUBFUN
void SOFIAPUBFUN void 
su_vllog (su_log_t *log, unsigned level, char const *fmt, va_list ap)

Variables

SOFIAPUBVAR su_log_t su_log_default []
SOFIAPUBVAR su_log_t su_log_global []


Generated by  Doxygen 1.6.0   Back to index