Public Types | |
| enum | { EMERGENCY, ALERT, CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUGGING } |
Public Member Functions | |
| Syslog (const char *appl) | |
| Syslog (const char *appl, int facility) | |
| ~Syslog () | |
Static Public Member Functions | |
| static void | write (int level, const char *text) |
Every entry can be classified (according to its serverity).
| YGP::Syslog::Syslog | ( | const char * | appl | ) | [inline] |
Constructor; specifying the logging application.
| YGP::Syslog::Syslog | ( | const char * | appl, | |
| int | facility | |||
| ) | [inline] |
Constructor; specifying the logging application and the type of that application.
| YGP::Syslog::~Syslog | ( | ) | [inline] |
Destructor.
| static void YGP::Syslog::write | ( | int | level, | |
| const char * | text | |||
| ) | [inline, static] |
Writes a message to the logfile; specifying the level of the message.