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"
|
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
|
// Indexes for configFlags
|
||||||
const (
|
const (
|
||||||
inputPtr = iota
|
inputPtr = iota
|
||||||
|
@ -71,12 +79,10 @@ const (
|
||||||
|
|
||||||
// Other misc consts
|
// Other misc consts
|
||||||
const (
|
const (
|
||||||
progName = "revid-cli"
|
|
||||||
netSendRetryTime = 5 * time.Second
|
netSendRetryTime = 5 * time.Second
|
||||||
defaultRunDuration = 24 * time.Hour
|
defaultRunDuration = 24 * time.Hour
|
||||||
revidStopTime = 5 * time.Second
|
revidStopTime = 5 * time.Second
|
||||||
prepTime = 20 * time.Second
|
prepTime = 20 * time.Second
|
||||||
loggerVerbosity = 3
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
Loading…
Reference in New Issue