NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
This is a class to help with a few logging functions. More...
Public Types | |
typedef itkLogHelper | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer < const Self > | ConstPointer |
Public Member Functions | |
virtual const char * | GetClassName () const |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | InfoMessage (const std::string &infoMessage) |
void | DebugMessage (const std::string &debugMessage) |
void | WarningMessage (const std::string &warningMessage) |
void | ErrorMessage (const std::string &errorMessage) |
void | ExceptionMessage (const std::string &exceptionMessage) |
std::string | ToString () |
Static Public Member Functions | |
static Pointer | New () |
static void | SetLogLevel (int logginglevel) |
static void | PrintCommandLineHeader (std::ostream &stream) |
static std::string | WriteParameterArray (const itk::Array< double > &array) |
Protected Member Functions | |
itkLogHelper () | |
virtual | ~itkLogHelper () |
This is a class to help with a few logging functions.
typedef itk::SmartPointer<const Self> niftk::itkLogHelper::ConstPointer |
typedef itk::SmartPointer<Self> niftk::itkLogHelper::Pointer |
House keeping for the object factory.
typedef itk::Object niftk::itkLogHelper::Superclass |
|
protected |
|
protectedvirtual |
void niftk::itkLogHelper::DebugMessage | ( | const std::string & | debugMessage | ) |
Simple way to output a debug message
void niftk::itkLogHelper::ErrorMessage | ( | const std::string & | errorMessage | ) |
Simple way to output an error message
void niftk::itkLogHelper::ExceptionMessage | ( | const std::string & | exceptionMessage | ) |
Simple way to output a exception message
|
virtual |
Runtime information support.
void niftk::itkLogHelper::InfoMessage | ( | const std::string & | infoMessage | ) |
Simple way to output an information
|
static |
|
static |
Prints out command line header
|
override |
Set the logging level at run-time.
std::string niftk::itkLogHelper::ToString | ( | ) |
Prints out a string representation of this object.
void niftk::itkLogHelper::WarningMessage | ( | const std::string & | warningMessage | ) |
Simple way to output a warning message
|
static |
Helper method, just in case we want to debug a parameter array.