Formatter namespace for text and JSON output, including built-in formatter implementations and JSON schema/naming options.
CompactLogFormatterCompact format with time, level and message. 12:34:56 INF Hello worldDetailedLogFormatterDetailed format including thread id and sequence id. 2026-02-09 12:34:56.1234567 INF [14] #000042 MyApp.Service [42:Connect] Hello world | System.Exception: ...JsonLogFormatterFormats a log message as a single JSON object.JsonLogFormatterOptionsOptions used to configure JsonLogFormatter.StandardLogFormatterStandard single-line text format. 2026-02-09 12:34:56.1234567 INF MyApp.Service [42:Connect] Hello world | System.Exception: ...JsonLogFieldNamingPolicyDefines the field naming policy used by JsonLogFormatter in default schema mode.JsonLogSchemaProfileDefines the JSON schema profile produced by JsonLogFormatter.Use these APIs to select or customize message rendering behavior (StandardLogFormatter, CompactLogFormatter, DetailedLogFormatter, JsonLogFormatter) depending on sink and ingestion requirements.