All logger functionalities are inside this namespace. More...
Classes | |
| class | ConsoleLogger |
| Implements a console Logger. More... | |
| class | FileLogger |
| Implements a file Logger. More... | |
| class | Logger |
Protocol class which defines the interface for all types of logger. More... | |
| class | LoggerImpl |
Abstract class which implements main methods of concrete Loggers. More... | |
| class | AddPrefix |
| Defines a policy for Message prefixes, which is, to send the prefix to the underlying Logger's device. More... | |
| class | ForwardToGlobalLogger |
| Defines a policy to apply when the Logger fails to process a Message, namely, forward it to GlobalLogger. More... | |
| class | IgnoreColour |
| Policy under which Message colours are ignored. More... | |
| class | IgnoreFailure |
| Defines a policy to apply when the logger fails, which is, to ignore the failure. More... | |
| class | IgnorePrefix |
| Defines a policy for Message prefixes, which is, to ignore them. More... | |
| class | XtermColour |
| Defines a policy for Message colour, which is, to set the underlying device of the Logger to print in Message's colour. More... | |
| class | WindowsConsole |
This class implements a Windows console Logger. More... | |
| class | XtermConsole |
| Implements an xterm console Logger. More... | |
Enumerations | |
| enum | Colour { black = 0, red, green, yellow, blue, pink, cyan, white, grey, bold_red, bold_green, bold_yellow, bold_blue, bold_pink, bold_cyan, bold_white } |
Console colours. More... | |
Functions | |
| void | resetGlobal () |
| Resets util::Global<Logger> to its default (StdLogger). | |
All logger functionalities are inside this namespace.
| enum Colour |
Console colours.
| void keyvalue::logger::resetGlobal | ( | ) |
Resets util::Global<Logger> to its default (StdLogger).
WARNING: If this function is called by *utilGlobal<Logger>, the caller may cease to exist immediately (it suicides). In this case the caller can no longer access any of its non static members.
1.7.1