New version of LogWriter based on ArrayBlockingQueue