mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
82b74c7940
some basic changes to parse upload url
17 lines
281 B
Go
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
|
|
}
|