Commit Graph

3349 Commits (5ca5cbd44739576ee90d3d9c21ba8cbf7e11ff5c)
 

Author SHA1 Message Date
Gabi Melman 62189602cb
Update README.md 6 years ago
Gabi Melman 0120dcc787
Update logger-inl.h 6 years ago
Gabi Melman 6bfc0ec3a7
Merge pull request #1457 from Ruffel/fix-clang-tidy-warning
Resolve erroneous clang-tidy warning about using a moved from pointer
6 years ago
Steven Cartmell f999d879d5
fix: Break from loop on last iteration to resolve clang-tidy warning
The clang-tidy warning `clang-analyzer-cplusplus.Move` warns when a
moved from object is deferenced. This is triggered in spdlog because
clang-tidy fails to detect that the `logger:set_formatter` will only
move the unique_ptr on the last iteration of the loop, assuming that
`f->clone` may be called on it afterwards.

To fix, add a break statement after moving the pointer (on the last
iteration) to let clang-tidy know the logger pointer is not used after
this point.
6 years ago
gabime c861e2d9cf Updated example 6 years ago
gabime e696978d11 Renamed function name 6 years ago
gabime fbf2e942a9 Allow "err" when converting string to level 6 years ago
gabime d18f282938 Fixed missing cfg.cpp 6 years ago
gabime c10be7eaec merge with v1.x 6 years ago
gabime 05ecad4263 Use windows_include in os-inl.h 6 years ago
Gabi Melman 4cdb159ccb
Update spdlog.h 6 years ago
Gabi Melman fccb25586f
Update spdlog.h 6 years ago
Gabi Melman ab2f3307eb
Update spdlog.h 6 years ago
Gabi Melman db26a103d6
Update spdlog.h 6 years ago
Gabi Melman 32902f79ad
Merge pull request #1453 from david-bodor-at-craftunique/v1.x
only include windows.h when it's unavoidable
6 years ago
Dávid Bodor fab33dd230 refactor: extract windows.h include to details/windows_include.h 6 years ago
gabime daaa025356 moved .clang-format to top level 6 years ago
gabime ffe272c165 Added SDPLOG_TIDY option to CMakeLists.txt instead of clang_tidy.sh 6 years ago
Dávid Bodor 6e763d2776 only include windows.h when it's unavoidable 6 years ago
gabime c71b433a35 clang-format 6 years ago
gabime 0b91d55269 Refactored tcp_client_sink 6 years ago
gabime 9f41903067 Refactored tcp_client_sink 6 years ago
gabime 64de8807e2 Fix #1452 6 years ago
gabime 3848cbe24a Fix #1452 6 years ago
Gabi Melman 15ac7b08f7
Merge pull request #1451 from tcraigtyler/more-rpm-cpack
Updates supporting CPack RPM generation
6 years ago
Craig Tyler e47ecc1828 Updates supporting CPack RPM generation
Enable command line overrides of default settings
* CPACK_GENERATOR
* CPACK_PACKAGE_RELOCATABLE

Enables command line setting of generated RPM version attributes
* CPACK_RPM_PACKAGE_RELEASE
* CPACK_RPM_PACKAGE_ARCHITECTURE

Adds dependency on pkgconfig RPM when not generating relocatable RPM
6 years ago
Gabi Melman c09641cf47
Merge pull request #1450 from rabbull/fmt_string
Add example to FMT_STRING in README
6 years ago
Karl Liu 92467db591 add example to FMT_STRING 6 years ago
Gabi Melman ea5e7182ab
Merge pull request #1444 from Crunkle/v1.x
Fix Windows event log sink
6 years ago
Crunkle d38d53d9dd Fix Win32 event log sink 6 years ago
Gabi Melman c9e094d9fc
Merge pull request #1442 from niamster/v1.x
workaround for `Unknown extension ".c" for file` issue
6 years ago
Dmytro Milinevskyi af75985ec6 workaround for `Unknown extension ".c" for file` issue
http://www.grokit.ca/cnt/CMakeProblemsSolutions/
6 years ago
gabime 4b7c05903b optimize wincolor_sink to use array instead of map to find color codes 6 years ago
gabime 695912c7cf Optimize ansicolor_sink to use array instead of map to find color codes 6 years ago
gabime 5c06306ccc Updated clang-tidy 6 years ago
gabime d4fd17f64f Fixed #1439 6 years ago
Gabi Melman 76d94e69ae
Fix #1439 6 years ago
Gabi Melman 0f42744f5c
Update rotating_file_sink-inl.h 6 years ago
Gabi Melman e8daf7c73b
Merge pull request #1431 from tt4g/avoid-references-to-race-data-filename
Avoid references to race data filename
6 years ago
tt4g 0cf1af5bbf Avoid references to race data filename 6 years ago
Gabi Melman a343328a21
Update rotating_file_sink-inl.h 6 years ago
Gabi Melman 53a56b82af
Update rotating_file_sink-inl.h 6 years ago
Gabi Melman 64dd4dc219
Update rotating_file_sink-inl.h 6 years ago
Gabi Melman 9e9da42c64
Update rotating_file_sink.h 6 years ago
Gabi Melman 5c410f4ca2
Merge pull request #1430 from tt4g/add-critical-section-to-filename-api
Add critical section to filename function of  each file sink
6 years ago
tt4g 0778211116 Add critical section to filename function of each file sink 6 years ago
Gabi Melman 574563d711
Update tcp_sink.h 6 years ago
Gabi Melman e9d0b424d5
Merge pull request #1427 from dominicpoeschko/patch-1
Handling SPDLOG_PREVENT_CHILD_FD in tcp_sink
6 years ago
dominicpoeschko eef981e05f
Handling SPDLOG_PREVENT_CHILD_FD in tcp_sink
Adding SOCK_CLOEXEC to socket

Fixing bug in sink_it_ (bytes_sent not added to buffer)
6 years ago
gabime 9f24f4bc69 revert last commit 6 years ago