When enabling debug level logging, a developer may want to log objects or hashes that haven't been converted to a string already. In the case of messages with no encoding, inspect the log message and log the inspected result to avoid a failure and skipping the message.
When enabling debug level logging, a developer may want to log objects or hashes that haven't been converted to a string already. In the case of messages with no encoding, inspect the log message and log the inspected result to avoid a failure and skipping the message.