module Output:sig
..end
val create : ?debug:Console.Ansi.attr list ->
?info:Console.Ansi.attr list ->
?error:Console.Ansi.attr list ->
Async.Std.Writer.t ->
Async.Std.Log.Message.t Core.Std.Queue.t -> unit Console.Deferred.t
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.