Crate simplog

source ·
Expand description

simplog is as its name suggests a very simpler logging implementation for rust It provides three main features

  • Settable log level (or verbosity) (default is Log::Level::Error)
  • Optional prefix each log line with the Level it corresponds to (after timestamp if present)
  • Optional timestamp prefixed to each line

Structs

Use the SimpleLogger struct to initialize a logger. From then on, the rust log framework should be used to output log statements as usual.