You are here: C++ API > Enumerations > DebugLogFlags Enumeration
Close
dtSearch Text Retrieval Engine Programmer's Reference
DebugLogFlags Enumeration

*

*

File: dtsearch.h

Syntax
C++
enum DebugLogFlags { dtsLogTime = 1, dtsLogCommit = 2, dtsLogAppend = 4, dtsLogTruncate = 64, dtsCrashLog = 0x1000 };
Members
Description
dtsLogTime = 1
Each line in the log will have include the time, in hundredths of a second, since the start of execution.
dtsLogCommit = 2
The log will be committed to disk after each line is written. This slows execution considerably but ensures that the log will survive a system crash.
dtsLogAppend = 4
Log data is appended to the file if it already exists.
dtsLogTruncate = 64
Truncate the currently-open log
dtsCrashLog = 0x1000
Generate a stack trace in the logFile if an unhandled exception occurs (Windows only).
Copyright (c) 1995-2023 dtSearch Corp. All rights reserved.