Initialize Method (DNALog)
- Last UpdatedApr 08, 2026
- 1 minute read
Initialize the debug API. Call this once per process. Note that
if you do not call this method, it will be called automatically
on your behalf upon the first call to write to the log. Use this
method before setting any state methods, such as SetLogFileName().
Calls to this method will reset any previous settings (such as
the log file name).
public static void Initialize(
bool logThreadIds
)
public:
static void Initialize(
bool logThreadIds
)
Parameters
- logThreadIds
- Identifies whether messages should be written to the oasErrLog.log file with the thread id on the message line. By default, the threadId is always written to the debug log file, but not to the oasErrLog.log file. Use this argument to ensure the threadId is written to the oasErrLog.log file messages as well.