public void write(RotateStream stream,byte[] buffer,int offset,int length) throws IOException {
  try {
    _queue.offer(new LogItemBinary(stream,buffer,offset,length),10,TimeUnit.SECONDS);
    _queue.wake();
  }
 catch (  Throwable e) {
    e.printStackTrace(EnvironmentStream.getOriginalSystemErr());
  }
}

public void write ( RotateStream stream , byte [ ] buffer , int offset , int length ) throws IOException { try { _queue . offer ( new LogItemBinary ( stream , buffer , offset , length ) , 10 , TimeUnit . SECONDS ) ; _queue . wake ( ) ; } catch ( Throwable e ) { e . printStackTrace ( EnvironmentStream . getOriginalSystemErr ( ) ) ; } }
writes to the stream
