|
MythTV
0.26-pre
|
Syslog-based logger (not available in Windows) More...
#include <logging.h>
Public Member Functions | |
| SyslogLogger (int facility) | |
| SyslogLogger constructor. | |
| ~SyslogLogger () | |
| SyslogLogger deconstructor. | |
| bool | logmsg (LoggingItem *item) |
| Process a log message, logging to syslog. | |
| void | reopen (void) |
| Unused for this logger. | |
Private Attributes | |
| char * | m_application |
| C-string of the application name. | |
| bool | m_opened |
| true when syslog channel open. | |
Syslog-based logger (not available in Windows)
Definition at line 70 of file libmythbase/logging.h.
| SyslogLogger::SyslogLogger | ( | int | facility | ) |
SyslogLogger constructor.
| facility | Syslog facility to use in logging |
Definition at line 354 of file logging.cpp.
SyslogLogger deconstructor.
Definition at line 373 of file logging.cpp.
| bool SyslogLogger::logmsg | ( | LoggingItem * | item | ) | [virtual] |
Process a log message, logging to syslog.
| item | LoggingItem containing the log message to process |
Implements LoggerBase.
Definition at line 383 of file logging.cpp.
| void SyslogLogger::reopen | ( | void | ) | [inline, virtual] |
char* SyslogLogger::m_application [private] |
C-string of the application name.
Definition at line 76 of file libmythbase/logging.h.
Referenced by SyslogLogger(), and ~SyslogLogger().
bool SyslogLogger::m_opened [private] |
true when syslog channel open.
Definition at line 79 of file libmythbase/logging.h.
Referenced by logmsg(), and SyslogLogger().
1.7.6.1