|
IGSTK
|
Class used for handling logging tasks. More...
#include <igstkLogger.h>
Inherits Logger.
Public Types | |
| typedef Logger | Self |
| General Typedefs. More... | |
| typedef ::itk::Logger | Superclass |
| typedef ::itk::SmartPointer< Self > | Pointer |
| typedef ::itk::SmartPointer < const Self > | ConstPointer |
Public Member Functions | |
| virtual const char * | GetNameOfClass () const |
| We do not use macros for New(), GetNameOfClass() since igstkLogger.h is included in igstkMacros.h. More... | |
| virtual bool | ShouldBuildMessage (PriorityLevelType message_level) |
| Returns true if the priority level of the message will cause the message to be written to a log. More... | |
Static Public Member Functions | |
| static Pointer | New (void) |
| Makes a new Logger and returns a smart pointer to it. More... | |
Protected Member Functions | |
| Logger () | |
| Constructor. More... | |
| virtual | ~Logger () |
| Destructor. More... | |
Class used for handling logging tasks.
This class derives from the ITK Logger. Its purpose is two-fold. First, it specifies the default priority level of messages. Second, it implements the ShouldBuildMessage API which enables lazy evaluation of messages passed to a logger through the logging macros.
Definition at line 36 of file igstkLogger.h.
| typedef Logger igstk::Logger::Self |
General Typedefs.
Definition at line 40 of file igstkLogger.h.
| typedef ::itk::Logger igstk::Logger::Superclass |
Definition at line 41 of file igstkLogger.h.
| typedef ::itk::SmartPointer< Self > igstk::Logger::Pointer |
Definition at line 42 of file igstkLogger.h.
| typedef ::itk::SmartPointer< const Self > igstk::Logger::ConstPointer |
Definition at line 43 of file igstkLogger.h.
|
protected |
Constructor.
|
protectedvirtual |
Destructor.
|
inlinevirtual |
We do not use macros for New(), GetNameOfClass() since igstkLogger.h is included in igstkMacros.h.
Definition at line 49 of file igstkLogger.h.
|
inlinestatic |
Makes a new Logger and returns a smart pointer to it.
Definition at line 55 of file igstkLogger.h.
|
virtual |
Returns true if the priority level of the message will cause the message to be written to a log.
1.8.6