diff --git a/src/otp/Logger.fs b/src/otp/Logger.fs index eb09c30..113f229 100644 --- a/src/otp/Logger.fs +++ b/src/otp/Logger.fs @@ -41,8 +41,8 @@ type IExports = abstract debug: msg: string -> unit /// Log a debug message with metadata or format args. abstract debug: msg: string * metadataOrArgs: obj -> unit - /// Set the primary logger configuration. Common use: set_primary_config("level", atom) - abstract set_primary_config: key: string * value: Atom -> unit + /// Set the primary logger configuration. Common use: set_primary_config(atom "level", atom "debug") + abstract set_primary_config: key: Atom * value: Atom -> unit /// Add a primary filter. Filters run before handler filters and can stop or modify events. /// The filter is a tuple {FilterFun, Extra} where FilterFun is fun(LogEvent, Extra) -> stop | ignore | LogEvent. abstract add_primary_filter: id: Atom * filter: (System.Func * obj) -> unit