Fix log message

Properly uses the name of the method where the entry is emitted.