Commit Graph

200 Commits

Author SHA1 Message Date
Joe Burzinski
3041faffab Address code review comments: revert perfect forwarding on places that didn't need it, remove negative compilation unit test. 2020-06-02 20:30:25 -05:00
Joe Burzinski
30ee690401 Add support for FMT_STRING compile time checking. Add negative compilation unit test for compilers and c++ standard that support relaxed constexpr. 2020-05-31 13:15:40 -05:00
Martin Vejdarski
0ca2cb625e Add shared library support for Windows 2020-03-10 03:14:36 +07:00
Gabi Melman
4cdb159ccb
Update spdlog.h 2020-02-26 12:54:31 +02:00
Gabi Melman
fccb25586f
Update spdlog.h 2020-02-26 12:52:46 +02:00
Gabi Melman
ab2f3307eb
Update spdlog.h 2020-02-26 12:51:16 +02:00
Gabi Melman
db26a103d6
Update spdlog.h 2020-02-26 12:50:51 +02:00
Zhi Sun
e8f7f80f2b Remove redundant semicolon 2019-11-11 18:41:58 +08:00
Cristian Morales Vega
7cdd65075c "#include" <spdlog/.*> instead of "spdlog/.*"
The meaning of using quotes to #include is implementation defined, so it
may or not may be what we want. At least POSIX
(https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html)
says: "headers whose names are enclosed in double-quotes ( "" ) shall be
searched for first in the directory of the file with the #include line",
so not what we want since "spdlog" ends up twice in the path.
2019-11-06 19:15:29 +00:00
gabime
cae6c9ab36 Removed lazy argument evaluation from macros 2019-11-03 15:19:59 +02:00
Paul Kunysch
eb4a169cfb Improve log macros 2019-11-02 09:40:37 +01:00
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)
2019-10-19 09:42:38 +02:00
gabime
9a0a0c2d8c clang-format 2019-10-18 16:14:08 +03:00
gabime
9369fe8c27 Fix #1262 2019-10-09 21:41:02 +03:00
gabime
bd9e1475e2 clang-format 2019-09-07 20:11:35 +03:00
gabime
65d02e495e Reverted the version() function 2019-09-05 19:50:00 +03:00
gabime
7f0398ca25 Added version() function 2019-09-05 18:51:28 +03:00
Zhiyuan "Jerry" Ma
aa731e3297
Remove extra semicolon
... in macro SPDLOG_LOGGER_CALL
2019-08-31 11:21:36 -04:00
gabime
408a162044 Removed logger::clone() from API 2019-08-27 01:16:57 +03:00
gabime
e1be7f3d6f Refactoring to better support backtrace 2019-08-27 00:56:49 +03:00
gabime
a7f7984c4a backtrace support api 2019-08-25 17:24:17 +03:00
gabime
dd33c16aae Replace backtrace trigger with dump_backtrace() 2019-08-23 14:47:40 +03:00
gabime
a6d8b52686 Added enable_backtrace to spdlog_api 2019-08-23 02:28:52 +03:00
Charles Milette
59cbdaaf49
Add more source_loc overloads in spdlog namespace 2019-07-24 13:26:42 -04:00
Matthias Moulin
ae92279f5c
Update spdlog.h 2019-07-06 19:00:17 +02:00
gabime
220608e52a clang-format 2019-06-19 18:31:21 +03:00
gabime
74e2aa9c66 Micoro optimize macros 2019-06-19 17:13:48 +03:00
gabime
db5af8ead1 clang-format 2019-06-14 00:23:51 +03:00
gabime
c09dee7717 Moved source filename shortening to pattern formatter instead of macro 2019-06-14 00:23:25 +03:00
gabime
bcfa9241b8 Updated copyright headers 2019-06-04 00:09:16 +03:00
gabime
eea9d6136f Moved default sync factory to seperate file to avoid cyclic includes 2019-06-03 23:56:18 +03:00
gabime
d5c9bac3c7 wip static-lib 2019-05-12 23:08:14 +03:00
gabime
46ef71e3ec Normalized copyright message 2019-05-11 20:06:17 +03:00
gabime
2de924a187 clang-format 2019-04-27 02:34:50 +03:00
gabime
96b7214ae2 fix common.h 2019-04-06 13:13:47 +03:00
gabime
c69c49047b wip static lib 2019-04-06 00:15:14 +03:00
gabime
17f9cdd401 static lib wip 2019-04-05 23:05:46 +03:00
Daniel Binsmaier
631416d54a Fix missing ';' in log macros 2019-04-04 12:04:53 +02:00
Daniel Binsmaier
d366a06461 Fix unexpected log macro expansion 2019-04-04 09:25:21 +02:00
gabime
90c912a5e2 wip lite 2019-03-29 14:46:32 +03:00
gabime
9219613957 Dont check level in macros (redundant) 2019-03-29 14:46:32 +03:00
tt4g
eb478e38b2 Add spdlog::initialize_logger 2019-03-25 12:58:55 +09:00
gabime
57c3023881 Moved SPDLOG_FUNCTION define to common.h 2019-01-10 19:18:31 +02:00
gabime
4408e079ff Refactored log macros 2019-01-10 17:04:27 +02:00
gabime
2991057aef Add check log level before evaluating the logging macros 2019-01-10 16:45:06 +02:00
gabime
6b4fea39ab clang-format 2019-01-10 16:31:06 +02:00
possiblyhuman
32420b77c8 Reduced amount of macros used.
Removed SPDLOG_SOURCE_MACROS_ON and SPDLOG_FUNCTION_SUFFIX.
2019-01-09 21:15:19 +00:00
possiblyhuman
2124b7bf64 Allow filename/line number at all levels. Add function name %! support. 2019-01-08 22:52:40 +00:00
gabime
3da189f7c0 SPDLOG_TRACE to check log level before calling the logger 2018-12-06 13:27:00 +02:00
gabime
ec3f2b76b0 Strip path from __FILE__ in SPDLOG_TRACE macros 2018-12-04 12:28:21 +02:00