Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module Level : sig ... end
type Stdlib.Effect.t +=
| Emit : 'a t -> unit Stdlib.Effect.t
Emit
emits log object. Logs can be injected to handle the effect.
log level msgf
sends msgf
message object with level level
log `Debug @@ fun m -> m "hello, %s" "world"
type Stdlib.Effect.t +=
| Write : string * Level.t -> unit Stdlib.Effect.t
| GetTime : Eio.Time.clock Stdlib.Effect.t
val write : Level.t -> string -> unit
module Trans : sig ... end
val run :
clock:Eio.Time.clock ->
sw:Eio__core.Switch.t ->
outputs:Eio.Flow.sink list ->
level:Level.t ->
?trans:((unit -> 'r) -> 'r) ->
(unit -> 'r) ->
'r