Module bitbazaar::logging

source ·
Expand description

Logging utilities

Structs§

  • A simple clap argument group for controlling the log level for cli usage.
  • A custom writer for logging, to something other than the provided variants.
  • A target for a specific variation of logging, e.g. stdout, a file, or a custom writer.

Enums§

Functions§

  • Simple interface to setup a sub and output to a given target. Returns the sub, must run sub.apply()? To actually enable it as the global sub, this can only be done once.