MSG_LOG Class Reference
#include <msg_log.h>
List of all members.
|
Public Member Functions |
| | MSG_LOG (FILE *output) |
| virtual | ~MSG_LOG () |
| void | enter_level (int=1) |
| void | leave_level () |
| MSG_LOG & | operator++ () |
| MSG_LOG & | operator-- () |
| void | printf (int kind, const char *format,...) __attribute__((format(printf |
| void void | printf_multiline (int kind, const char *str, const char *prefix_format,...) __attribute__((format(printf |
| void void void | printf_file (int kind, const char *filename, const char *prefix_format,...) __attribute__((format(printf |
| void void void void | vprintf (int kind, const char *format, va_list va) |
| void | vprintf_multiline (int kind, const char *str, const char *prefix_format, va_list va) |
| void | vprintf_file (int kind, const char *filename, const char *prefix_format, va_list va) |
Public Attributes |
| int | debug_level |
| char | spaces [80] |
| FILE * | output |
| int | indent_level |
| int | pid |
Protected Member Functions |
| virtual const char * | v_format_kind (int kind) const =0 |
| virtual bool | v_message_wanted (int kind) const =0 |
Constructor & Destructor Documentation
| MSG_LOG::MSG_LOG |
( |
FILE * |
output |
) |
|
| virtual MSG_LOG::~MSG_LOG |
( |
|
) |
[inline, virtual] |
Member Function Documentation
| void MSG_LOG::enter_level |
( |
int |
diff = 1 |
) |
|
| void MSG_LOG::leave_level |
( |
|
) |
[inline] |
| MSG_LOG& MSG_LOG::operator++ |
( |
|
) |
[inline] |
| MSG_LOG& MSG_LOG::operator-- |
( |
|
) |
[inline] |
| void MSG_LOG::printf |
( |
int |
kind, |
|
|
const char * |
format, |
|
|
|
... | |
|
) |
| | |
| void MSG_LOG::printf_multiline |
( |
int |
kind, |
|
|
const char * |
str, |
|
|
const char * |
prefix_format, |
|
|
|
... | |
|
) |
| | |
| void MSG_LOG::printf_file |
( |
int |
kind, |
|
|
const char * |
filename, |
|
|
const char * |
prefix_format, |
|
|
|
... | |
|
) |
| | |
| void MSG_LOG::vprintf |
( |
int |
kind, |
|
|
const char * |
format, |
|
|
va_list |
va | |
|
) |
| | |
| void MSG_LOG::vprintf_multiline |
( |
int |
kind, |
|
|
const char * |
str, |
|
|
const char * |
prefix_format, |
|
|
va_list |
va | |
|
) |
| | |
| void MSG_LOG::vprintf_file |
( |
int |
kind, |
|
|
const char * |
filename, |
|
|
const char * |
prefix_format, |
|
|
va_list |
va | |
|
) |
| | |
| virtual const char* MSG_LOG::v_format_kind |
( |
int |
kind |
) |
const [protected, pure virtual] |
| virtual bool MSG_LOG::v_message_wanted |
( |
int |
kind |
) |
const [protected, pure virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: