ConsoleAndFileLogger Constructor |
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax 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