OSDN Git Service

Don't init logrus in a seperate file (#361)
authorLiu-Cheng Xu <xuliuchengxlc@gmail.com>
Mon, 5 Feb 2018 01:33:45 +0000 (09:33 +0800)
committerGuanghua Guo <1536310027@qq.com>
Mon, 5 Feb 2018 01:33:45 +0000 (09:33 +0800)
commit8f5e3e4ae200dcb10aaf45d5ce02f3d8b1edf037
tree6224db2d9f33bd16d3ae8c05e8d70c2af020127c
parentda68d53e77c01fa7242371c88288d1cee25d6613
Don't init logrus in a seperate file (#361)

The logging funcationality is broken when crossing compile the
executable file due to some unknown machnisms related to the main
package. So, move `log_hook.go` to `main.go`.
cmd/bytomd/log_hook.go [deleted file]
cmd/bytomd/main.go