Skip to content
ConsoleMonster

API Reference

Enum

ConsoleLogFormat

Namespace ConsoleMonster.Output
Assembly ConsoleMonster
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

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.

Values

public const ConsoleLogFormat Text #

[time] [Level] [Category] message, following lines indented under the first (the Write-Color layout).

Value: 0
public const ConsoleLogFormat Csv #

A header row, then Time, Level, Category, Message with a configurable separator.

Value: 1
public const ConsoleLogFormat JsonLines #

One JSON object per line (time, level, category, message).

Value: 2