List of Nasal extension functions: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
m (Cleanup, minor additions, reordering)
mNo edit summary
Line 62: Line 62:
=== <tt>logprint()</tt> ===
=== <tt>logprint()</tt> ===


Similar, but the first argument is reserved for number specifying the priority (i.e. matching a sgDebugPriority object: 1 for bulk, 2 for debug, 3 for info, and 4 for warn).
Similar, but the first argument is reserved for number specifying the priority (i.e. matching a sgDebugPriority object: 1 for bulk, 2 for debug, 3 for info, and 4 for warn). Also see <tt>printlog()</tt> in globals.nas: it does essentially the same but with named levels ("bulk", etc.). (The latter relies on <tt>print()</tt>, however, and does not make use of the sophistication of <tt>sglog</tt> in dealing with source file and line number.)


=== <tt>getprop()</tt> ===
=== <tt>getprop()</tt> ===
395

edits

Navigation menu