if `Raise
is given then background errors raised by logging will be raised to the
monitor that was in scope when create
was called. Errors can be redirected anywhere
by providing `Call f
.
any call that writes to a log after close
is called will raise.
returns true if close
has been called
returns a Deferred.t that is fulfilled when the last message delivered to t before the call to flushed is out the door.
create a new log. See set_level
, set_on_error
and set_output
for
more.
raw
printf like logging for raw (no level) messages. Raw messages are still
output with a timestamp.
debug
printf like logging at the `Debug log level
info
printf like logging at the `Info log level
error
printf like logging at the `Error log level
printf
generalized printf style logging
sexp
logging of values without first converting them to a string. In the case
where the log level would discard this message no string conversion will ever be
done.
string
logging of string values