package async_log
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Logging library built on top of Async_unix
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=2dae248d74c23aa6a1e0bc38d5b34c975eb4dfbdf32f0970641b5befd8385720
doc/async_log.kernel/Async_log_kernel/Global/index.html
Module Async_log_kernel.GlobalSource
This function can be called to generate logging modules with the Log.t lazily instantiated, and prepopulated in the arguments.
This module provides functions like Global.sexp which logs without needing to provide a Log.t. At this point, it's recommended to use ppx_log instead.
include S
Functions that operate on a given log. In this case they operate on a single log global to the module.
Source
val raw :
?time:Core.Time_float.t ->
?tags:(string * string) list ->
('a, unit, string, unit) Core.format4 ->
'aSource
val info :
?time:Core.Time_float.t ->
?tags:(string * string) list ->
('a, unit, string, unit) Core.format4 ->
'aSource
val error :
?time:Core.Time_float.t ->
?tags:(string * string) list ->
('a, unit, string, unit) Core.format4 ->
'aSource
val debug :
?time:Core.Time_float.t ->
?tags:(string * string) list ->
('a, unit, string, unit) Core.format4 ->
'aSource
val printf :
?level:Level.t ->
?time:Core.Time_float.t ->
?tags:(string * string) list ->
('a, unit, string, unit) Core.format4 ->
'aSource
val sexp :
?level:Level.t ->
?time:Core.Time_float.t ->
?tags:(string * string) list ->
Core.Sexp.t ->
unitSource
val string :
?level:Level.t ->
?time:Core.Time_float.t ->
?tags:(string * string) list ->
string ->
unitSource
val structured_message :
?level:Level.t ->
?time:Core.Time_float.t ->
?tags:(string * string) list ->
Ppx_log_types.Message_data.t ->
Ppx_log_types.Message_source.t ->
unitSource
val surround_s :
on_subsequent_errors:[ `Call of exn -> unit | `Log | `Raise ] ->
?level:Level.t ->
?time:Core.Time_float.t ->
?tags:(string * string) list ->
Core.Sexp.t ->
(unit -> 'a Async_kernel.Deferred.t) ->
'a Async_kernel.Deferred.tSource
val surroundf :
on_subsequent_errors:[ `Call of exn -> unit | `Log | `Raise ] ->
?level:Level.t ->
?time:Core.Time_float.t ->
?tags:(string * string) list ->
('a,
unit,
string,
(unit -> 'b Async_kernel.Deferred.t) ->
'b Async_kernel.Deferred.t)
Core.format4 ->
'a sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>