Commit Graph

186 Commits

Author SHA1 Message Date
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
gabime cff78f5833 Move logging macros outside the spdlog namespace 2018-11-25 11:20:27 +02:00
gabime 01583ef540 Clean macros 2018-11-24 17:15:58 +02:00
gabime dc13700094 Fixed source location and make SPDLOG_TRACE: that only one that inject source location info. 2018-11-24 17:08:13 +02:00
gabime a31719b546 clang-format 2018-11-22 18:49:14 +02:00
gabime f2305fe5bf Support for source file/line logging 2018-11-22 18:47:50 +02:00
gabime 50648553cf clang-format 2018-11-21 16:02:02 +02:00
gabime 0a8cce6984 comments 2018-11-21 14:21:26 +02:00
gabime c5069135d7 Improved compile time level support 2018-11-12 12:01:10 +02:00
gabime 0e77c3391b New compile time API using SPDLOG_ACTIVE_LEVEL 2018-11-11 18:15:24 +02: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
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
gabime f2f9f324ec Updated default API impl and tests 2018-10-13 19:23:11 +03:00
gabime b368d18b0f Added default logger API 2018-10-12 03:04:55 +03:00
gabime 53ac379bc5 Removed extra whitespace from SDPLOG_TRACE message 2018-10-11 19:14:02 +03:00