all repos — searchix @ 520dcca2755dbbab13ceebdc53d03beec8b94533

Search engine for NixOS, nix-darwin, home-manager and NUR users

internal/storage/log.go (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package storage

import "go.uber.org/zap"

type Logger struct {
	*zap.SugaredLogger
}

func (l Logger) Warning(v ...any) {
	l.Warn(v...)
}

func (l Logger) Warningf(format string, v ...any) {
	l.Warnf(format, v...)
}