Update log API call

This commit is contained in:
richardsonjack 2018-05-24 12:20:41 +09:30
parent 63f56a964f
commit 898b231521
1 changed files with 1 additions and 1 deletions

View File

@ -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)