refactor logging

This commit is contained in:
bparodi@lezzo.org 2024-12-02 12:45:44 +01:00
parent 39b06ba0b4
commit 4564c1624c

13
src/Logging.fs Normal file
View 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