sysLogLevel

C Scripting Language
Reference Manual
Version 4.4.0

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using the CSL executive
Language
Directives
System library
   sysCommand
   sysDate
   sysDateFormat
   sysDateTime
   sysDirectory
   sysElapsed
   sysEnvVar
   sysLoadScript
   sysLoadLibrary
   sysLog
   sysLogFile
   sysLogLevel
   sysPrompt
   sysSleep
   sysSecondsSince
   sysShow
   sysStartDate
   sysStartDateTime
   sysStartTime
   sysStartTimestamp
   sysTime
   sysTimestamp
   sysTrace
String library
Math library
Regular expression lib.
File library
Database library
Async Communication
Registry/Profile handling
Windows control
C API
C++ Class Interface
CSL links
  
sysLogLevel(
  [const level]) // value added to current level

Query or change current login level. If no parameter or 0 is given, the current level is queried only. If a nonzero positive or negative number is passed, it's value is added to the current logging level.

The logging level ranges from 0 to 39 (default 0). Each level indents logging output by 2 spaces.

Returns current logging level.

Example:

sysLog('test');
sysLogLevel(+1); sysLog('test');
sysLogLevel(+1); sysLog('test');
sysLog(sysLogLevel());
sysLogLevel(-2); sysLog('test');

Output:

test
  test
    test
    2
test
  Copyright © IBK Landquart Last revision: 27.05.2002 << Back  Top  Next >>