Debugger\PrintToScreen
Will print out the debug messages to screen.
Properties
.sectionWrap
Wrap for a section (e.g. all log messages of a component are wrapped in a section)
Data type
String | cObj
Default value
<div style="border:1px solid #ccc; padding:7px; background:#dedede;">|</div>
Version added
1.0.0
.sectionHeaderWrap
Wrap for a section header
Data type
String | cObj
Default value
<h2 style="background:#333; color:#cdcdcd;height:23px;padding:10px 7px 7px 7px;margin:0;">|</h2>
Version added
1.0.0
.messageWrap
Wrap for a single debug message
Data type
String | cObj
Default value
<div style="font-weight:bold;">|</div>
Version added
1.0.0
.severityWrap
Use this to configure different appearance of different log severity levels.
The keys of the array are the log levels (1-3).
Data type
Array
Default value
severityWrap {
0 = <span style="color:#000;">|</span>
1 = <span style="color:#ff8c00;">|</span>
2 = <span style="color:#ff2800;">|</span>
}
Version added
1.0.0
Example code
severityWrap { 0 = <span class=”level-info”>|</span> 1 = <span class=”level-warning”>|</span> 2 = <span class=”level-error”>|</span> }