Commit Graph

158 Commits

Author SHA1 Message Date
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
gabime
05d6960ebc code formatting and clang tidy warnings fixes 2018-08-13 10:30:02 +03:00
gabime
2894e8de5e clang format 2018-07-25 00:06:10 +03:00
gabime
0b7c505b50 Fixed forgotten inline keyword 2018-07-24 23:07:32 +03:00
gabime
cb9c984aa7 registery and periodic flusher fixes. 2018-07-24 22:59:34 +03:00
gabime
33329c80a9 code formatting 2018-07-23 00:13:52 +03:00
gabime
693103af9c support set_formatter in spdlog.h 2018-07-22 21:52:46 +03:00
gabime
9e4925eff0 clang format 2018-07-21 23:48:07 +03:00
gabime
a96b4d7529 Added periodic flusher support, and fixed some registry issues 2018-07-21 23:30:26 +03:00
gabime
6225a9fa4f Minor cleaning of spdlog.h 2018-07-19 15:09:10 +03:00
gabime
9df2bd256e Changed some functions to accept strings instead of ref to strings for better semantics 2018-07-19 14:54:26 +03:00
gabime
c9331594bb Renamed file to pattern_forammter.h and fixed utc support 2018-07-07 16:15:17 +03:00
gabime
cd4dcbab36 Renamed simple_file_sink -> basic_file_sink 2018-07-07 12:12:45 +03:00
gabime
0c19bdd772 pattern per sink and pattern caching 2018-06-24 01:32:39 +03:00
gabime
caa26a2a47 Normalized spdlog include paths 2018-04-29 01:31:09 +03:00
gabime
3e28d9ab5a Renamed default factory 2018-04-29 00:44:35 +03:00
gabime
b3a23039b1 Renamed default factory 2018-04-29 00:42:24 +03:00
gabime
c962c88342 Fixed linux port of v1.x 2018-04-20 13:20:19 +03:00
gabime
c80cc3306f Fixed tests 2018-04-20 03:04:53 +03:00
gabime
e4d3eb64e6 Udpated example and spdlog.h 2018-04-20 02:57:05 +03:00
gabime
0969118ce7 added default_factory alias 2018-04-20 01:55:31 +03:00
gabime
ba7c4c0530 stdout and color logger factories 2018-04-20 01:50:09 +03:00
gabime
924ef84241 Refactred spdlog.h and console sinks. Added global lock for all console sinks (traits) 2018-04-18 02:04:10 +03:00
gabime
6f4cd8d397 thread_pool and refactoring async 2018-04-14 03:34:57 +03:00
gabime
4445f6f869 formatting 2018-03-16 17:35:56 +02:00
gabime
5afb5dc782 Changed clang formatting for templates 2018-03-16 17:13:50 +02:00
gabime
a2653d409f clang-format 2018-03-09 15:26:33 +02:00
Daniel Chabrowski
5355bd3a8f readability-named-parameter 2018-02-25 12:39:37 +01:00
Daniel Chabrowski
0c94ce0039 deleted copy op and a little format 2018-02-25 03:35:20 +01:00