seaweedfs/go/glog/convenient_api.go
Chris Lu 82b74c7940 issue 43 "go fmt" chagnes from "Ryan S. Brown" <sb@ryansb.com>
some basic changes to parse upload url
2013-09-01 23:58:21 -07:00

17 lines
281 B
Go

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
}