Up

Module Output

Signature

type machine_readable_format = [
| `Bin_prot
| `Sexp
| `Sexp_hum
]
val machine_readable_format_of_sexp : Sexplib.Sexp.t -> machine_readable_format
val __machine_readable_format_of_sexp__ : Sexplib.Sexp.t -> machine_readable_format
val sexp_of_machine_readable_format : machine_readable_format -> Sexplib.Sexp.t
type format = [
| `Bin_prot
| `Sexp
| `Sexp_hum
| `Text
]
val format_of_sexp : Sexplib.Sexp.t -> format
val __format_of_sexp__ : Sexplib.Sexp.t -> format
val sexp_of_format : format -> Sexplib.Sexp.t
val create : ?rotate:(unit -> unit Async_unix.Import.Deferred.t) -> (Message.t Core.Std.Queue.t -> unit Async_unix.Import.Deferred.t) -> t
val stdout : unit -> t
val stderr : unit -> t
val writer : format -> Async_unix.Writer.t -> t
val file : format -> filename:string -> t
val rotating_file : format -> basename:string -> Rotation.t -> t
val rotating_file_with_tail : format -> basename:string -> Rotation.t -> t * string Async_unix.Import.Tail.t