aboutsummaryrefslogtreecommitdiff
path: root/go/glog/convenient_api.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2014-04-13 10:20:43 -0700
committerChris Lu <chris.lu@gmail.com>2014-04-13 10:20:43 -0700
commit161526555ff77faf2c6af085619a591cf8436f58 (patch)
tree7278eb7d5ec207d7d4f445b66e9768aa22883eaf /go/glog/convenient_api.go
parent963023898e6fba893932c55fc9c39c5b96021a07 (diff)
downloadseaweedfs-161526555ff77faf2c6af085619a591cf8436f58.tar.xz
seaweedfs-161526555ff77faf2c6af085619a591cf8436f58.zip
remove unused code additional functions for glog
Diffstat (limited to 'go/glog/convenient_api.go')
-rw-r--r--go/glog/convenient_api.go10
1 files changed, 1 insertions, 9 deletions
diff --git a/go/glog/convenient_api.go b/go/glog/convenient_api.go
index db7ad7963..3c378083f 100644
--- a/go/glog/convenient_api.go
+++ b/go/glog/convenient_api.go
@@ -4,13 +4,5 @@ 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
+1. remove nano time in log format
*/
-
-func ToStderr() {
- logging.toStderr = true
-}
-func ToStderrAndLog() {
- logging.alsoToStderr = true
-}