Commit Graph

32 Commits (c6ad598af9fc5a2d9742ac157ad9e6e6804a3337)

Author SHA1 Message Date
Tennn f8d509d010 Fixed issues 449
Please check it
8 years ago
Jean-Michaël Celerier 53138c20fb Add an optional final qualifier to types
When building with GCC's -Wfinal-types, a lot of types of spdlog
are marked as being more optimizable if they were marked final.

This patch adds a possibility for the user of the library to `#define SPDLOG_FINAL final`
and enjoy potentially better performance : GCC is then able to replace virtual calls by true
function calls if it can ensure that there are no derived types).

By default SPDLOG_FINAL is defined to nothing to not break existing code that
may be inheriting of some of these types for some reason.
8 years ago
odeits 82404f6f65 fix typo potentialy to potentially 9 years ago
gabime 0c276beaaf astyle 9 years ago
gabime 397d4866b3 Fixed issue #396 and added some tests to catch it 9 years ago
gabime 332b7c0d7f astyle 9 years ago
gabime 4f52cc4dec async flush now waits for queue to be empty before returning 9 years ago
gabime 7885aa478c no streams 9 years ago
Philippe Serreault ee815042dd In async mode, worker thread can now execute an optional teardown callback upon exit.
(Note: this can be helpful when a custom sink invokes a JNI callback, which implies that worker thread was previously attached to JVM, and needs to be cleanly detached upon exit)
9 years ago
gabime 0d26359856 astyle 9 years ago
gabime 495ecaeaee astyle 10 years ago
Kevin M. Godby 077c3095eb Added missing standard header includes. 10 years ago
Kevin M. Godby 196689f720 Fixed header include problems. 10 years ago
gabime 8c38b4ee9e MIT license 10 years ago
gabime 06ffde6333 Fixed flush of logs in async mode 10 years ago
Denis Ivaykin 432e1109dd flush interval part 2 10 years ago
Denis Ivaykin f363fff109 async auto flush 10 years ago
gabime f3a4174853 astyle.sh 11 years ago
gabime 489304a953 style 11 years ago
gabime 89afa909e1 shortened enum policy name and moved into common.h 11 years ago
Denis Ivaykin 365d895482 discard policies on queue overflow 11 years ago
Denis Ivaykin d47fbbb79e worker warmup callback 11 years ago
gabime 28da625a6f removed the confusing stop() function 11 years ago
gabime 40a55b8e34 astyle 11 years ago
gabime d163b8c45a astyle 11 years ago
gabi 4dc75adf9b async_logger comments 11 years ago
gabi 0dd4e552ed async_logger comments 11 years ago
gabi d37bded994 More improvements to the async logger 11 years ago
gabi 243dc61e58 async using lockfree queue and bug fixes regarding usage of cppformat 11 years ago
gabime 7f0434528b astyle 11 years ago
gabime 6cda714e4a fixed gcc pedantic warnings 11 years ago
gabi 4cb6aa90b2 New async_logger class and API 11 years ago