Commit Graph

197 Commits

Author SHA1 Message Date
gabime 2fed68a73b Reverted some external template declarations 2019-09-20 01:52:05 +03:00
gabime 5496491aa4 Added extern template declarations 2019-09-20 00:18:36 +03:00
Gabi Melman 35835469d7
Update common.h 2019-09-17 12:52:59 +03:00
Gabi Melman 0d6992fcdd
Update common.h 2019-09-17 12:48:54 +03:00
gabime 1857a44c7c Fix #1215 2019-09-07 20:11:58 +03:00
gabime f5492aed12 Unified usage of fmt::memory_buffer across the codebase 2019-08-28 18:46:09 +03:00
gabime 0335e3fcc0 Print error and abort instead of throw if SPDLOG_NO_EXEPTIONS is defined 2019-08-19 11:31:33 +03:00
gabime b0a25f0183 wip - no-exceptions support 2019-08-18 19:46:28 +03:00
Charles Milette eb51f37c67
Fix ambiguous overload errors 2019-07-24 13:52:03 -04:00
gabime 39910f5137 Fixed execption include 2019-07-16 15:50:42 +03:00
gabime fd53472238 Cleaned common.h 2019-07-07 17:22:58 +03:00
Matthias Moulin be33f5eb89
Added wstring_view_t 2019-07-06 18:59:45 +02:00
Charles Milette 3bcd3cef2f
Fix deprecation warnings in filename_to_str 2019-06-30 19:12:16 -04:00
gabime 78c833a09f clang-format 2019-06-18 17:05:27 +03:00
gabime 99e519cf0f Simplify color sinks 2019-06-18 12:32: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 7a3a560c44 Merge v1.x 2019-05-24 12:33:14 +03:00
David Zemon 8dd85285e7 Allow user to choose between static or shared library 2019-05-17 23:26:06 -05:00
gabime 8b244ca988 Moved format.cpp into spdlog.cpp - this way only one src file is needed 2019-05-12 00:43:58 +03:00
gabime bb3dc87953 Fixed include order and example 2019-05-12 00:32:57 +03:00
gabime 6bcb422c80 clang format and SPLDOG_HEADER_ONLY macro 2019-05-12 00:22:39 +03:00
gabime 540f865355 Normalized copyright message 2019-05-11 20:15:03 +03:00
gabime 46ef71e3ec Normalized copyright message 2019-05-11 20:06:17 +03:00
Philip Salzmann 5e856c6b4d Add mode enum to control output of color sinks
This adds a new "color_mode" enum that can be used to control the color
code output behavior of sinks with color support. It can be one of three
values: always, automatic and never.
2019-05-10 09:47:16 +02:00
gabime 1ac6c9f9c2 clang-format static-lib 2019-05-08 17:17:11 +03:00
gabime 69fcaf14e5 wip static-lib 2019-04-27 18:44:48 +03:00
gabime 2de924a187 clang-format 2019-04-27 02:34:50 +03:00
gabime c1c2ff2d07 wip 2019-04-27 02:33:33 +03:00
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