Commit Graph

2103 Commits (a29e518cfebb5d5f1be0110b82bb7917112d45c1)
 

Author SHA1 Message Date
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
7 years ago
gabime a7148b718e Version 1.3.1 7 years ago
gabime 23fdc0eae4 Fixed issue #959 7 years ago
Gabi Melman 8cb1bc89f1
Merge pull request #969 from scribam/patch-1
Update log_msg.h
7 years ago
scribam 1798a1fa12
Update log_msg.h
`SPDLOG_NO_THREAD_ID` should only affect thread retrieval.
7 years ago
Gabi Melman f4c737ef42
Merge pull request #962 from myd7349/bench-patch
Fix #961 benchmark link error
7 years ago
myd7349 611df4964d Fix #961 benchmark link error 7 years ago
Gabi Melman 0a4ccf22da
Update README.md 7 years ago
gabime 57c3023881 Moved SPDLOG_FUNCTION define to common.h 7 years ago
gabime 4408e079ff Refactored log macros 7 years ago
gabime 2991057aef Add check log level before evaluating the logging macros 7 years ago
gabime 6b4fea39ab clang-format 7 years ago
Gabi Melman a08ffcff50
Merge pull request #956 from possiblyhuman/v1.x-macrochanges
Allow filename/line number at all levels. Add function name %! support.
7 years ago
possiblyhuman 6bd9f4a13a Merge branch 'v1.x' into v1.x-macrochanges 7 years ago
possiblyhuman 32420b77c8 Reduced amount of macros used.
Removed SPDLOG_SOURCE_MACROS_ON and SPDLOG_FUNCTION_SUFFIX.
7 years ago
Gabi Melman 0b8a84f536
Update README.md 7 years ago
gabime f18a55831c Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x 7 years ago
gabime 58fb0decbf Removed old header 7 years ago
possiblyhuman 2124b7bf64 Allow filename/line number at all levels. Add function name %! support. 7 years ago
Gabi Melman 5b273a33b4
Merge pull request #955 from brridder/fix-typo
Fix typo in file_helper.h
7 years ago
Ben Ridder fb702f989f Fix typo in file_helper.h
* "extenstion" -> "extension"
7 years ago
gabime 0203a0fdaf Fixed issue #948 7 years ago
gabime 112a7ada74 Fixd copy ellision warning in tests 7 years ago
gabime 452ba76507 Fixed conversion warnings 7 years ago
gabime 2ac42c0d14 Bumped fmt to version 5.3.0 7 years ago
Gabi Melman 0955ea5b85
Merge pull request #945 from cneumann/fix-external-fmt
Fix handling of external fmt lib
7 years ago
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.
7 years ago
Gabi Melman 57e2193432
Merge pull request #939 from peergynt/fix-typos
Fix typos
7 years ago
Jerome Meyer ce8cf1e152 Fix typos 7 years ago
gabime 3da189f7c0 SPDLOG_TRACE to check log level before calling the logger 7 years ago
gabime 058d2d1bd4 Use default pattern in latency test 7 years ago
Gabi Melman f70f2f8c62
Merge pull request #936 from bzindovic/v1.x
Corrected the text alignment in the example
7 years ago
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.
7 years ago
gabime bd6d88b884 Removed uneeded locale include 7 years ago
gabime 4003218ceb Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x 7 years ago
gabime ec3f2b76b0 Strip path from __FILE__ in SPDLOG_TRACE macros 7 years ago
gabime fcb661d0e9 Fixed tests 7 years ago
gabime d8eb0558e9 Fix test for mingw 7 years ago
Gabi Melman 5191948b64
Update appveyor.yml 7 years ago
Gabi Melman 7442d720f4
Update appveyor.yml 7 years ago
Gabi Melman bbc859ca19
Update .travis.yml 7 years ago
gabime 7275fb6f52 simplify SPDLOG_BUILD_TESTS Cmake option 7 years ago
Gabi Melman 2d50202b2d
Merge pull request #934 from dpacbach/ctest-fix
CMake: include(CTest) only when building tests.
7 years ago
David P. Sicilia f5dc16603e Enable testing in the Travis config file.
This is needed because ENABLE_TESTING is no longer enabled by
default.
7 years ago
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.
7 years ago
gabime f0c962d274 source_loc ctor: brace init members 7 years ago
Gabi Melman 486b6937d3
Merge pull request #929 from dpacbach/warnings-fix
Fix some minor warnings found with a recent clang version
7 years ago
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.
7 years ago
David P. Sicilia 63a475d88c Do not attempt to default operator= when it is implicitly deleted 7 years ago
Gabi Melman 3eba3224c8
Merge pull request #926 from lestera/patch-1
Fix exceptions on file size calculation on Windows XP x64 and Windows Server 2003 x64
7 years ago