aboutsummaryrefslogtreecommitdiff
path: root/go/glog/convenient_api.go
blob: ac2c2e7f87da8a9205f405e6a404f5fec2d97784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package glog

import ()

/*
Copying the original glog because it is missing several convenient methods.
1. use ToStderrAndLog() in the weed.go
2. remove nano time in log format
*/

func ToStderr() {
	logging.toStderr = true
}
func ToStderrAndLog() {
  logging.alsoToStderr = true
}