mirror of
https://github.com/kairos-io/kairos-sdk.git
synced 2025-09-01 15:18:10 +00:00
This makes it so it implements other logger interfaces fully (#72)
This commit is contained in:
@@ -124,6 +124,10 @@ func (m KairosLogger) Warning(args ...interface{}) {
|
|||||||
m.Logger.Warn().Msg(fmt.Sprint(args...))
|
m.Logger.Warn().Msg(fmt.Sprint(args...))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (m KairosLogger) Warningf(tpl string, args ...interface{}) {
|
||||||
|
m.Logger.Warn().Msg(fmt.Sprintf(tpl, args...))
|
||||||
|
}
|
||||||
|
|
||||||
func (m KairosLogger) Debugf(tpl string, args ...interface{}) {
|
func (m KairosLogger) Debugf(tpl string, args ...interface{}) {
|
||||||
m.Logger.Debug().Msg(fmt.Sprintf(tpl, args...))
|
m.Logger.Debug().Msg(fmt.Sprintf(tpl, args...))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user