GetLogLevel Function

Action

Retrieves the actual simulation log level. The log level determines the level of detail of information written to .log files. Values between 0 (no logging) and 4 (logging all details) are valid.

Note: This function will be removed in future versions and therefore should not be used.

Include file

Kernel.bdh

Syntax

GetLogLevel(): number;

Return value

current logging level (see Logging Levels)

Example

dcltrans
  transaction TGetLogLevel
  var
    nLogLevel: number;
  begin
    nLogLevel := GetLogLevel();
    write("log level = "); write(nLogLevel); writeln;
  end TGetLogLevel;

Output

log level = 2