Click or drag to resize

ConsoleAndFileLogger Constructor

Initializes a new instance of the ConsoleAndFileLogger class.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public ConsoleAndFileLogger(
	TraceLevel maxLevel = TraceLevel.Verbose,
	string logDirectoryPath = null,
	string logFileFormat = null
)

Parameters

maxLevel (Optional)
Type: System.DiagnosticsTraceLevel
The maximum level to trace.
logDirectoryPath (Optional)
Type: SystemString
The log file directory path. The default is "logs" under the current directory.
logFileFormat (Optional)
Type: SystemString
The log file format to use. Placeholder 0 is for the current date time. Placeholder 1 is for the machine name. Placeholder 2 is for a hi-res timestamp value.
See Also