    # File lib/fog/core/logger.rb, line 31
        def self.write(key, value)
          if channel = @channels[key]
            value.gsub(Formatador::INDENT_REGEX, '')
            message = if channel.tty?
              value.gsub(Formatador::PARSE_REGEX) { "\e[#{Formatador::STYLES[$1.to_sym]}m" }.gsub(Formatador::INDENT_REGEX, '')
            else
              value.gsub(Formatador::PARSE_REGEX, '').gsub(Formatador::INDENT_REGEX, '')
            end
            channel.write(message)
          end
          nil
        end