arti

Module logging

Source
Expand description

Configure tracing subscribers for Arti

Modulesยง

  • time ๐Ÿ”’
    Support logging the time with different levels of precision.

Structsยง

Enumsยง

Functionsยง

  • console_layer ๐Ÿ”’
    Try to construct a tracing [Layer] for logging to stdout.
  • Return a default tracing filter value for logging.console.
  • filt_from_opt_str ๐Ÿ”’
    As filt_from_str_verbose, but treat an absent filter (or an empty string) as None.
  • As [Targets::from_str], but wrapped in an anyhow::Result.
  • Configure a panic handler to send everything to tracing, in addition to our default panic behavior.
  • journald_layer ๐Ÿ”’ journald
    Try to construct a tracing [Layer] for logging to journald, if one is configured.
  • logfile_layer ๐Ÿ”’
    Try to construct a non-blocking tracing [Layer] for writing data to an optionally rotating logfile.
  • logfile_layers ๐Ÿ”’
    Try to construct a tracing [Layer] for all of the configured logfiles.
  • setup_loggingexperimental-api
    Set up logging.

Type Aliasesยง

  • LogfileListConfig ๐Ÿ”’
    Local type alias, mostly helpful for derive_builder to DTRT