From wiki.ginstr.com
Jump to: navigation, search
m (Debugging)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
[[Category:Action_Library]]
 
[[Category:Action_Library]]
  
;Description: Action used to dump the content of any action that has logging into folder '''$debug''' in currently used application root directory
+
;Description: Action used to add '''!DEBUG!''' tag to log lines while is active
  
 
;Action returns: void
 
;Action returns: void
Line 10: Line 10:
 
===Debugging ===
 
===Debugging ===
  
;<code>[gn:act_debug]|[active,sameLogFile]</code>
+
:;<code>[gn:act_debug]|[active]</code>
  
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
+
:{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
 
|-
 
|-
 
! scope="col" | Parameter
 
! scope="col" | Parameter
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| active
+
| <code>active</code>
 
| boolean value used to enable/disable debugging
 
| boolean value used to enable/disable debugging
 
* <code>true</code> - enables debugging
 
* <code>true</code> - enables debugging
 
* <code>false</code> - disables debugging
 
* <code>false</code> - disables debugging
|-
 
| sameLogFile
 
| <div style="text-align: right; background-color: #e5e5e5; padding-right: 7px">'''optional'''</div>
 
boolean value
 
* <code>true</code> - each debugged action is stored into same “session” log file in the order as they were executed used to enable/disable debugging
 
* <code>false</code> - each debugged action producing a separate text file. '''default value'''
 
 
|-
 
|-
 
|}
 
|}
  
 
====Example====
 
====Example====
<code>true</code> - boolean<br><br>
+
:<code>true</code> - boolean<br>
<code>[gn:act_debug]|[true]</code>
+
:; ⤷ <code>[gn:act_debug]|[true]</code>
 
<hr>
 
<hr>

Latest revision as of 08:45, 6 February 2018

gn:act_debug

Description
Action used to add !DEBUG! tag to log lines while is active
Action returns
void

Action signatures

Debugging

[gn:act_debug]|[active]
Parameter Description
active boolean value used to enable/disable debugging
  • true - enables debugging
  • false - disables debugging

Example

true - boolean
[gn:act_debug]|[true]