Skip to content

LogModeConstants

Destination and behaviour flags for the application log, used with App.StartLogging.

ConstantValueDescription
vbLogAuto0Choose a destination automatically based on the platform.
vbLogOff1Disable logging.
vbLogToFile2Log to a file.
vbLogToNT3Log to the Windows Event Log.
vbLogOverwrite16When logging to a file, truncate it first instead of appending.
vbLogThreadID32Include the thread ID in each log entry.

twinBASIC and LOGO copyright of "WaynePhillipsEA" author