You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. }