Commit Graph

1765 Commits (566a92a183d9e87821cf71a84372deb25e566295)
 

Author SHA1 Message Date
Gabor Janak 566a92a183 make changes to examples,bench and test to use spdlog::chrono and spdlog::mutex. 7 years ago
Gabor Janak 440e0302f5 Fix forgotten std::parts. move recusive from details to spdlog namespace. 7 years ago
gajanak e32c0596ad Replace direct usage of std::mutex,std::lock,std::thread,std::chrono by 'imported' namespaces. By importing this in common.h, it is now possible to use boost::thread and boost::chrono as replacement of std::thread/mutex/chrono.
Current MinGW compiler comes with mutex headers, but without and implementation. and boost::thread only works with boost::chrono.

Now there is a central place to decided which implementation is used, kind of abstraction for lazy.

Additional this commit removes all double includes, whoich is already included in common.h and os.h -> which is currenlty included in all paths. This pretend including useless mutex/chrono headers and speedup compile time a little bit.

This is a relly fast change - and can be improved.
The changes are only made to the header only libs.  Change to the testsuite and examples are seperated.
7 years ago
gabime 56b3a17e56 Udpated README 7 years ago
gabime d6cc5847fa Udpated README 7 years ago
gabime 1d672d39cf Udpated README 7 years ago
gabime aefde13858 formatting 7 years ago
gabime 607779cccf micro optimization in log_msg constructor 7 years ago
gabime da2af6ea2e Fixed some clang-tidy warning 7 years ago
gabime ba337d1393 Fixed warning in tests 7 years ago
gabime 6ae240c0b6 code formatting and clang tidy warnings fixes 7 years ago
gabime 05d6960ebc code formatting and clang tidy warnings fixes 7 years ago
gabime 4866f2ac05 Put override kw again 7 years ago
gabime 4456f96ae3 Fixed clang warnings 7 years ago
gabime 8008d7fe53 Replace emplace_back with push_back in pattern_formatter 7 years ago
gabime 0a585092dc Added ASAN test in release build to travis 7 years ago
gabime 387ccae7d8 Removed gcc7 debug from travis 7 years ago
gabime d951ea32a6 travis improvments 7 years ago
gabime da30e2ef18 Improved CMakeLists and added bench 7 years ago
Gabi Melman cb299375f6
Merge pull request #789 from DanielChabrowski/ci-v1
Modify travis-ci, fix compilation issues
7 years ago
Daniel Chabrowski 4534d5239f Remove tsan and gcc 4.9 jobs 7 years ago
Daniel Chabrowski af5a516443 Add valgrind to a clang6 addon
Unfortunately valgrind is required for all addons
7 years ago
Daniel Chabrowski 368b3699d0 Run ASAN/TSAN jobs with clang
Bring back removed tests/Makefile
7 years ago
Daniel Chabrowski 49d663f6c8 Move tsan/asan flag management to cmake
Add sudo: required to fix asan builds
7 years ago
Daniel Chabrowski 7e32ccbd8f Modify travis-ci, fix issues
Added:
* Release/Debug job for gcc 7 and clang 3.5
* Debug asan gcc 7 job
* Debug tsan gcc 7 job
* Disabled extensions
* Added a spdlog::spdlog alias for tests

Removed:
* Valgrind workaround, the current version is 3.10.1
* install_libcxx
* Makefiles

Fixed:
* examples build
* multisink build

Workarounds:
* gcc7 with tsan and asan needs gold linker, otherwise build
  fails becase of unrecognized option '--push-state'
7 years ago
Gabi Melman f8f2d7b950
Merge pull request #786 from rajesh-p/v1.x
Namespace fix  for the issue 785
7 years ago
rajesh-p 769f11109d
Namespace fix for the issue 785
Added namespace fix
7 years ago
Gabi Melman 85a2bf1c17
Merge pull request #784 from baishuai/v1.x
add new line at end of file, fix compiler warnings #778
7 years ago
baishuai a2fa7a833c add new line at end of file, fix compiler warnings 7 years ago
Gabi Melman 8179b26388
Update file_log.cpp 7 years ago
Gabi Melman 12bbef308b
Update README.md 7 years ago
gabime caff7296b1 small fix to example.sln 7 years ago
gabime 779328a940 Fixed async_bench 7 years ago
gabime 01e05a4495 clang format 7 years ago
gabime af6b3fe599 delay the release mutex in the async queue only for mingw 7 years ago
gabime 74e8bebb75 Added async_bench 7 years ago
gabime 8bfec30d48 Fix deadlock issue with mingw in async logger 7 years ago
Gabi Melman 2880eceeae
Merge pull request #773 from slapenko/v1.x
We can control should daily_file_sink truncate an underlying file or not
7 years ago
slapenko 34ada56f5d Refactoring. Rid of open_file for clarity 7 years ago
slapenko 64521005ab We can control should daily_file_sink truncate an underlying file or not 7 years ago
Gabi Melman 16b18f7962
Update README.md 7 years ago
Gabi Melman 986af6ea9e
Update README.md 7 years ago
Gabi Melman 691011c473
Update README.md 7 years ago
gabime fd54719351 clang-format 7 years ago
gabime 420b17ae65 Fix issue #769 7 years ago
gabime ef5e7af68a Fixed bench Makefile 7 years ago
gabime 05b68b8581 Fixed example and inline 7 years ago
gabime de6ddf4e2a Some code refactoring in formatter 7 years ago
gabime a12a21a18e Improved millis formatting 7 years ago
gabime d8053dd6a6 -Ofast in bench Makefile 7 years ago