Enum
ConsoleLogFormat
ConsoleMonster.Output
The layout of a ConsoleLogFile.
Inheritance
- Enum
- ConsoleLogFormat
Usage
Explore 6 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Property ConsoleLogFile.Format
- Field ConsoleLogFormat.Csv
- Field ConsoleLogFormat.JsonLines
- Field ConsoleLogFormat.Text
Accepted by parameters 2
- Extension method ConsoleLogFile.Format
- Method ConsoleLogFileFluent.Format
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const ConsoleLogFormat Text #[time] [Level] [Category] message, following lines indented under the first (the Write-Color layout).
Value:
0public const ConsoleLogFormat Csv #A header row, then Time, Level, Category, Message with a configurable separator.
Value:
1public const ConsoleLogFormat JsonLines #One JSON object per line (time, level, category, message).
Value:
2