From wiki.ginstr.com
Jump to: navigation, search
m (Debugging)
m (formatting)
Line 10: Line 10:
 
===Debugging ===
 
===Debugging ===
  
;<code>[gn:act_debug]|[active,sameLogFile]</code>
+
:;<code>[gn:act_debug]|[active,sameLogFile]</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
+
| <code>sameLogFile</code>
 
| <div style="text-align: right; background-color: #e5e5e5; padding-right: 7px">'''optional'''</div>
 
| <div style="text-align: right; background-color: #e5e5e5; padding-right: 7px">'''optional'''</div>
 
boolean value  
 
boolean value  
Line 31: Line 31:
  
 
====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>

Revision as of 14:06, 12 July 2017

gn:act_debug

Description
Action used to dump the content of any action that has logging into folder $debug in currently used application root directory
Action returns
void

Action signatures

Debugging

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

boolean value

  • true - each debugged action is stored into same “session” log file in the order as they were executed used to enable/disable debugging
  • false - each debugged action producing a separate text file. default value

Example

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