Logger Output

From IGSTK

Jump to: navigation, search

When the IGSTK logger output is directed to a file, it looks like the following:

1141811404.29771804809570312500  :  org.itk.rootLogger  (INFO) ** This is from vtkOutputWindow **
1141811404.34565305709838867188  :  org.itk.rootLogger  (WARNING) ** This is from vtkOutputWindow **
1141811404.35079693794250488281  :  org.itk.rootLogger  (ERROR) ** This is fromvtkOutputWindow **
1141811404.35723090171813964844  :  org.itk.rootLogger  (WARNING) ** This is from vtkOutputWindow **

The following fields are defined for this file format:

[timestamp in seconds         ]  :  [logger name     ]  [priority] [message]
  • timestamp: timestamp in seconds since the epoch, precision will be at least .0001s, no particular accuracy is yet guaranteed
  • logger name: the name of the logger, this field may be empty if no name was set
  • priority: the priority of the logged message (see below)
  • message: the message, which may not contain any special characters including newlines or carriage returns

The following priorities can be associated with debug messages:

  • (FATAL) fatal application error, application must abort
  • (CRITICAL) critical error, operation was terminated
  • (WARNING) a problem occurred that did not warrant termination
  • (INFO) status indication
  • (DEBUG) information that is used only for debug purposes
Personal tools
TOOLBOX
LANGUAGES