From 4564c1624c4520200e97596cea9e0b2962caf7cc Mon Sep 17 00:00:00 2001 From: "bparodi@lezzo.org" Date: Mon, 2 Dec 2024 12:45:44 +0100 Subject: [PATCH] refactor logging --- src/Logging.fs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/Logging.fs diff --git a/src/Logging.fs b/src/Logging.fs new file mode 100644 index 0000000..415e70c --- /dev/null +++ b/src/Logging.fs @@ -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