#include <loggingHandler.h>
Inheritance diagram for Logging::Handler:


Public Types | |
| typedef Loki::SmartPtr< Handler, Loki::RefCountedMTAdj< Loki::ObjectLevelLockable >::RefCountedMT, Loki::AllowConversion, Loki::NoCheck, Loki::DefaultSPStorage > | HandlerSmartPtr |
| Handler smart pointer. | |
Public Member Functions | |
| virtual | ~Handler () |
| Priority | getLevel () const |
| void | setLevel (Priority priority) |
| virtual void | setLevels (Priority remotePriority, Priority localPriority, int type) |
| int | getRemoteLevel () |
| int | getLocalLevel () |
| void | setRemoteLevel (Priority remotePriority) |
| void | setLocalLevel (Priority localPriority) |
| void | setRemoteLevelType (int type) |
| void | setLocalLevelType (int type) |
| int | getRemoteLevelType () |
| int | getLocalLevelType () |
Private Attributes | |
| Priority | priority_m |
| Priority | localPriority_m |
| int | priority_type_local_m |
| int | priority_type_remote_m |
| Priority | remotePriority_m |
|
|
Handler smart pointer.
|
|
|
Destructor |
|
|
Get the log level specifying which messages will be logged by this Handler. Message levels lower than this level will be discarded.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
By utilizing setLevel, one can filter out log messages entirely based on their priority. For example, calling setLevel(DEBUG) on a Handler would imply log messages with a lower priority such as TRACE would never be passed to the publish method.
|
|
||||||||||||||||
|
Set levels for local and remote logging. It depends on the handler implementation (does it support only loca/remote or both) to handle the level. Default implementation sets localPriority.
Reimplemented in Logging::LogSvcHandler.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Local (stdout) priority. |
|
|
Current priority that needs to be met before log messages are sent to the publish method. |
|
|
|
|
|
|
|
|
Remote priority. |
1.3.8