Changed logging method name

logging method name was not valid in this context, changed to reflect valid logging method.