As a performance improvement, check if `NoBrainer.logger.level <= Logger::DEBUG` before because it can be costly to compute the pretty printed string.
Also, use `inspect`, not `pp`.