mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore]: Bump github.com/KimMachineGun/automemlimit from 0.5.0 to 0.6.0 (#2859)
This commit is contained in:
13
vendor/github.com/KimMachineGun/automemlimit/memlimit/logger.go
generated
vendored
Normal file
13
vendor/github.com/KimMachineGun/automemlimit/memlimit/logger.go
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
package memlimit
|
||||
|
||||
import (
|
||||
"context"
|
||||
"log/slog"
|
||||
)
|
||||
|
||||
type noopLogger struct{}
|
||||
|
||||
func (noopLogger) Enabled(context.Context, slog.Level) bool { return false }
|
||||
func (noopLogger) Handle(context.Context, slog.Record) error { return nil }
|
||||
func (d noopLogger) WithAttrs([]slog.Attr) slog.Handler { return d }
|
||||
func (d noopLogger) WithGroup(string) slog.Handler { return d }
|
Reference in New Issue
Block a user