package async

  1. Overview
  2. Docs
Monadic concurrency library

Install

Dune Dependency

Authors

Maintainers

Sources

async-v0.12.0.tar.gz
sha256=c1cd9fa74e975ae5a014dffb36283d2616d89e465a9d4dec3062da70866ed28f
md5=e9a06695c63cf4b092cc81f25a8491fd

doc/async.log_extended/Log_extended/Console/index.html

Module Log_extended.Console

val output : ?debug:Console.Ansi.attr list -> ?info:Console.Ansi.attr list -> ?error:Console.Ansi.attr list -> Async.Writer.t -> Async.Log.Output.t

returns a Log.Output.t given optional styles (i.e. values of type Ansi.t list) for each of the `Debug, `Info, and `Error log levels. The default styling is to display debug messages in yellow, error messages in red, and info messages without any additional styling.

create doesn't take a format argument because colorized output should be read by humans.

module Blocking : sig ... end
OCaml

Innovation. Community. Security.