Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
log_tag_type [2013/08/06 23:23]
admin [Log Level]
log_tag_type [2018/02/14 15:29] (current)
hermann [Log Level]
Line 5: Line 5:
 ==== 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 level ("​Tools ​=> Options | General | Main Log") controls what is displayed in the GUI Message ​Log and what is written ​in the files ''​debug.txt''​ and ''​log.txt''​.
  
-The main log levels can be seen below:+The different ​log levels can be seen below:
  
 ^ Level  ^ Name  ^ Description ​ ^ ^ Level  ^ Name  ^ Description ​ ^
Line 18: Line 18:
 |  @lightgray:​6 ​ | Debug  | Displays debug information and all the information from the levels below this.  | |  @lightgray:​6 ​ | Debug  | Displays debug information and all the information from the levels below this.  |
 |  @lightgray:​7 ​ | Debug 2  | Displays additional debug information and all the information from the levels below this.  | |  @lightgray:​7 ​ | Debug 2  | Displays additional debug information and all the information from the levels below this.  |
-|  @lightgray:​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: +The log files ''​debug.txt''​ and ''​log.txt''​ are typically located in the folder ​''​C:​\Users\<​User>​\Documents\Dinamica EGO 4''​.
- +
-^ 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 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 ​ ^ 
-|  @pink:​1 ​ | Error  | Displays any error occurred and all the information from the levels below this.  | 
-|  @lightyellow:​2 ​ | Warning ​ | Displays warnings regarding any potential problem that may occur and all the information from the levels below this. | 
-|  @lightgreen:​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. ​ | 
-|  @lightgray:​6 ​ | Debug  | Displays debug information and all the informations from the levels below this.  | 
- 
-<​note>​ 
-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. ​ 
-</​note>​ 
- 
-===== Automatic Conversions ===== 
- 
-  * **Can be converted from**: [[Double Type]], [[Int Type]], [[Non Negative Int Type]], [[Positive Int Type]]. 
- 
-  * **Can be converted to**: None. 
 ===== GUI Editor ===== ===== GUI Editor =====
  
Line 63: Line 40:
 | Debug  | ''​.debug'' ​ | | Debug  | ''​.debug'' ​ |
 | Debug 2  | ''​.debug2'' ​ | | Debug 2  | ''​.debug2'' ​ |
 +
 +===== Automatic Conversions =====
 +
 +  * **Converted from**: [[Real Value Type]], [[Integer Value Type]], [[Non Negative Integer Value Type]] and [[Positive Integer Value Type]].
 +
 +  * **Converted to**: [[Real Value Type]], [[Integer Value Type]], [[Non Negative Integer Value Type]], [[Positive Integer Value Type]] and [[String Type]].