aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/main.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-05-27 19:34:14 +0800
committerFelix Lange <fjl@twurst.com>2015-05-28 07:09:26 +0800
commit62671c93c4672a8853c1193286d59f60e7065bbe (patch)
tree11c21a378ab2479a96645039692fb7bf2872b571 /cmd/mist/main.go
parent3b9808f23ca4eb1621a92aad80de5c89269f17fe (diff)
downloadgo-tangerine-62671c93c4672a8853c1193286d59f60e7065bbe.tar.gz
go-tangerine-62671c93c4672a8853c1193286d59f60e7065bbe.tar.zst
go-tangerine-62671c93c4672a8853c1193286d59f60e7065bbe.zip
cmd/mist: use utils.SetupLogger
Diffstat (limited to 'cmd/mist/main.go')
-rw-r--r--cmd/mist/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/mist/main.go b/cmd/mist/main.go
index 8365fcec1..e8ae9b5e1 100644
--- a/cmd/mist/main.go
+++ b/cmd/mist/main.go
@@ -86,6 +86,10 @@ func init() {
utils.BlockchainVersionFlag,
utils.NetworkIdFlag,
}
+ app.Before = func(ctx *cli.Context) error {
+ utils.SetupLogger(ctx)
+ return nil
+ }
}
func main() {