Module Consoler.E

Logging events.

val log : ?obs:bool -> ?l:Brr.Console.log -> ?v:'a Brr.Console.msgr -> string -> 'a Note.event -> 'a Note.event

event is like log_value on e's occurences. If obs is true the returned value is e itself and the tracing occurs through a logger; note that this prevents e from being garbage collected. If obs is false, the return value is e mapped by a side effecting identity.