KjellKod / g3log

G3log is an asynchronous, "crash safe", logger that is easy to use with default logging sinks or you can add your own. G3log is made with plain C++14 (C++11 support up to release 1.3.2) with no external libraries (except gtest used for unit tests). G3log is made to be cross-platform, currently running on OSX, Windows and several Linux distros. See Readme below for details of usage.
http://github.com/KjellKod/g3log
The Unlicense
908 stars 271 forks source link

adding formatting #508

Closed KjellKod closed 11 months ago

KjellKod commented 11 months ago

Added a clang-format file so we have ONE uniform formatting going forward.

Make sure you install clang-format example: npm install -g clang-format as well as a good VS Code Formatter - like Clang-Format by Xaver Hellauer

example of formatting a whole repository that I found useful: find . -iname "*.hpp" -o -iname "*.cpp" | xargs clang-format -i or a single file clang-format -i test_unit/test_io.cpp.