engine: Improve logging for resources and exec

This makes things a bit clearer and fixes some silly formatting bugs.
This commit is contained in:
James Shubin
2023-11-20 15:45:22 -05:00
parent d022d7f09e
commit 75d3895e84
2 changed files with 23 additions and 14 deletions

View File

@@ -243,7 +243,7 @@ func (obj *State) Init() error {
Debug: obj.Debug,
Logf: func(format string, v ...interface{}) {
obj.Logf("resource: "+format, v...)
obj.Logf(format, v...)
},
}