nanohttp-logging.c File Reference

#include "nanohttp-logging.h"

Go to the source code of this file.

Functions

log_level_t hlog_set_level (log_level_t level)
log_level_t hlog_get_level (void)
void hlog_set_file (const char *filename)
void hlog_set_background (int state)
char * hlog_get_file (void)
void hlog_verbose (const char *FUNC, const char *format,...)
void hlog_debug (const char *FUNC, const char *format,...)
void hlog_info (const char *FUNC, const char *format,...)
void hlog_warn (const char *FUNC, const char *format,...)
void hlog_error (const char *FUNC, const char *format,...)


Function Documentation

void hlog_debug const char *  FUNC,
const char *  format,
  ...
 

Definition at line 171 of file nanohttp-logging.c.

References HLOG_DEBUG.

void hlog_error const char *  FUNC,
const char *  format,
  ...
 

Definition at line 201 of file nanohttp-logging.c.

References HLOG_ERROR.

char* hlog_get_file void   ) 
 

Get the filename of the logfile.

Returns:
Pointer to the filename or null otherwise.

Definition at line 110 of file nanohttp-logging.c.

log_level_t hlog_get_level void   ) 
 

Get the loglevel.

Returns:
The current loglevel.

Definition at line 85 of file nanohttp-logging.c.

void hlog_info const char *  FUNC,
const char *  format,
  ...
 

Definition at line 181 of file nanohttp-logging.c.

References HLOG_INFO.

void hlog_set_background int  state  ) 
 

Definition at line 102 of file nanohttp-logging.c.

void hlog_set_file const char *  filename  ) 
 

Set the logfile.

Parameters:
filename The filename of the logfile.

Definition at line 91 of file nanohttp-logging.c.

log_level_t hlog_set_level log_level_t  level  ) 
 

Set the loglevel.

Parameters:
level The new loglevel.
Returns:
The old loglevel.

Definition at line 77 of file nanohttp-logging.c.

void hlog_verbose const char *  FUNC,
const char *  format,
  ...
 

Definition at line 161 of file nanohttp-logging.c.

References HLOG_VERBOSE.

void hlog_warn const char *  FUNC,
const char *  format,
  ...
 

Definition at line 191 of file nanohttp-logging.c.

References HLOG_WARN.


Generated on Thu Jan 25 23:36:03 2007 for csoap by  doxygen 1.4.6