diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-13 23:35:46 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-13 23:35:46 +0800 |
commit | 333e539ce2143e9f416cef45053c1c21ce0312d4 (patch) | |
tree | da21c5ca613615f78e7475f67e743c6d9464d1cb /logger | |
parent | a8a2b2a488f7433abc09c51b751556875c9107a9 (diff) | |
parent | 1fa844aaf51beae9129b52a52f51b6602c52ccdb (diff) | |
download | dexon-333e539ce2143e9f416cef45053c1c21ce0312d4.tar dexon-333e539ce2143e9f416cef45053c1c21ce0312d4.tar.gz dexon-333e539ce2143e9f416cef45053c1c21ce0312d4.tar.bz2 dexon-333e539ce2143e9f416cef45053c1c21ce0312d4.tar.lz dexon-333e539ce2143e9f416cef45053c1c21ce0312d4.tar.xz dexon-333e539ce2143e9f416cef45053c1c21ce0312d4.tar.zst dexon-333e539ce2143e9f416cef45053c1c21ce0312d4.zip |
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
Diffstat (limited to 'logger')
-rw-r--r-- | logger/glog/README | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/logger/glog/README b/logger/glog/README index 5f9c11485..c7b1e60cc 100644 --- a/logger/glog/README +++ b/logger/glog/README @@ -19,20 +19,20 @@ The comment from glog.go introduces the ideas: Error, Fatal, plus formatting variants such as Infof. It also provides V-style logging controlled by the -v and -vmodule=file=2 flags. - + Basic examples: - + glog.Info("Prepare to repel boarders") - + glog.Fatalf("Initialization failed: %s", err) - + See the documentation for the V function for an explanation of these examples: - + if glog.V(2) { glog.Info("Starting transaction...") } - + glog.V(2).Infoln("Processed", nItems, "elements") |