Commit Graph

2091 Commits (a08ffcff50dcc59bca6bc06bf5b2f125bc8c2d85)
 

Author SHA1 Message Date
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
Adi Lester 247c4e55e7
Update os.h 7 years ago
Adi Lester 26d7c27bee
Use _filelengthi64 instead of _fstat64 to calculate file size on x64 machines
For some reason, `_fstat64` fails with errno 22 on Windows Server 2003 x64 when compiled using the `v141_xp` toolset.
Using `_filelengthi64` instead solves this issue
7 years ago
Gabi Melman b492642282
Update fmt_helper.h 7 years ago
gabime cff78f5833 Move logging macros outside the spdlog namespace 7 years ago
gabime 4ba19821ce Fixed compilation for vs2013 7 years ago
gabime 1e385851d7 Removed padding from from bench_formatters/all 7 years ago
gabime 4643f74a03 Added the all flag to bench formatter 7 years ago
gabime 6453d396bf Added the all flag to bench formatter 7 years ago
gabime 92921f767e clang-format 7 years ago
gabime c251c4ccbb Added the all flag to bench formatter 7 years ago
gabime 0ce670e45a Store level names as string_views 7 years ago
gabime 2671b48a6c Minor performance fix in full formatter 7 years ago