Logger.Structured
Logging of structured events.
type log_function =
t ->
module_:string ->
location:string ->
?tags:Logger__Tags.t list ->
?metadata:( string, Yojson.Safe.t ) Core_kernel.List.Assoc.t ->
Structured_log_events.t ->
unit
val trace : log_function
val debug : log_function
val info : log_function
val warn : log_function
val error : log_function
val fatal : log_function
val faulty_peer_without_punishment : log_function
val best_tip_diff :
t ->
?tags:Logger__Tags.t list ->
?metadata:( string, Yojson.Safe.t ) Core_kernel.List.Assoc.t ->
Structured_log_events.t ->
unit