Commit Graph

2066 Commits (d8eb0558e918a01aa1ae1d96cdc7c5ec2b24c03c)
 

Author SHA1 Message Date
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
gabime 382478259f Fix compilation for msvc 2015 7 years ago
gabime e3c333be47 pattern_formatter - padding_info small refactor 7 years ago
gabime a1a463787f Updated example's comment 7 years ago
gabime a16ff07a06 Show source location if present in default formatter 7 years ago
gabime 3218caf34a Added some comments 7 years ago
gabime 01583ef540 Clean macros 7 years ago
gabime dc13700094 Fixed source location and make SPDLOG_TRACE: that only one that inject source location info. 7 years ago
Gabi Melman 1293af093c
call flush_() instead of flush() from looger::sink_it_() 7 years ago
gabime 2998815166 Added missing test file 7 years ago
gabime 9484c4dc05 clang-format 7 years ago
gabime 521b0733d4 Support for source location in async loggers 7 years ago
gabime a463989278 keep clang-tidy happy 7 years ago
gabime a31719b546 clang-format 7 years ago
gabime f97cb00737 Updated macros tests 7 years ago
gabime f2305fe5bf Support for source file/line logging 7 years ago
gabime 216cd6935f Updated formatter-bench to include source location 7 years ago
gabime 3a8f9484d2 Cleaned bench.cpp a little 7 years ago
gabime 3fa76b2d8f Renamed test filename 7 years ago
gabime 50648553cf clang-format 7 years ago
gabime 70d03fd9c3 Minor optimization 7 years ago
gabime 0a8cce6984 comments 7 years ago
gabime fb1a3a3a12 Micro optimized some formatter flags 7 years ago
gabime 52e2722412 Renamed test filenames 7 years ago
Gabi Melman b64e4464a7
Update current_size_ to 0 in after of truncating in rotation error 7 years ago
Gabi Melman f1ab6feba2
Merge pull request #919 from DanielChabrowski/fix-compilation
Fix template error
7 years ago