Index of values


A
add [Logs.Tag]
add d v s is s with the tag (V (d, v)) added.
app [Logs_lwt.LOG]
See Logs.app.
app [Logs_lwt]
See Logs.app.
app [Logs.LOG]
app is msg App.
app [Logs]
app is msg App.
app_style [Logs_fmt]
app_style is the style used to render headers at app level.

C
compare [Logs.Src]
compare src src' is a total order on sources.
console_reporter [Logs_browser]
console_reporter () logs message using the browser console object at the corresponding level and uses console.log for the App level.
create [Logs.Src]
create ?doc name is a new log source.

D
debug [Logs_lwt.LOG]
See Logs.debug.
debug [Logs_lwt]
See Logs.debug.
debug [Logs.LOG]
debug is msg Debug.
debug [Logs]
debug is msg Debug.
debug_style [Logs_fmt]
debug_style is the style used to render headers at debug level.
def [Logs.Tag]
def ~doc name pp is a tag definition.
default [Logs]
default is a logging source that is reserved for use by applications.
doc [Logs.Tag]
doc d is d's documentation string.
doc [Logs.Src]
doc src is src's documentation string.

E
empty [Logs.Tag]
empty is the empty set.
equal [Logs.Src]
equal src src' is true iff src and src' are the same source.
err [Logs_lwt.LOG]
See Logs.err.
err [Logs_lwt]
See Logs.err.
err [Logs.LOG]
err is msg Error.
err [Logs]
err is msg Error.
err_count [Logs]
err_count () is the number of messages logged with level Error across all sources.
err_style [Logs_fmt]
err_style is the style used to render headers at error level.

F
find [Logs.Tag]
find d s is the tag value with definition d in s (if any).
fold [Logs.Tag]
fold f s acc is the result of folding f over the tags of s starting with acc.
format_reporter [Logs]
format_reporter ~pp_header ~app ~dst () is a reporter that reports App level messages on app (defauts to Format.std_formatter) and all other level on dst (defaults to Format.err_formatter).

G
get [Logs.Tag]
get d s is like find d s but

I
info [Logs_lwt.LOG]
See Logs.info.
info [Logs_lwt]
See Logs.info.
info [Logs.LOG]
info is msg Info.
info [Logs]
info is msg Info.
info_style [Logs_fmt]
info_style is the style used to render headers at info level.
is_empty [Logs.Tag]
is_empty s is true iff s is empty.

K
kmsg [Logs_lwt.LOG]
See Logs.kmsg.
kmsg [Logs_lwt]
See Logs.kmsg.
kmsg [Logs.LOG]
See Logs.kmsg.
kmsg [Logs]
kmsg k is like Logs.msg but calls k for returning.

L
level [Logs_cli]
level ?env ?docs () is a term for three Cmdliner options that can be used with Logs.set_level.
level [Logs.Src]
level src is the report level of src (if any).
level [Logs]
level () is the reporting level given to new sources.
level_of_string [Logs]
level_of_string s parses the representation of Logs.level_to_string from s.
level_to_string [Logs]
level_to_string l converts l to an US-ASCII string that can be parsed back by Logs.level_of_string and by the LEVEL option argument of Logs_cli.level.
list [Logs.Tag]
tag_list () is the list of currently existing tag definitions.
list [Logs.Src]
list () is the current exisiting source list.

M
mem [Logs.Tag]
mem d s is true iff s has a tag with definition d.
msg [Logs_lwt.LOG]
See Logs.msg.
msg [Logs_lwt]
See Logs.msg.
msg [Logs.LOG]
See Logs.msg.
msg [Logs]
msg ?src l (fun m -> m fmt ...) logs with level l on the source src (defaults to Logs.default) a message formatted with fmt.

N
name [Logs.Tag]
name d is d's name.
name [Logs.Src]
name is src's name.
nop_reporter [Logs]
nop_reporter is the initial reporter returned by Logs.reporter, it does nothing if a log message gets reported.

O
on_error [Logs_lwt.LOG]
on_error [Logs_lwt]
on_error [Logs.LOG]
on_error [Logs]
on_error ~level ~pp ~use r is: v if r = Ok v, use e if r = Error e. As a side effect msg is logged with pp on level level (defaults to Logs.Error).
on_error_msg [Logs_lwt.LOG]
on_error_msg [Logs_lwt]
on_error_msg [Logs.LOG]
on_error_msg [Logs]
on_error_msg is like Logs.on_error but uses Format.pp_print_text to format the message.

P
pp [Logs.Tag]
pp ppf t prints an unspecified representation of t on ppf.
pp [Logs.Src]
pp ppf src prints an unspecified representation of src on ppf.
pp_def [Logs.Tag]
pp_def ppf d prints an unspecified representation of d on ppf.
pp_header [Logs_fmt]
pp_header is like Logs.pp_header but may use ANSI colors if the formatter is configured to do so, see Fmt.set_style_renderer and Fmt_tty.
pp_header [Logs]
pp_header ppf (l, h) prints an unspecified representation of log header h for level l.
pp_level [Logs]
pp_level ppf l prints an unspecified representation of l on ppf.
pp_set [Logs.Tag]
pp_set ppf s prints an unspecified representation of s on ppf.
printer [Logs.Tag]
printer d is d's type pretty-printer.

R
rem [Logs.Tag]
rem d s is s without the tag defined by d (if there was one).
reporter [Logs_fmt]
reporter is like Logs.format_reporter except ANSI colors may be used in message header rendering if the formatters are configured to do so; see Fmt.set_style_renderer and Fmt_tty.
reporter [Logs]
reporter () is the current repporter.

S
set_level [Logs.Src]
set_level src l sets the report level of src to l.
set_level [Logs]
set_level ?all l sets the reporting level given to new sources.
set_reporter [Logs]
set_reporter r sets the current reporter to r.
src_log [Logs_lwt]
src_log src is a set of logging functions for src.
src_log [Logs]
src_log src is a set of logging functions for src.

W
warn [Logs_lwt.LOG]
See Logs.warn.
warn [Logs_lwt]
See Logs.warn.
warn [Logs.LOG]
warn is msg Warning.
warn [Logs]
warn is msg Warning.
warn_count [Logs]
warn_count () is the number of messages logged with level Warning across all sources.
warn_style [Logs_fmt]
warn_style is the style used to render headers at warning level.