Glog

Rust logging in the pattern established by Google logging. See http://github.com/golang/glog and https://github.com/google/glog

TODO

  • -alsologtostderr
  • -colorlogtostderr this implies color support.
  • -log_backtrace_at
  • -log_dir
  • -logbuflevel
  • -logbufsecs
  • -logfile_mode
  • -logtostderr
  • -max_log_size this implies log rotation.
  • -minloglevel
  • -stderrthreshold
  • -stop_logging_if_full_disk
  • -timestamp_in_logfile_name
  • -v
  • -vmodule
  • flush / sync behavior matching Go or C++ implementations.
  • various wrappers for conditional logging (i.e. log_if, sample based). TODO(wathiede): breakout into subcheckboxes.

Not implemented

These are things that seem unnecessary or low priority for the rust version.

  • raw log mode that doesn't allocate or use locking primitives
  • numeric logging levels, rust offers debug and trace beyond info, and also target based logging.
Description
No description provided
Readme 101 KiB
Languages
Rust 100%