mirror of
https://github.com/kairos-io/kairos-sdk.git
synced 2025-08-02 07:49:32 +00:00
This makes it so it implements other logger interfaces fully (#72)
This commit is contained in:
parent
b3dfedfacb
commit
1c55cf24d3
@ -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...))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user