Skip to content

Commit 75ad540

Browse files
committed
Update code docs
1 parent 0004636 commit 75ad540

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

docs/components_JRScreen.bs.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
sub init()
77
' initialize the log manager. second param sets log output:
88
' 1 error, 2 warn, 3 info, 4 verbose, 5 debug
9-
_rLog = log_initializeLogManager(["log_PrintTransport"], 5) 'bs:disable-line
9+
#if debug
10+
log_initializeLogManager(["log_PrintTransport"], 5) ' Debug mode: show all logs (info + verbose + debug)
11+
#else
12+
log_initializeLogManager(["log_PrintTransport"], 2) ' Production mode: show warn and error only
13+
#end if
1014
end sub
1115
' Function called when the screen is displayed by the screen manager
1216
' It is expected that screens override this function to handle focus

docs/source_utils_conditional.bs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
' Print out all of the registry contents to the debug log
66
sub printRegistry()
7-
#if printReg
7+
#if debug
88
' get a list of every registry section
99
regSections = getRegistrySections()
1010
for each section in regSections

0 commit comments

Comments
 (0)