package brr

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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.