godartsassv1 "github.com/bep/godartsass"
"github.com/bep/godartsass/v2"
+ "github.com/bep/logg"
"github.com/gohugoio/hugo/common/herrors"
"github.com/gohugoio/hugo/common/hugo"
"github.com/gohugoio/hugo/helpers"
switch event.Type {
case godartsass.LogEventTypeDebug:
// Log as Info for now, we may adjust this if it gets too chatty.
- infol.Logf(message)
+ infol.Log(logg.String(message))
default:
// The rest are either deprecations or @warn statements.
- warnl.Logf(message)
+ warnl.Log(logg.String(message))
}
},
})
switch event.Type {
case godartsassv1.LogEventTypeDebug:
// Log as Info for now, we may adjust this if it gets too chatty.
- infol.Logf(message)
+ infol.Log(logg.String(message))
default:
// The rest are either deprecations or @warn statements.
- warnl.Logf(message)
+ warnl.Log(logg.String(message))
}
},
})