class LoggingBuffer {

  public void removeChannelFromBuffer( String id ) {
    lock.writeLock().lock();
    try {
      buffer.removeIf( line -> id.equals( getLogChId( line ) ) );
    } finally {
      lock.writeLock().unlock();
    }
  }

  public  LoggingBuffer( int bufferSize );

}