mirror of https://bitbucket.org/ausocean/av.git
Update log API call
This commit is contained in:
parent
63f56a964f
commit
898b231521
|
@ -229,7 +229,7 @@ func (r *revid) ChangeConfig(config Config) (err error) {
|
|||
func (r *revid) Log(logType, m string) {
|
||||
if r.config.Verbosity == Yes {
|
||||
if r.config.Logger != nil {
|
||||
r.config.Logger.log("revid",logType, m)
|
||||
r.config.Logger.Log("revid",logType, m)
|
||||
return
|
||||
}
|
||||
fmt.Println(logType + ": " + m)
|
||||
|
|
Loading…
Reference in New Issue