Linter configuration and linting.
This commit is contained in:
@@ -17,10 +17,12 @@ func NewGooseLogger(logger *slog.Logger) *GooseLogger {
|
||||
}
|
||||
}
|
||||
|
||||
// Fatalf is a proxy for goose logging.
|
||||
func (gl *GooseLogger) Fatalf(format string, v ...interface{}) {
|
||||
gl.logger.Error(fmt.Sprintf(format, v...))
|
||||
}
|
||||
|
||||
// Printf is a proxy for goose logging.
|
||||
func (gl *GooseLogger) Printf(format string, v ...interface{}) {
|
||||
gl.logger.Info(fmt.Sprintf(format, v...))
|
||||
}
|
||||
|
Reference in New Issue
Block a user