DevLogInitDevLog Method (String, DevLogOptions) |
Overloaded. Initilize the log with default size and backup file count.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static void InitDevLog(
string fileName,
DevLogOptions logOptions
)
Public Shared Sub InitDevLog (
fileName As String,
logOptions As DevLogOptions
)
Parameters
- fileName
- Type: SystemString
The name of the file - logOptions
- Type: NetQuarryDevLogOptions
Behavior options for the log from the DevLogOptions enum.
This value should be a decimal number that represents a mask of one or more
of the DevLogOptions values.
For example, to turn off Debug level logs, set the value to 1.
NoDebug|NoSQL == 5
NoDebug|NoInfo == 3 (note that this turns off SQL and Timing entries as well)
NoDebug|AutoFlush = 33 (0x00000001 | 0x00000020)
AutoFlush == 32 (by default the file is buffered)
Synchronize == 64 (by default the file allows overlapping writes)
See Also