feat: update dependencies
This commit is contained in:
@ -56,32 +56,32 @@ func Make(f Format, w io.Writer) slog.Logger {
|
||||
return slog.Make(sink)
|
||||
}
|
||||
|
||||
func Debug(ctx context.Context, msg string, fields ...Field) {
|
||||
func Debug(ctx context.Context, msg string, fields ...any) {
|
||||
slog.Helper()
|
||||
defaultLogger.Debug(ctx, msg, fields...)
|
||||
}
|
||||
|
||||
func Info(ctx context.Context, msg string, fields ...Field) {
|
||||
func Info(ctx context.Context, msg string, fields ...any) {
|
||||
slog.Helper()
|
||||
defaultLogger.Info(ctx, msg, fields...)
|
||||
}
|
||||
|
||||
func Warn(ctx context.Context, msg string, fields ...Field) {
|
||||
func Warn(ctx context.Context, msg string, fields ...any) {
|
||||
slog.Helper()
|
||||
defaultLogger.Warn(ctx, msg, fields...)
|
||||
}
|
||||
|
||||
func Error(ctx context.Context, msg string, fields ...Field) {
|
||||
func Error(ctx context.Context, msg string, fields ...any) {
|
||||
slog.Helper()
|
||||
defaultLogger.Error(ctx, msg, fields...)
|
||||
}
|
||||
|
||||
func Critical(ctx context.Context, msg string, fields ...Field) {
|
||||
func Critical(ctx context.Context, msg string, fields ...any) {
|
||||
slog.Helper()
|
||||
defaultLogger.Critical(ctx, msg, fields...)
|
||||
}
|
||||
|
||||
func Fatal(ctx context.Context, msg string, fields ...Field) {
|
||||
func Fatal(ctx context.Context, msg string, fields ...any) {
|
||||
slog.Helper()
|
||||
defaultLogger.Fatal(ctx, msg, fields...)
|
||||
}
|
||||
|
Reference in New Issue
Block a user