MLLogFile¶
-
MLModule
¶ genre Inspectors
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLDiagnosis
definition mlDiagnosis.def see also CoreControl
,ModuleView
,RuntimeView
,CacheView
,Checksum
,Info
,Console
keywords diagnosis
,debugging
,messages
,outputting
,outstream
,information
Purpose¶
The module MLLogFile
redirects all selected ML messages into a user defined file.
The types of messages that are printed into that file can be selected by a simple filter.
There is a similar module Console
that writes the information into a console.
Parameter Fields¶
Field Index¶
Cerrs : Bool |
File Name (logFile) : String |
Message type : Bool |
Clear : Trigger |
Full File Name : String |
Messages : Bool |
Couts : Bool |
Function name : Bool |
Other : Bool |
Debug infos : Bool |
Handling : Bool |
Time : Bool |
Enable : Bool |
Information : Bool |
Warnings : Bool |
Errors : Bool |
Library prefix : Bool |
|
Fatal errors : Bool |
Line number : Bool |
|
File name (logFileName) : Bool |
Log File State : String |
Visible Fields¶
Information¶
-
name:
logInformation
, type:
Bool
, default:
TRUE
¶ If checked, information messages are being written into the log file.
Warnings¶
-
name:
logWarnings
, type:
Bool
, default:
TRUE
¶ If checked, warning messages are being written into the log file.
Errors¶
-
name:
logErrors
, type:
Bool
, default:
TRUE
¶ If checked, error messages are being written into the log file.
Fatal errors¶
-
name:
logFatals
, type:
Bool
, default:
TRUE
¶ If checked, fatal error messages are being written into the log file.
Debug infos¶
-
name:
logDebugs
, type:
Bool
, default:
TRUE
¶ If checked, debug information messages are being written into the log file.
Couts¶
-
name:
logCouts
, type:
Bool
, default:
TRUE
¶ If checked,
std::cout
messages are being written into the log file.
Cerrs¶
-
name:
logCerrs
, type:
Bool
, default:
TRUE
¶ If checked,
std::err
messages are being written into the log file.
Other¶
-
name:
logOthers
, type:
Bool
, default:
TRUE
¶ If checked, other messages are being written into the log file.
Line number¶
-
name:
logLine
, type:
Bool
, default:
TRUE
¶ If checked, the line number of where the message was generated is written into the log file.
File name¶
-
name:
logFileName
, type:
Bool
, default:
TRUE
¶ If checked, the name of the file where the message was generated is written into the log file.
Time¶
-
name:
logTime
, type:
Bool
, default:
TRUE
¶ If checked, the time stamp of when the message was generated is written into the log file.
Function name¶
-
name:
logFunc
, type:
Bool
, default:
TRUE
¶ If checked, the function name of where the message was generated is written into the log file.
Messages¶
-
name:
logReason
, type:
Bool
, default:
TRUE
¶ If checked, the message’s content is being written into the log file.
Handling¶
-
name:
logHandling
, type:
Bool
, default:
TRUE
¶ If checked, the message’s handle is being written into the log file.
Library prefix¶
-
name:
logLibraryPrefix
, type:
Bool
, default:
TRUE
¶ If checked, the prefix of library in which the message was generated is written into the log file.
Message type¶
-
name:
logMessageType
, type:
Bool
, default:
TRUE
¶ If checked, the message’s type is being written into the log file.
Enable¶
-
name:
enableLog
, type:
Bool
, default:
FALSE
¶ If checked, the logging of messages is activate.
File Name¶
-
name:
logFile
, type:
String
, default:
$(HOME)/MLLogFile.log
¶ Sets path and file name of the log file (with variables).