MLLogFile

MLModule

genre

Inspectors

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

MLDiagnosis

definition

mlDiagnosis.def

see also

CoreControl, 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.

Windows

Default Panel

../../../Modules/ML/MLDiagnosis/mhelp/Images/Screenshots/MLLogFile._default.png

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 written into the log file.

Warnings

name: logWarnings, type: Bool, default: TRUE

If checked, warning messages are written into the log file.

Errors

name: logErrors, type: Bool, default: TRUE

If checked, error messages are written into the log file.

Fatal errors

name: logFatals, type: Bool, default: TRUE

If checked, fatal error messages are written into the log file.

Debug infos

name: logDebugs, type: Bool, default: TRUE

If checked, debug information messages are written into the log file.

Couts

name: logCouts, type: Bool, default: TRUE

If checked, std::cout messages are written into the log file.

Cerrs

name: logCerrs, type: Bool, default: TRUE

If checked, std::err messages are written into the log file.

Other

name: logOthers, type: Bool, default: TRUE

If checked, other messages are 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 written into the log file.

Handling

name: logHandling, type: Bool, default: TRUE

If checked, the message’s handle is 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 written into the log file.

Clear

name: clear, type: Trigger

When pressed, the contents of the log file are cleared.

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).

Full File Name

name: trueLogFile, type: String, persistent: no

Shows the expanded path and file name of the log file.

Log File State

name: logStatus, type: String, persistent: no

Shows information about last log file operation.