diff options
Diffstat (limited to 'logger')
-rw-r--r-- | logger/glog/README | 12 | ||||
-rw-r--r-- | logger/verbosity.go | 2 |
2 files changed, 8 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") diff --git a/logger/verbosity.go b/logger/verbosity.go index 887b90f02..e052b80a3 100644 --- a/logger/verbosity.go +++ b/logger/verbosity.go @@ -7,4 +7,6 @@ const ( Core Debug Detail + + Ridiculousness = 100 ) |