Default settings
sharplog.yml
format: "$D$: [$L$]$Cp{ [}s{] }$$Tp{ [}s{] }$ $M$$Ep{\nException: }$$Sp{\nStackTrace: }$"
levels:
debug:
enabled: true
format:
short: "?"
trace:
enabled: true
format:
short: "&"
info:
enabled: true
format:
short: +
warning:
enabled: true
format:
short: "!"
error:
enabled: true
format:
short: x
fatal:
enabled: true
format:
short: X
outputs:
- type: ConsoleOutput
color_enabled: true
colors:
Debug:
background: Black
foreground: DarkGray
Trace:
background: Black
foreground: White
Info:
background: Black
foreground: Green
Warning:
background: Black
foreground: Yellow
Error:
background: Black
foreground: Red
Fatal:
background: Red
foreground: Black
format:
levels:
- type: FileOutput
path: .log
suspend_time: 500
format:
levels:
tags:
SHARPLOG_INTERNAL:
enabled: true
format:
levels:
debug:
enabled: true
format:
short: "\0"
trace:
enabled: true
format:
short: "\0"
info:
enabled: true
format:
short: "\0"
warning:
error:
fatal:
outputs:
- type: AnsiConsoleOutput
ansi_error_print: true
format:
levels:
debug:
enabled: true
format: "[bold gray]$La{u}r{11, }p{[[}s{]]}$ - [/]$M$$Sp{\nStackTrace: }$"
short: "\0"
trace:
enabled: true
format: "[bold white]$La{u}r{11, }p{[[}s{]]}$ - [/]$M$$Sp{\nStackTrace: }$"
short: "\0"
info:
enabled: true
format: "[bold green]$La{u}r{11, }p{[[}s{]]}$ - [/]$M$$Sp{\nStackTrace: }$"
short: "\0"
warning:
enabled: true
format: "[bold yellow]$La{u}r{11, }p{[[}s{]]}$ - [/]$M$$Sp{\nStackTrace: }$"
short: "\0"
error:
enabled: true
format: "[bold red]$La{u}r{11, }p{[[}s{]]}$ - [/]$M$$Sp{\nStackTrace: }$"
short: "\0"
fatal:
enabled: true
format: "[bold white on red]$La{u}r{11, }p{[[}s{]]}$ - [/]$M$$Sp{\nStackTrace: }$"
short: "\0"