FileFormatterNames Class

Contains the names of the built-in FileFormatter implementations.

public static class FileFormatterNames

Constants

NameDescription
JsonThe name of the JsonFileFormatter, which writes one JSON object per log entry.
SimpleThe name of the SimpleFileFormatter, which writes one human-readable line per log entry.

Json

The name of the JsonFileFormatter, which writes one JSON object per log entry.

public const string Json = "json"

Simple

The name of the SimpleFileFormatter, which writes one human-readable line per log entry.

public const string Simple = "simple"