SetLogLevel Function

Action

Sets the 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.

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

Include file

Kernel.bdh

Syntax

SetLogLevel( in nLogLevel : number );
Parameter Description
nLogLevel Logging level (see Logging Levels)

Example

dcltrans
  transaction TSetLogLevel
  begin
    SetLogLevel(2);
    write("log level set to 2"); writeln;
  end TSetLogLevel;

Output

log level set to 2