refactor logging
This commit is contained in:
parent
39b06ba0b4
commit
4564c1624c
1 changed files with 13 additions and 0 deletions
13
src/Logging.fs
Normal file
13
src/Logging.fs
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
module Bidello.Logging
|
||||||
|
|
||||||
|
open Serilog
|
||||||
|
open Pentole
|
||||||
|
|
||||||
|
let logger_config: LoggingHelpers.Configuration = {
|
||||||
|
files = []
|
||||||
|
template = LoggingHelpers.Default.debug_template
|
||||||
|
theme = LoggingHelpers.Default.theme
|
||||||
|
overrides = LoggingHelpers.Default.overrides
|
||||||
|
}
|
||||||
|
|
||||||
|
let logger = LoggingHelpers.from_config logger_config
|
Loading…
Reference in a new issue