Descriptiongo: Replace Logrus with go-logging.
The initial plan was to use glog. But glog turned out to be very rigid:
* No way to expose command line flags via non-default flag parser.
* No way to change logging level (and other configs) NOT via command line.
* Non-configurable stack frame detector: all log lines are marked as produced
by wrapping function, not where logger was called. (Wrapping functions are
necessary to wrap glog global functions into Logger interface) -> useless.
go-logging was chosen as reasonably flexible library (like Logrus), that is
still pretty lightweight (no dependencies, unlike Logrus). Supports colors too!
R=iannucci@chromium.org, seanmccullough@chromium.org
BUG=
Committed: https://chromium.googlesource.com/infra/infra/+/36d0a36b0f90ef34686f738539a2756a4b068959
Patch Set 1 #
Total comments: 3
Patch Set 2 : remove debug statements #
Total comments: 4
Patch Set 3 : get rid of IsTerminal #
Total comments: 4
Patch Set 4 : #Patch Set 5 : #Patch Set 6 : typo #
Messages
Total messages: 12 (2 generated)
|