rename smartlogger

This commit is contained in:
richardsonjack 2018-05-24 13:05:29 +09:30
parent 6578511dc8
commit c08a2c079f
2 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@ import (
"bitbucket.org/ausocean/av/revid"
"bitbucket.org/ausocean/iot/pi/netsender"
"bitbucket.org/ausocean/utils/smartLogger"
"bitbucket.org/ausocean/utils/smartlogger"
linuxproc "github.com/c9s/goprocinfo/linux"
)
@ -242,7 +242,7 @@ func main() {
config.IntraRefreshPeriod = *configFlags[intraRefreshPeriodPtr]
// Also give the config a logger object
config.Logger = smartLogger.New(loggerVerbosity, smartLogger.File, "/var/log/netsender/")
config.Logger = smartlogger.New(loggerVerbosity, smartlogger.File, "/var/log/netsender/")
//init netsender
if *netSenderFlagPtr {

View File

@ -32,8 +32,8 @@ import (
_ "fmt"
"strconv"
"bitbucket.org/ausocean/utils/smartLogger"
//"../../utils/smartLogger"
"bitbucket.org/ausocean/utils/smartlogger"
//"../../utils/smartlogger"
)
// Config provides parameters relevant to a revid instance. A new config must
@ -60,7 +60,7 @@ type Config struct {
Quantization string
Timeout string
IntraRefreshPeriod string
Logger smartLogger.LogInstance
Logger smartlogger.LogInstance
}
// Enums for config struct