This log module can be used by C/C++/Objective-C projects. Easily change stdout/stderr  between files with thread-safe.