Class
ConsoleMonsterSinkOptions
ConsoleMonster.Extensions.Serilog
Controls ConsoleMonster's Serilog line rendering and output destination.
Inheritance
- object
- ConsoleMonsterSinkOptions
Usage
Explore 2 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 1
- Property ConsoleMonsterSink.Options
Accepted by parameters 1
- Constructor ConsoleMonsterSink.ConsoleMonsterSink
Constructors
public ConsoleMonsterSinkOptions() #Inherited Methods
Properties
public string? TimestampFormat { get; set; } #The invariant timestamp format, or null to omit timestamps (default HH:mm:ss).
public bool UseUtcTimestamp { get; set; } #Whether event timestamps are converted to UTC.
public bool IncludeCategory { get; set; } #Whether the last part of SourceContext is shown (default true).
public int MaxExceptionLines { get; set; } #The maximum exception frames; zero shows only exception types and messages (default 12).
public string? LogRegion { get; set; } #The live log region key (default $log), or null to always print above the view.
public TerminalProfile? Profile { get; set; } #The terminal profile, or null for automatic detection.
public ITerminalWriter? Writer { get; set; } #An explicit output writer, or null for the terminal. The caller retains ownership.