Tree Browser Work
This commit is contained in:
@@ -27,7 +27,7 @@ func (a *AppLogHandler) addGroups(groups ...string) { a.groups = append(a.group
|
||||
// AppLogHandler can handle all levels
|
||||
func (a *AppLogHandler) Enabled(_ context.Context, lvl slog.Level) bool { return lvl >= a.level }
|
||||
|
||||
func (a *AppLogHandler) Handle(ctx context.Context, rcd slog.Record) error {
|
||||
func (a *AppLogHandler) Handle(_ context.Context, rcd slog.Record) error {
|
||||
if a.logFunc == nil {
|
||||
return errors.New("no log func defined")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user