fix: correctly pass variadic args from runtime log
This commit is contained in:
parent
717728f33b
commit
bd2363178d
@ -582,12 +582,12 @@ func (rt *Runtime) abortIfAlreadyValidated() {
|
||||
func (rt *Runtime) Log(level vmr.LogLevel, msg string, args ...interface{}) {
|
||||
switch level {
|
||||
case vmr.DEBUG:
|
||||
actorLog.Debugf(msg, args)
|
||||
actorLog.Debugf(msg, args...)
|
||||
case vmr.INFO:
|
||||
actorLog.Infof(msg, args)
|
||||
actorLog.Infof(msg, args...)
|
||||
case vmr.WARN:
|
||||
actorLog.Warnf(msg, args)
|
||||
actorLog.Warnf(msg, args...)
|
||||
case vmr.ERROR:
|
||||
actorLog.Errorf(msg, args)
|
||||
actorLog.Errorf(msg, args...)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user