This implementation writes log messages to console using NSLog
Called for each message the library logs.
Called for each message the library logs together with the error that caused it.