color logger debug rails code example Example: rails logger color logger.debug ActiveSupport::LogSubscriber.new.send(:color, "message", :red)