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
possiblyhuman
32420b77c8
Reduced amount of macros used.
...
Removed SPDLOG_SOURCE_MACROS_ON and SPDLOG_FUNCTION_SUFFIX.
2019-01-09 21:15:19 +00:00
Gabi Melman
0b8a84f536
Update README.md
2019-01-09 15:56:05 +02:00
gabime
f18a55831c
Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x
2019-01-09 11:28:36 +02:00
gabime
58fb0decbf
Removed old header
2019-01-09 11:28:22 +02:00
possiblyhuman
2124b7bf64
Allow filename/line number at all levels. Add function name %! support.
2019-01-08 22:52:40 +00:00
Gabi Melman
5b273a33b4
Merge pull request #955 from brridder/fix-typo
...
Fix typo in file_helper.h
2019-01-08 20:36:06 +02:00
Ben Ridder
fb702f989f
Fix typo in file_helper.h
...
* "extenstion" -> "extension"
2019-01-08 10:09:11 -08:00
gabime
0203a0fdaf
Fixed issue #948
2019-01-08 17:35:34 +02:00
gabime
112a7ada74
Fixd copy ellision warning in tests
2019-01-08 17:33:31 +02:00
gabime
452ba76507
Fixed conversion warnings
2019-01-08 17:31:46 +02:00
gabime
2ac42c0d14
Bumped fmt to version 5.3.0
2019-01-08 17:09:07 +02:00
Gabi Melman
0955ea5b85
Merge pull request #945 from cneumann/fix-external-fmt
...
Fix handling of external fmt lib
2018-12-17 19:34:49 +02:00
Carsten Neumann
084bc72d90
Fix handling of external fmt lib
...
Using an external fmt lib should cause the spdlog::spdlog target to have
a dependency on fmt lib - so that a consuming project does not need
to call find_package(fmt) and target_link_libraries(... fmt::fmt).
To this end a new cmake option SPDLOG_FMT_EXTERNAL is introduced which
makes spdlog depend on fmt lib and defines the SPDLOG_FMT_EXTERNAL macro
to avoid using the bundled fmt lib. The value of SPDLOG_FMT_EXTERNAL is
also stored in the installed spdlogConfig.cmake and if it is ON
find_dependency() is used to ensure the fmt::fmt target is imported.
2018-12-17 10:18:16 -06:00
Gabi Melman
57e2193432
Merge pull request #939 from peergynt/fix-typos
...
Fix typos
2018-12-06 23:21:22 +02:00
Jerome Meyer
ce8cf1e152
Fix typos
2018-12-06 16:06:01 -05:00
gabime
3da189f7c0
SPDLOG_TRACE to check log level before calling the logger
2018-12-06 13:27:00 +02:00
gabime
058d2d1bd4
Use default pattern in latency test
2018-12-06 11:37:49 +02:00
Gabi Melman
f70f2f8c62
Merge pull request #936 from bzindovic/v1.x
...
Corrected the text alignment in the example
2018-12-06 03:22:21 +02:00
Budo Zindovic
8d6086da48
Corrected the text alignment in the example
...
I've changed the alignment character in the example to illustrate left alignment of text.
2018-12-06 01:30:07 +01:00
gabime
bd6d88b884
Removed uneeded locale include
2018-12-05 18:03:56 +02:00
gabime
4003218ceb
Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x
2018-12-04 12:29:01 +02:00
gabime
ec3f2b76b0
Strip path from __FILE__ in SPDLOG_TRACE macros
2018-12-04 12:28:21 +02:00
gabime
fcb661d0e9
Fixed tests
2018-12-02 19:04:44 +02:00
gabime
d8eb0558e9
Fix test for mingw
2018-12-02 17:13:50 +02:00
Gabi Melman
5191948b64
Update appveyor.yml
2018-12-02 16:40:02 +02:00
Gabi Melman
7442d720f4
Update appveyor.yml
2018-12-02 16:30:07 +02:00
Gabi Melman
bbc859ca19
Update .travis.yml
2018-12-02 15:25:03 +02:00
gabime
7275fb6f52
simplify SPDLOG_BUILD_TESTS Cmake option
2018-12-02 12:25:46 +02:00
Gabi Melman
2d50202b2d
Merge pull request #934 from dpacbach/ctest-fix
...
CMake: include(CTest) only when building tests.
2018-12-02 13:49:50 +02:00
David P. Sicilia
f5dc16603e
Enable testing in the Travis config file.
...
This is needed because ENABLE_TESTING is no longer enabled by
default.
2018-12-01 20:57:45 -05:00
David P. Sicilia
85b4d7c8d6
CMake: include(CTest) only when building tests.
...
This is needed in order to support usage of this library as a
subdirectory in a parent project. In that situation, prior
to this change, the inclusion of CTest would unconditionally
enable BUILD_TESTING which would then bleed into other parts
of the project.
Also added some comments explaining how this logic works.
2018-12-01 20:37:06 -05:00