Log Tag Type

Log Tag is a value representing a log level.

Log Level

Dinamica has two different log levels: the main level, defined in “Tools -> Options | General | Main Log”, and the secondary level, defined in “Edit -> Log Level”. The main level controls what is written into the files debug.txt and log.txt. Theses files are usually created in corresponding Dinamica user folder. The secondary level defines what is displayed in the GUI Message Log.

The main log levels can be seen below:

Level	Name	Description
0	Unconditional	Displays basic information about the Dinamica EGO status.
1	Error	Displays any error occurred and all the information from the levels below this.
2	Warning	Displays warnings regarding any potential problem that may occur and all the information from the levels below this.
3	Result	Displays the result only.
4	Info	Displays progress information and all the information from the levels below this. This is the standard log level.
5	Info 2	Displays addtional progress information and all the information from the levels below this. This is the standard log level.
6	Debug	Displays debug information and all the information from the levels below this.
7	Debug 2	Displays additional debug information and all the information from the levels below this.
8	Trace	Displays information for function calls and all the information from the levels below this.

The log files debug.txt and log.txt are typically located in the following folders:

Windows Version	Folder
Windows XP	C:\Documents and Settings\<User>\Documents\Dinamica EGO
Windows Vista / 7	C:\Users\<User>\Documents\Dinamica EGO

The default location above can be overridden defining an environment variable DINAMICA_LOG_PATH containing the log path.

The secondary log levels can be seen below:

Level	Name	Description
1	Error	Displays any error occurred and all the information from the levels below this.
2	Warning	Displays warnings regarding any potential problem that may occur and all the information from the levels below this.
3	Result	Displays the result only.
4	Info	Displays progress information and all the information from the levels below this. This is the standard log level.
6	Debug	Displays debug information and all the informations from the levels below this.
Different from the GUI, the Console and Console Launcher only use the main log level and they create the log files in the same folder where the model being executed is located.

Automatic Conversions

Can be converted from: Double Type, Int Type, Non Negative Int Type, Positive Int Type.

Can be converted to: None.

GUI Editor

EGO Script

A constant representing a log tag can be defined in a EGO Script uses the following syntax:

Value	Representation
Unconditional	.unconditional
Error	.error
Warning	.warning
Result	.result
Info	.info
Info 2	.info2
Debug	.debug
Debug 2	.debug2