Commit Graph

167 Commits

Author SHA1 Message Date
gabime
215b6aea95 file_helper.cpp and filename_t fix 2019-04-06 13:45:33 +03:00
gabime
96b7214ae2 fix common.h 2019-04-06 13:13:47 +03:00
gabime
97f9cc4bc0 some cleanup 2019-04-06 01:44:03 +03:00
gabime
7ab6fd9db6 source_loc change line to int 2019-04-06 01:40:53 +03:00
gabime
d12a858897 some cleanup 2019-04-06 01:37:27 +03:00
gabime
17f9cdd401 static lib wip 2019-04-05 23:05:46 +03:00
gabime
e2e3df9013 static lib wip 2019-04-05 16:44:17 +03:00
gabime
6b0bf33f8e clang-format 2019-03-29 14:46:31 +03:00
Mattias Fornander
0ccbdcdd1f Add tweak support for user short level names 2019-02-18 14:33:41 -07:00
charles-david
20a0f82701 Renamed input parameters to "params_in". 2019-02-01 07:59:50 -05:00
charles-david
0f128fd561 Warning for shadowed parameter corrected in common.h
However, not in bundled fmt. Corrects compiling with basic logger with header only and -Werror.
2019-01-31 22:47:02 -05:00
gabime
57c3023881 Moved SPDLOG_FUNCTION define to common.h 2019-01-10 19:18:31 +02:00
gabime
6b4fea39ab clang-format 2019-01-10 16:31:06 +02:00
possiblyhuman
2124b7bf64 Allow filename/line number at all levels. Add function name %! support. 2019-01-08 22:52:40 +00:00
gabime
0203a0fdaf Fixed issue #948 2019-01-08 17:35:34 +02: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
f0c962d274 source_loc ctor: brace init members 2018-11-29 12:55:14 +02:00
David P. Sicilia
a6152ebadd Make an implicit cast from int --> uint32_t explicit.
Perhaps this casting should not happen to begin with, but better
to make it explicit where it is happening for readability.  This
fixes a compiler warning.
2018-11-27 20:24:21 -05:00
gabime
92921f767e clang-format 2018-11-25 00:44:51 +02:00
gabime
0ce670e45a Store level names as string_views 2018-11-25 00:36:14 +02:00
gabime
a16ff07a06 Show source location if present in default formatter 2018-11-24 18:00:56 +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
9484c4dc05 clang-format 2018-11-22 19:18:43 +02:00
gabime
521b0733d4 Support for source location in async loggers 2018-11-22 19:17:41 +02:00
gabime
a463989278 keep clang-tidy happy 2018-11-22 18:50:56 +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
b522413085 Replaced SPDLOG_DISABLE_TID_CACHING with SPDLOG_NO_TLS 2018-11-16 10:07:31 +02:00
gabime
0e77c3391b New compile time API using SPDLOG_ACTIVE_LEVEL 2018-11-11 18:15:24 +02:00
gabime
6fedffe6d6 Moved the SPDLOG_CATCH_AND_HANDLE to logger_impl.h 2018-11-11 01:33:08 +02:00
gabime
392d126372 Renamed string_view_type -> string_view_t 2018-10-21 23:50:07 +03:00
gabime
894438d5fb Better support for string_view 2018-10-21 12:46:58 +03:00
gabime
f4c5c5a367 Replaced noexcept with SPDLOG_NOEXCEPT 2018-10-10 01:01:37 +03:00
gabime
2a7b995723 Added noexcept some function in common.h 2018-10-10 00:57:16 +03:00
gabime
7af3f014af Fixed clang-tidy warning 2018-09-27 00:59:28 +03:00
gabime
a8c4aef6bd fix typo 2018-09-26 23:50:47 +03:00
gabime
669a66f18a format 2018-09-26 23:48:59 +03:00
gabime
e8dae26176 Moved spdlog::make_unique to spdlog::details::make_unique and prevent T to be array 2018-09-26 23:48:36 +03:00
gabime
65defd3806 Replaced SPDLOG_FINAL macro with final 2018-09-26 14:33:37 +03:00
gabime
ebce97947d use make_unique 2018-09-01 21:30:05 +03:00
gabime
b962fbb15c Fixed issue #797 2018-08-15 19:01:44 +03:00
gabime
05d6960ebc code formatting and clang tidy warnings fixes 2018-08-13 10:30:02 +03:00
gabime
74c10df169 Changed SPDLOG_VERSION to be numeric 2018-07-25 00:03:27 +03:00
gabime
9e4925eff0 clang format 2018-07-21 23:48:07 +03:00
gabime
9cbdd5ffd4 Added async_nonblocking factory 2018-07-20 23:20:48 +03:00
gabime
3aaefc48ec Minor cleaning of common.h 2018-07-19 15:07:54 +03:00
gabime
0a3c81826f Changed some functions to accept strings instead of ref to strings for better semantics 2018-07-19 15:03:08 +03:00
gabime
81f29a9a7a Fixed wchar support in messages 2018-07-10 17:01:49 +03:00
Gabi Melman
99cc35384b
Update common.h 2018-07-08 19:24:26 +03:00