[ Agent ] [ Executor ] - 初步完成Executor部分的代码

This commit is contained in:
zeaslity
2023-10-17 16:17:12 +08:00
parent db58a7a6f6
commit 0e8f633166
5 changed files with 250 additions and 46 deletions

View File

@@ -66,6 +66,10 @@ func (l *Logger) Warn(msg string, fields ...zap.Field) {
l.Logger.Warn(msg, fields...)
}
func (l *Logger) WarnF(msg string, args ...interface{}) {
l.Logger.Warn(fmt.Sprintf(msg, args...))
}
// Error logs an error message.
func (l *Logger) ErrorF(msg string, args ...interface{}) {