Commit Graph

109 Commits (99ca7f1cbe98e0a8f153951a3c24e03f034c7198)

Author SHA1 Message Date
gabime e7debaacd7 astyle
9 years ago
gabime 39cdd08a54 no exceptions while logging
9 years ago
gabime 7885aa478c no streams
9 years ago
gabime 58699a2bd4 astyle
10 years ago
gabime ea611f2d79 reduced spinning duation in async_log_helper
10 years ago
Philippe Serreault ee815042dd In async mode, worker thread can now execute an optional teardown callback upon exit.
10 years ago
Gabi Melman 0143d9a92d Update async_log_helper.h
10 years ago
gabime 0d26359856 astyle
10 years ago
gabime 495ecaeaee astyle
10 years ago
gabime 79451368cf Fixed issue #179 (Conflict with Boost.Asio) (by defining FMT_USE_WINDOWS_H=0 in format.h and preventing include of windows.h)
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 e91e1b80f9 revert pull
10 years ago
derekxgl e248895254 use default move constructor/assignment for async_log_helper
10 years ago
Gabi Melman 8c55ee1a55 Update async_log_helper.h
10 years ago
gnzlbg 9b2425c353 spurious character broke compilation
10 years ago
gabime 0b8cc75534 Merge branch 'master' of https://github.com/gabime/spdlog
10 years ago
gabime 8c38b4ee9e MIT license
10 years ago
gabime 30c23ef206 astyle
10 years ago
gabime 0f76db880e astyle
10 years ago
gabime ad8220c9c8 fix compile in gcc
10 years ago
gabime 06ffde6333 Fixed flush of logs in async mode
10 years ago
gabime 1b2c8b9d3e Refactored periodic flush in async_log_helper
11 years ago
Denis Ivaykin a3dcb2b79e details::os::now()
11 years ago
Denis Ivaykin 432e1109dd flush interval part 2
11 years ago
Denis Ivaykin f363fff109 async auto flush
11 years ago
gabime 8da33db62f Removed redundant "using log_thread_id=size_t"
11 years ago
gabime 4dd31bf031 fixed pedantic gcc errors
11 years ago
gabime 0684b4f378 use size_t to better represent thread id across platforms
11 years ago
gabime 5067d1c12c fixed thread_id bug in async_msg struct
11 years ago
gabime a09107927b Fix Visual Studio poor std::this_thread::get_id() performance by using GetCurrentThreadId() (and pthread_self() under linux)
11 years ago
gabime acb06ea977 Fixed thread id bug in async mode by passing thread id in log_msg struct
11 years ago
gabime 1150247efa astyle
11 years ago
gabime 9e54057aaa Bring back move implementation of async_msg move ctor and assignment since VS doesn't support it
11 years ago
gabime fde3d2db99 astyle+comments
11 years ago
gabime 9f993da472 default move impl in async_msg
11 years ago
gabime f3a4174853 astyle.sh
11 years ago
gabime 89afa909e1 shortened enum policy name and moved into common.h
11 years ago
gabime cd2a484e96 reordered members definition in async_log_helper to prevent gcc warning
11 years ago
Denis Ivaykin 295e189b7e astyle
11 years ago
Denis Ivaykin 365d895482 discard policies on queue overflow
11 years ago
Denis Ivaykin 384cdeb225 nullptr default, astyle
11 years ago
Denis Ivaykin d47fbbb79e worker warmup callback
11 years ago
gabime 40a55b8e34 astyle
11 years ago
gabime fa677017a6 astyle
11 years ago
gabime d163b8c45a astyle
11 years ago
gabime 616cce5b71 simplified worker thread in async logger
11 years ago
gabime fd7650a84e more graceful shutdown of worker thread in async
11 years ago
gabime 64ecfda6e3 async exception - removed uneeded reset
11 years ago
gabi d37bded994 More improvements to the async logger
11 years ago
gabime 6255180e99 small fixes in async_helper
11 years ago
gabime 52d02af950 using mpmc bounded q for async and many async optimizations
11 years ago
gabime 754cac85ac defer localtime to formatter to improve async performace
11 years ago
gabime 2c854cc8b7 fixed gcc shadow warnings
11 years ago
gabi 9e882c4dd2 fix
11 years ago
gabi 33b976a4c9 fix
11 years ago
gabi 3916674bc5 async_helper sleep_or_yield or full/empty queue
11 years ago
gabi b943265b94 Better handling of empty queue
11 years ago
gabi 243dc61e58 async using lockfree queue and bug fixes regarding usage of cppformat
11 years ago