First pass

Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
Itxaka
2023-08-11 11:41:28 +02:00
parent f6ec86180b
commit b0c740c961
6 changed files with 224 additions and 48 deletions

18
logger/interface.go Normal file
View File

@@ -0,0 +1,18 @@
package logger
type Interface interface {
Info(...interface{})
Warn(...interface{})
Debug(...interface{})
Error(...interface{})
Fatal(...interface{})
Panic(...interface{})
Trace(...interface{})
Infof(string, ...interface{})
Warnf(string, ...interface{})
Debugf(string, ...interface{})
Errorf(string, ...interface{})
Fatalf(string, ...interface{})
Panicf(string, ...interface{})
Tracef(string, ...interface{})
}