Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/otp/Logger.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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, obj, obj> * obj) -> unit
Expand Down
Loading