- Process all queued log messages when calling logger.Panic or logger.Fatal with AsyncLogWriter
- Use mutex to guard logger.SetFormatter properly
- Fix log message queue not closed issue
- Always close LogWriter when close the logger