mirror of https://bitbucket.org/ausocean/av.git
main: created global smartlogger.Logger ptr and create default log pathpath
This commit is contained in:
parent
257544ef3f
commit
51d161ee10
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue