# File lib/cabin/outputs/io.rb, line 49
  def <<(event)
    @lock.synchronize do
      if !tty?
        @io.puts(event.inspect)
        @io.flush
      else
        tty_write(event)
      end
    end
  end