Purpose

The module Console is a simple module containing an output area for all types of messages in the ML.

Some options are available to filter the printing of message fractions and/or messages types.

There is a similar module MLLogFile that writes the same information into a log file.

Windows

Default Panel

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

Parameter Fields

Field Index

Cerrs: Bool Function Name: Bool Other: Bool
Clear: Trigger Handling: Bool Time: Bool
Console Output: String Information: Bool Warnings: Bool
Couts: Bool Library Prefix: Bool  
Debug Infos: Bool Line Number: Bool  
Errors: Bool Message Type: Bool  
Fatal Errors: Bool Messages: Bool  
File Name: Bool Number of KB Text to Show: Integer  

Visible Fields

Information

name: logInformation, type: Bool, default: TRUE

Sets whether information messages should be written into the console.

Warnings

name: logWarnings, type: Bool, default: TRUE

Sets whether warning messages should be written into the console.

Errors

name: logErrors, type: Bool, default: TRUE

Sets whether error messages should be written into the console.

Fatal Errors

name: logFatals, type: Bool, default: TRUE

Sets whether fatal error messages should be written into the console.

Debug Infos

name: logDebugs, type: Bool, default: TRUE

Sets whether debug information should be written into the console.

Couts

name: logCouts, type: Bool, default: TRUE

Sets whether std::cout output should be written into the console.

Cerrs

name: logCerrs, type: Bool, default: TRUE

Sets whether std::cerr output should be written into the console.

Other

name: logOthers, type: Bool, default: TRUE

Sets whether other output should be written into the console.

Line Number

name: logLine, type: Bool, default: TRUE

Enables/disables the writing of the line number where the message was generated into the console.

File Name

name: logFileName, type: Bool, default: TRUE

Enables/disables the writing of the name of the file where the message was generated in into the console.

Time

name: logTime, type: Bool, default: TRUE

Enables/disables the writing of the time stamp when the message was generated into the console.

Function Name

name: logFunc, type: Bool, default: TRUE

Enables/disables the writing of the function name where the message was generated into the console.

Messages

name: logReason, type: Bool, default: TRUE

Enables/disables the writing of the message’s content into the console.

Handling

name: logHandling, type: Bool, default: TRUE

Enables/disables the writing of what the code does that handles the message event into the console.

Library Prefix

name: logLibraryPrefix, type: Bool, default: TRUE

Enables/disables the writing of the library prefix of the library where the message was generated into the console.

Message Type

name: logMessageType, type: Bool, default: TRUE

Enables/disables the writing of message type into the console.

Clear

name: clear, type: Trigger

If pressed, the contents of the console are being cleared.

Number of KB Text to Show

name: maxConsoleSize, type: Integer, default: 3, minimum: 1, maximum: 100

Sets the maximum number of characters shown in console.

Console Output

name: consoleString, type: String, persistent: no

Output area for all ML messages and errors.