API Reference
Enum
ConsoleLogFormat
The layout of a ConsoleLogFile.
Inheritance
- Enum
- ConsoleLogFormat
Usage
Explore 4 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
Inherited Methods
public override Boolean Equals(Object? obj) #Returns:
BooleanInherited from Enum
Parameters
- obj Object?
ToString 4 overloads
public String ToString(IFormatProvider? provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
public String ToString(String? format, IFormatProvider? provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String?
- provider IFormatProvider?
Values
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