|
FreeNOS
|
Log to standard output. More...
#include <StdioLog.h>
Public Member Functions | |
| StdioLog () | |
| Constructor. | |
| virtual void | write (const char *str) |
| Write to the standard output. | |
| virtual void | terminate () const |
| Terminate the program using exit() | |
Public Member Functions inherited from Log | |
| Log () | |
| Constructor. | |
| virtual | ~Log () |
| Destructor. | |
| Level | getMinimumLogLevel () |
| Get the minimum logging level. | |
| void | setMinimumLogLevel (Level level) |
| Set the minimum logging level. | |
| void | append (const char *str) |
| Append to buffered output. | |
| void | setIdent (const char *ident) |
| Set log identity. | |
| const char * | getIdent () const |
| Retrieve log identify. | |
Public Member Functions inherited from WeakSingleton< Log > | |
| WeakSingleton (Log *obj) | |
| Constructor. | |
Additional Inherited Members | |
Public Types inherited from Log | |
| enum | Level { Emergency , Alert , Critical , Error , Warning , Notice , Info , Debug } |
| Logging level values. More... | |
Static Public Member Functions inherited from WeakSingleton< Log > | |
| static Log * | instance () |
| Retrieve the instance. | |
Log to standard output.
Definition at line 34 of file StdioLog.h.
| StdioLog::StdioLog | ( | ) |
Constructor.
Definition at line 27 of file StdioLog.cpp.
|
virtual |
Terminate the program using exit()
Reimplemented from Log.
Definition at line 41 of file StdioLog.cpp.
References exit(), EXIT_FAILURE, Panic, and PrivExec().
|
virtual |