package logs-async-reporter

  1. Overview
  2. Docs
Logs reporter compatible with Async

Install

Dune Dependency

Authors

Maintainers

Sources

logs-async-1.3.tbz
sha256=12aff8081de966ee5f6db129d73e60463846fe91e60345c9b05254be7681fe36
sha512=8dc77450b1cac25d163165b82013488ef253d572f36cdcde126a113a4609a6489d6a6ddbbbb1c5d1754f76532b291d82fde31619d202e62ae72dc6aed15bcbe4

doc/logs-async-reporter/Logs_async_reporter/index.html

Module Logs_async_reporterSource

Sourceval reporter : unit -> Logs.reporter
Sourceval json_reporter : unit -> Logs.reporter
Sourceval output_reporter : (bytes -> int -> int -> unit) -> Logs.reporter
Sourceval zstd_reporter : ?zstd:Zstandard.Streaming.Compression.t -> ?inbuf:Core.Bigbuffer.t -> ?outbuf:Core.Bigstring.t -> Async.Writer.t -> Logs.reporter * (unit -> unit)
Sourceval level_arg : Logs.level option Async.Command.Arg_type.t

Argument type to be used for use in Command params.

Sourceval set_level_via_param : ?arg_name:string -> ?doc:string -> Logs.src list -> unit Async.Command.Param.t

set_level_via_param src is a param that sets the level of srcs (or all srcs if src is None).

Sourceval set_color_via_param : ?arg_name:string -> ?doc:string -> unit -> unit Async.Command.Param.t

set_color_via_param src is a param that sets the level of srcs (or all srcs if src is None).

OCaml

Innovation. Community. Security.