mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-21 00:54:41 +00:00
logger/glog: add SetVmodule
This commit is contained in:
parent
a15b02320e
commit
0edcbc797f
1 changed files with 5 additions and 0 deletions
|
|
@ -138,6 +138,11 @@ func SetV(v int) {
|
||||||
logging.verbosity.set(Level(v))
|
logging.verbosity.set(Level(v))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// SetVmodule sets the global verbosity patterns.
|
||||||
|
func SetVmodule(pat string) error {
|
||||||
|
return logging.vmodule.Set(pat)
|
||||||
|
}
|
||||||
|
|
||||||
// SetToStderr sets the global output style
|
// SetToStderr sets the global output style
|
||||||
func SetToStderr(toStderr bool) {
|
func SetToStderr(toStderr bool) {
|
||||||
logging.toStderr = toStderr
|
logging.toStderr = toStderr
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue