mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-09 05:28:56 -06:00
Bumps [github.com/KimMachineGun/automemlimit](https://github.com/KimMachineGun/automemlimit) from 0.5.0 to 0.6.0. - [Release notes](https://github.com/KimMachineGun/automemlimit/releases) - [Commits](https://github.com/KimMachineGun/automemlimit/compare/v0.5.0...v0.6.0) --- updated-dependencies: - dependency-name: github.com/KimMachineGun/automemlimit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
14 lines
381 B
Go
14 lines
381 B
Go
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 }
|