Commit Graph

99 Commits (3452892f76a9794f1200d41d95b7c39b4bacc464)

Author SHA1 Message Date
gabime 39cdd08a54 no exceptions while logging 9 years ago
gabime 0ae66b5b28 support for external fmtlib 9 years ago
gabime f5bde237dd Updated fmt lib to version 0d5ef5c2a66026409b0cfbafa1d2f46cdc5aa4d0 9 years ago
gabime 7885aa478c no streams 9 years ago
gabime 58699a2bd4 astyle 9 years ago
gabime 10d5292bbb better support for custom eol 9 years ago
gabime 6760dcebc8 remove unneeded strlen when writing eol at end of each line (pass size of eol to write) 9 years ago
hvellyr b8425df76a Support custom eol style using a define in tweakme.h
By default use the platform convention (i.e. "\r\n" on windows), but
make it possible to set a custom end-of-line string without implementing
a custom formatter.
9 years ago
gabime 0d26359856 astyle 9 years ago
gabime 495ecaeaee astyle 10 years ago
gabime becef922c2 add missing include 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 0c7beb2e36 fixed issue #173 - timezone as output by %z option has a double negative sign 10 years ago
gabime 8c38b4ee9e MIT license 10 years ago
gabime 0f76db880e astyle 10 years ago
Ruslan Baratov 4551467620 Fix misprint 10 years ago
Radu Popescu b3050aa8a9 fixed issue 115 Nanosecond resolution timestamps 10 years ago
gabime e8a27a1cee fixed gcc pedantic warning 11 years ago
gabime b715378ff5 Added tweakme.h - enable users to enable/disable features at compile time 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 c1dd340a25 Updated cppformat to version 86a7d856fa03fb5ba96f1a27907a4b7171f42e56 and remove spdlog::details namespace from it's source 11 years ago
gabime fde3d2db99 astyle+comments 11 years ago
Denis Ivaykin 2f34de820b coarse clock, short log level 11 years ago
Zor X.L ed4368a63c add a %f formatter for microseconds 11 years ago
gabime 40a55b8e34 astyle 11 years ago
gabime d163b8c45a astyle 11 years ago
fooinha 8c9a6fc02c * openlog setup for syslog sink 11 years ago
gabi d817994bd2 Moved namespace fmt to be under spdlog::details to minimize namespace pollution for the users 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
gabi 98e4eb98f9 small optimization in default formatting (unsigned ints) 11 years ago
gabi 243dc61e58 async using lockfree queue and bug fixes regarding usage of cppformat 11 years ago
gabime 7a9781a94c throw spdlog_err on format errors 11 years ago
gabime 2278e9230f some fixes for gcc 11 years ago
gabi b0926326bb pattern_formatter_impl.h update 11 years ago
gabi c5afdbddcf Use fmt::pad for faster formatting of the default format pattern 11 years ago
gabime 73b31e4d10 astyle 11 years ago
gabime 77d9eaa59f fixes in pattern formatter 11 years ago
gabi 8974d2ded9 Using cppformat for all formatting needs instead of fast_oss 11 years ago
Andre Haupt 3d291f48fa use std::abs from cstdlib which fixes a warning that occurs when compiling with clang 3.5 on 64-bit linux
in file included from ../include/spdlog/sinks/../formatter.h:57:
../include/spdlog/details/pattern_formatter_impl.h:308:26: warning: absolute value function 'abs' given an argument of type 'rep' (aka 'long') but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
        auto secs_diff = abs((duration_cast<seconds>(diff)).count());
                         ^
../include/spdlog/details/pattern_formatter_impl.h:308:26: note: use function 'std::abs' instead
        auto secs_diff = abs((duration_cast<seconds>(diff)).count());
                         ^~~
                         std::abs
1 warning generated.
11 years ago
gabime 8b51b3b277 astyle 11 years ago
gabi 0c6518961d Fix level 4 warnings under VS 11 years ago
gabime 74aae4f368 readme 11 years ago
gabime e8403e17df astyle 11 years ago
gabi 567e85e6d4 bench 11 years ago
gabi c7b8c762fb spdlog 11 years ago