revamp: start simple
This commit is contained in:
16
logger/logger.go
Normal file
16
logger/logger.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package logger
|
||||
|
||||
type Content interface {
|
||||
Msg(string)
|
||||
Msgf(string, ...any)
|
||||
}
|
||||
|
||||
type Level interface {
|
||||
Info() Content
|
||||
Warn() Content
|
||||
Error() Content
|
||||
}
|
||||
|
||||
type Log interface {
|
||||
Level
|
||||
}
|
||||
Reference in New Issue
Block a user