fix: correct type of args
passed to hooks.logMethod
#1558
Merged
args
passed to hooks.logMethod
#1558