Commit Graph

15 Commits (78e19d66d35bfbbbe350b49a09ec9e2645c478f2)

Author SHA1 Message Date
gabime 78e19d66d3 Add register_or_replace(logger) to atomically replace logger in registry 4 months ago
gabime e5865186d4 Revert "Added a function to add callbacks that are called when a logger is registered (#2883)"
This reverts commit b6eeb7364c, since it causes deadlocks too easily for the users.
2 years ago
Jonathan Vannier b6eeb7364c
Added a function to add callbacks that are called when a logger is registered (#2883)
* Added a function to add callbacks that are called when a logger is registered

* Fix non captured registration 2 not being properly tested for

* Replace std::list by std::vector

* Remove const refs to shared pointers

* Fix missing header
2 years ago
gabime 9d52261185 clang format 2 years ago
Charles Milette 19dc30567e
Fix build errors 5 years ago
gabime a8169a3d6b clang-format 5 years ago
gabime b2017f5653 Fixed multiple clang-tidy warnings 5 years ago
Florian Pigorsch 4aad51a352 Fix some spelling errors.
casese -> cases (1)
chache -> cache (1)
cirucal -> circular (1)
dependecy -> dependency (1)
detrmine -> determine (2)
eavluate -> evaluate (1)
exertnal -> external (1)
ony -> only (1)
registation -> registration (3)
registring -> registering (2)
regsistration -> registration (3)
seperate -> separate (2)
wit -> with (1)
withe -> with (1)
6 years ago
gabime 0335e3fcc0 Print error and abort instead of throw if SPDLOG_NO_EXEPTIONS is defined 6 years ago
gabime e39959a132 Updated tests to catch v2.8.0 6 years ago
gabime 112a7ada74 Fixd copy ellision warning in tests 7 years ago
gabime fcb661d0e9 Fixed tests 7 years ago
gabime a6fbb3ef4c Minor fix to test 7 years ago
Pablo Arias fbc58ebef8 * using API call instead of macro for toggling automatic registration
* added unit test for disabling automatic registration
7 years ago
gabime f2f9f324ec Updated default API impl and tests 7 years ago