Need to specify method when using logger.

Method name needs to be specified when using the logger
object.
Merge pull request #63 from Jrad7/codereferror

Syntax error when trying to access logger hash.