Interface ILoggerConfiguration
Interface for the LoggerConfiguration
Namespace:Dapplo.Log
Assembly:Dapplo.Log.dll
Syntax
public interface ILoggerConfiguration
Properties
| Improve this Doc View SourceDateTimeFormat
Timestamp format which is used in the output, when outputting the LogInfo details
Declaration
string DateTimeFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LogLevel
The LogLevels enum a logger uses
Declaration
LogLevels LogLevel { get; set; }
Property Value
Type | Description |
---|---|
LogLevels |
LogLineFormat
Default line format for loggers which use the DefaultFormatter. The first argument is the LogInfo, the second the message + parameters formatted
Declaration
string LogLineFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UseShortSource
Defines if the Source is written like d.l.LoggerTest (default) or Dapplo.Log.LoggerTest
Declaration
bool UseShortSource { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |