# File lib/logging/appenders/io.rb, line 17
    def initialize( name, io, opts = {} )
      unless io.respond_to? :write
        raise TypeError, "expecting an IO object but got '#{io.class.name}'"
      end

      @io = io
      @io.sync = true if @io.respond_to?(:sync) rescue nil

      configure_buffering(opts)
      super(name, opts)
    end