Commit Graph

2141 Commits

Author SHA1 Message Date
Alexander Zvyagin 4706b0ada4 Add signature. 2019-03-20 15:32:47 +01:00
Alexander Zvyagin cc98e9850d Avoid unnecessary conversion of log_msg::payload to std::string. 2019-03-20 15:29:38 +01:00
Alexander Zvyagin af80db8c22 Add systemd sink. 2019-03-14 16:20:58 +01:00
Gabi Melman 053d5ad24d
Update README.md 2019-03-11 19:19:36 +02:00
Gabi Melman e2805ac68a
Merge pull request #1022 from floouuu/v1.x
Expose should_do_colors_ in ansicolor_sink.h
2019-03-11 19:12:03 +02:00
Florian Wörter 1caf05cc52 Renamed exposed method. [#1004] 2019-03-11 14:15:58 +01:00
Florian Wörter 63cfb7db25 Exposed should_do_colors_ in ansicolor_sink.h. [#1004] 2019-03-11 14:12:26 +01:00
Gabi Melman bdfc7d2a5a
Merge pull request #996 from MFornander/v1.x
Add tweak support for user short level names
2019-02-18 23:59:15 +02:00
Mattias Fornander 0ccbdcdd1f Add tweak support for user short level names 2019-02-18 14:33:41 -07:00
Gabi Melman c598b2fa2d
Merge pull request #994 from romainthomas/fix/README
Fix typo in Android logger
2019-02-13 11:51:28 +02:00
Romain Thomas 4f86448bd4 Fix typo in Android logger 2019-02-13 09:19:29 +01:00
Gabi Melman d235e7d46f
Fix #992 2019-02-08 12:14:17 +02:00
Gabi Melman e25b323d1b
Merge pull request #990 from mnemotic/cmake-conditional-install
Add CMake option for conditional installation
2019-02-07 21:20:44 +02:00
Gabi Melman 42093c48b2
Merge pull request #988 from DanielChabrowski/remove-log-func
Remove unnecessary log function
2019-02-07 21:15:02 +02:00
Martin Green 9fca0b20f0 Add CMake option for conditional installation 2019-02-06 07:38:26 +02:00
DanielChabrowski a6229d9e87 Remove pointless log with enable_if 2019-02-06 05:24:25 +01:00
Gabi Melman c443896644
Merge pull request #986 from DanielChabrowski/sink-allow-custom-formatter
Allow custom formatter in sink's ctor
2019-02-03 19:50:22 +02:00
DanielChabrowski 79f11bd655 Allow custom formatter in sink ctor 2019-02-03 16:49:29 +01:00
Gabi Melman c5552dac1f
Merge pull request #985 from FrancoisChabot/v1.x
Allow the inclusion of an external fmtlib as as sub_directory
2019-02-01 22:33:05 +02:00
Francois Chabot 734af31c13
Allow the inclusion of an external fmtlib as as sub_directory 2019-02-01 12:12:58 -05:00
Gabi Melman 2d96896fae
Merge pull request #984 from ZGCDDoo/shadowed_parameter
Shadowed parameter
2019-02-01 17:34:08 +02:00
charles-david 20a0f82701 Renamed input parameters to "params_in". 2019-02-01 07:59:50 -05:00
charles-david e4b7dbce7f CMakeLists.txt same as v1.x branch. 2019-01-31 23:05:38 -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
Gabi Melman ac8a7bc12d
Merge pull request #981 from ksergey/cmake-fix
CMAKE_BINARY_DIR -> CMAKE_CURRENT_BINARY_DIR
2019-01-28 12:10:49 +02:00
Sergey Kovalevich 90a299f424 CMAKE_BINARY_DIR -> CMAKE_CURRENT_BINARY_DIR 2019-01-28 11:48:45 +03:00
Gabi Melman 00a7f5d75d
Update README.md 2019-01-27 19:10:34 +02:00
Gabi Melman 2463fe92bd
Merge pull request #958 from pwm1234/pwm1234/rotate_on_open
Pwm1234/rotate on open
2019-01-24 18:23:48 +02:00
Philip Miller 4f65fcd7b1 remove minor optimization for the sake of simplicity 2019-01-24 09:19:52 -05:00
Philip Miller e41b92c55a fix inadvertent rename to original test function 2019-01-24 00:13:14 -05:00
Philip Miller 3925f8fa16 streamline constructor logic
and improve test for rotate_on_open=true
2019-01-24 00:06:15 -05:00
Philip Miller cce1e36e26 Merge remote-tracking branch 'origin/v1.x' into pwm1234/rotate_on_open 2019-01-23 21:44:27 -05:00
Gabi Melman 3466c9c8cb
Merge pull request #978 from markniebur/file-sink-filename-method
Add method to filesinks to return filename
2019-01-23 23:07:57 +02:00
Mark Niebur 6e2dadc63a Add method to filesinks to return filename 2019-01-23 11:35:55 -07:00
Gabi Melman 00e89a23f6
Merge pull request #977 from Myz/cmake-baseline-configuration-without-google-benchmark
Disable building benchmarks by default
2019-01-23 12:00:36 +02:00
Pius Raeder a29e518cfe Disable building benchmarks by default
Building the benchmarks requires google-benchmark to be installed which is
not the case for most of the build systems. The option now has a tiny
hint what the requirement is and where to get it.

closes #975
2019-01-23 10:03:03 +01:00
gabime a7148b718e Version 1.3.1 2019-01-18 12:13:07 +02:00
gabime 23fdc0eae4 Fixed issue #959 2019-01-17 17:09:35 +02:00
Gabi Melman 8cb1bc89f1
Merge pull request #969 from scribam/patch-1
Update log_msg.h
2019-01-17 03:18:36 +02:00
scribam 1798a1fa12
Update log_msg.h
`SPDLOG_NO_THREAD_ID` should only affect thread retrieval.
2019-01-17 00:23:06 +01:00
Gabi Melman f4c737ef42
Merge pull request #962 from myd7349/bench-patch
Fix #961 benchmark link error
2019-01-14 15:53:28 +02:00
myd7349 611df4964d Fix #961 benchmark link error 2019-01-14 20:18:35 +08:00
Gabi Melman 0a4ccf22da
Update README.md 2019-01-14 11:39:35 +02:00
Philip Miller 4fe98bf6e6 Merge remote-tracking branch 'origin/v1.x' into pwm1234/rotate_on_open 2019-01-11 10:04:42 -05: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
Gabi Melman a08ffcff50
Merge pull request #956 from possiblyhuman/v1.x-macrochanges
Allow filename/line number at all levels. Add function name %! support.
2019-01-10 02:15:50 +02:00
possiblyhuman 6bd9f4a13a Merge branch 'v1.x' into v1.x-macrochanges 2019-01-09 21:38:33 +00:00