Commit Graph

2074 Commits

Author SHA1 Message Date
Pablo Arias
a446f187c1 Fixed deadlock by recursive mutex 2018-11-10 17:38:23 +01:00
gabime
3ff541cf77 Optimized scoped_pad 2018-11-10 18:03:11 +02:00
Pablo Arias
10895796b2 Added mutexes to protect logger initialization and toggling automatic registration 2018-11-10 16:55:35 +01:00
Pablo Arias
fbc58ebef8 * using API call instead of macro for toggling automatic registration
* added unit test for disabling automatic registration
2018-11-10 14:34:04 +01:00
gabime
5c54414be7 Padding support in pattern formatter 2018-11-09 15:18:45 +02:00
gabime
4df28728e2 clang-format 2018-11-09 14:56:48 +02:00
Gabi Melman
f14a4c0b18
Merge pull request #893 from ZaMaZaN4iK/ZaMaZaN4iK-patch-1
Fix typo in Android example
2018-11-07 11:05:22 +02:00
Alexander Zaitsev
f5a27250b1
Fix typo in Android example 2018-11-05 03:04:22 +03:00
Pablo Arias
f95b189fe3 Added a global option in tweakme.h that disabled global registration of
loggers. fixes #712
2018-11-04 20:12:42 +01:00
Gabi Melman
1aace95c8d
Update periodic_worker.h 2018-11-02 17:53:27 +02:00
Gabi Melman
7844471971
Merge pull request #890 from rwen2012/v1.x
change the log_msg&& to log_msg&
2018-10-31 07:33:31 +02:00
rwen2012
794a636dd3 change the log_msg&& to log_msg& 2018-10-31 11:01:28 +08:00
gabime
e35414a0f1 Removed redundant casts to string_view 2018-10-30 01:23:17 +02:00
gabime
0d0706a204 Small fix to pattern formatter 2018-10-30 01:14:42 +02:00
gabime
80f19324bc Small update to async bench 2018-10-30 01:08:32 +02:00
gabime
1b04c222cf Fixed issue #888 2018-10-30 00:54:22 +02:00
gabime
5d04848886 Updated latency Makefile 2018-10-30 00:11:29 +02:00
gabime
fc14e831eb Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x 2018-10-30 00:08:58 +02:00
gabime
04d577262a Updated latency tests 2018-10-30 00:08:49 +02:00
Gabi Melman
7be3d2afe9
Update appveyor.yml 2018-10-29 23:58:19 +02:00
Gabi Melman
d1237d8984
Merge pull request #887 from peergynt/peergynt-cleanup
Cleanup header file: remove log_msg.h include from fmt_helper.h
2018-10-29 19:18:04 +02:00
Jerome Meyer
1b391ccd06 Cleanup header file: remove log_msg.h include from fmt_helper.h 2018-10-29 09:55:41 -04:00
gabime
7377bfcf07 Updated latency makefile 2018-10-26 18:59:00 +03:00
gabime
665b708e6e Update cmake 2018-10-26 18:57:53 +03:00
gabime
f87049370f latency test update 2018-10-26 18:57:34 +03:00
gabime
47948a34dd latency using google-benchmark 2018-10-26 16:34:14 +03:00
gabime
121a7dcedf Use google benchmark to test latency 2018-10-24 22:31:50 +03:00
gabime
240a58fd6e Fixed issue #881 2018-10-24 08:47:02 +03:00
gabime
99e23b41eb use static_cast<string_view> instead of ctor in logger impl 2018-10-22 00:47:51 +03:00
gabime
cadb3d7da2 Fixed test 2018-10-22 00:14:07 +03:00
gabime
392d126372 Renamed string_view_type -> string_view_t 2018-10-21 23:50:07 +03:00
gabime
871cca2401 Fixed pattern formatter 2018-10-21 23:48:11 +03:00
gabime
1bdd556d3b code formatting 2018-10-21 23:23:40 +03:00
gabime
9daad800a8 Fix mingw compilation 2018-10-21 19:26:11 +03:00
gabime
8d2c956563 Optimize log(const T&) if can be statically converted to string_view 2018-10-21 19:04:55 +03:00
gabime
0584d6d89b Removed logn declaration 2018-10-21 18:38:37 +03:00
gabime
5763733490 Fix sdk version in msvc example 2018-10-21 12:49:04 +03:00
gabime
894438d5fb Better support for string_view 2018-10-21 12:46:58 +03:00
Gabi Melman
2ad191aeba
Update log_msg.h 2018-10-20 18:27:58 +03:00
gabime
dd9d7e62d5 bench C-string title 2018-10-19 17:16:51 +03:00
gabime
4e3e80109a Code formatting 2018-10-19 17:12:35 +03:00
gabime
70bef682b0 Fixed clang-tidy warning about implicit conversion to string_view 2018-10-19 17:12:02 +03:00
gabime
c2a9bf9974 Small refactoring and support wchar again 2018-10-19 16:48:22 +03:00
gabime
23da9f13b0 Fixed valgrind warning in example 2018-10-19 16:31:43 +03:00
gabime
a5a39c52b0 Added nullptr check to append_string_view 2018-10-19 02:45:35 +03:00
gabime
6355e9895d Major change to log_msg - contain only string_view instead of buffer 2018-10-19 02:15:50 +03:00
gabime
abf4af2645 Merge branch 'sized_buf' of https://github.com/peergynt/spdlog into peergynt-sized_buf 2018-10-18 23:29:42 +03:00
Jerome Meyer
cb71fea0f6 Use fmt::string_view when logging a C string to avoid unnecessary copy 2018-10-18 11:04:20 -04:00
gabime
3e2d593dde always initialize level and thread_id in log_msg 2018-10-18 11:18:02 +03:00
gabime
4b66e94ecf Code formatting 2018-10-16 19:32:12 +03:00