routing: define subsystem constant
This commit is contained in:
2 files changed
+4
-2
No files matched your search
+3
-1
@@ -11,9 +11,11 @@ import (
|
||||
// it.
|
||||
var log btclog.Logger
|
||||
|
||||
const Subsystem = "CRTR"
|
||||
|
||||
// The default amount of logging is none.
|
||||
func init() {
|
||||
UseLogger(build.NewSubLogger("CRTR", nil))
|
||||
UseLogger(build.NewSubLogger(Subsystem, nil))
|
||||
}
|
||||
|
||||
// DisableLog disables all library log output. Logging output is disabled by
|
||||
|
||||
Reference in new issue
Block a user