Retrieves the current setting whether to generate log files (.log), and if so, which kind of information to write to the files. Log files contain information about timers, transactions performed by a user, and function calls invoked by the transactions.
Kernel.bdh
GetLogOption(): number;
Current logging option. See the SetLogOption function for a description of all flags this function may return.
dcltrans transaction TMain var nOption: number; begin nOption := GetLogOption(); if nOption & OPT_LOG_TRANSACTIONS = OPT_LOG_TRANSACTIONS then write("transactions are included in the log file") else write("transactions are not included in the log file") end; writeln; end TMain;