mirror of https://bitbucket.org/ausocean/av.git
cmd/revid-cli: separate out loggin consts
This commit is contained in:
parent
41eb46c702
commit
043ff35dfe
|
@ -42,6 +42,14 @@ import (
|
|||
linuxproc "github.com/c9s/goprocinfo/linux"
|
||||
)
|
||||
|
||||
const (
|
||||
// progName is the program name for logging purposes.
|
||||
progName = "revid-cli"
|
||||
|
||||
// Logging is set to INFO level.
|
||||
loggerVerbosity = 3
|
||||
)
|
||||
|
||||
// Indexes for configFlags
|
||||
const (
|
||||
inputPtr = iota
|
||||
|
@ -71,12 +79,10 @@ const (
|
|||
|
||||
// Other misc consts
|
||||
const (
|
||||
progName = "revid-cli"
|
||||
netSendRetryTime = 5 * time.Second
|
||||
defaultRunDuration = 24 * time.Hour
|
||||
revidStopTime = 5 * time.Second
|
||||
prepTime = 20 * time.Second
|
||||
loggerVerbosity = 3
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
Loading…
Reference in New Issue