16 lines
281 B

  1. package glog
  2. import ()
  3. /*
  4. Copying the original glog because it is missing several convenient methods.
  5. 1. use ToStderrAndLog() in the weed.go
  6. 2. remove nano time in log format
  7. */
  8. func ToStderr() {
  9. logging.toStderr = true
  10. }
  11. func ToStderrAndLog() {
  12. logging.alsoToStderr = true
  13. }