Created new LogQueue class to handle a thread safe way to watch a message queue and write to targets.