sig
  val iter : (Log.event -> unit) -> unit
  val dump_messages : unit -> unit
  val self : State.t
  val reset_once_flag : unit -> unit
end