395
edits
Philosopher (talk | contribs) m (Cleanup, minor additions, reordering) |
Philosopher (talk | contribs) 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> === |
edits