main: created global smartlogger.Logger ptr and create default log pathpath

This commit is contained in:
saxon 2018-09-10 18:49:09 +09:30
parent 257544ef3f
commit 51d161ee10
1 changed files with 4 additions and 0 deletions

View File

@ -83,11 +83,15 @@ const (
netSendRetryTime = 5 * time.Second
defaultRunDuration = 24 * time.Hour
revidStopTime = 5 * time.Second
defaultLogPath = "../"
)
// canProfile is set to false with revid-cli is built with "-tags profile".
var canProfile = true
// The logger that will be used throughout
var logger *smartlogger.Logger
// Globals
var (
rv *revid.Revid