Commit Graph

1080 Commits (cec28bf8390201059b2de7f31336e7516d1d7eed)

Author SHA1 Message Date
Ivan Grokhotkov 85a009ad64
Support newlib C library configurations without tm_gmtoff field (#2600)
3 years ago
Khem Raj 287a00d364
Do not use LFS64 functions on linux/musl (#2589)
3 years ago
Vasiliy Kulikov 3c93f7690a
fix build: fix for freebsd (#2590)
3 years ago
Alok Priyadarshi a4e9917575
feat(mpmc_blocking_q): add blocking dequeue without timeout (#2588)
3 years ago
György Katona 8512000f36
Unnecessary backtrace begin/end logs (#2568)
3 years ago
Charles Milette 4f80077339
Support compile-time format string checking with std::format (#2544)
3 years ago
gabime 070dd181df clang format
3 years ago
Lucas CHOLLET dfe1009080 Expend support for any std::chrono::duration in `spdlog::flush_every`
3 years ago
bergen 1f608a81e8 add overrun reset function
3 years ago
bergen 822f972842 update
3 years ago
panzhongxian 1f0c2f9f36 Remove try_lock from null_mutex.
3 years ago
John Armstrong 799802f93b Add FMT_STRING to allow compilation with FMT_ENFORCE_COMPILE_STRING
3 years ago
Charles Milette 8338a48c5b
Remove fmt_helper::to_string
4 years ago
Charles Milette cd4f6c1466
Replace fmt_helper::to_string by a macro
4 years ago
Charles Milette 37dd6bb159
Address PR review comments
4 years ago
Charles Milette 714cf12822
Add fmt_helper.h include to includes.h and os-inl.h
4 years ago
Charles Milette ebeb3707b1
Switch to vformat_to
4 years ago
risa2000 52dc210423
Fixed compiler error when building on Windows with #define UNICODE
4 years ago
Andrey Bugaevskiy 5ee969e4f6 Fix fopen_s error reporting with PREVENT_CHILD_FD
4 years ago
gabime c432fdd987 Bump fmt to version 8.1.1 and run clang-format
4 years ago
gabime 5afff7821f throw if flush failed
4 years ago
Vladislav Nepogodin f096c615c3
🔥 conditional_cast
4 years ago
Vladislav Nepogodin f81cb9f365
Revert "Useless cast"
4 years ago
Vladislav Nepogodin 7e95963940
Useless cast
4 years ago
Gabi Melman ab2e72340a Update thread_pool.h
4 years ago
Gabi Melman da9c16278a Update thread_pool.h
4 years ago
Gabi Melman b5d6c939fd Update thread_pool.h
4 years ago
Philippe Serreault 6636ff05e6 Allow custom callback to be executed by thread-pool's threads before joining them.
4 years ago
Acretock 9e17fafe1b c style cast -> static_cast
4 years ago
semenov_gv e3e4c4bc95 minor changes added const ref params
4 years ago
lisr 232df72b82 use pthread_getthrds_np for AIX
4 years ago
lisr aac187d3a0 fix aix compile error
4 years ago
gabime dc030ec53c clang-format
4 years ago
Charles Milette 126a9fb261 Merge branch 'v1.x' of https://github.com/gabime/spdlog into std-format
4 years ago
Charles Milette 4001032858 Add attribution, return to previous code for daily_filename_format_calculator with fmtlib
4 years ago
Charles Milette 701ef17227 Move strftime to daily_filename_format_calculator
4 years ago
Charles Milette 5d6af189f1 Use target.capacity() even with std::string
4 years ago
gabime 5b7dfefc7e rename file_event_handlers_t to file_event_handlers
4 years ago
Charless Milette 2d77ef92b0 Avoid specializing std::formatter for std::tm (not a great idea after all)
4 years ago
Gabi Melman a3ad8b5f26
Merge pull request #2169 from seker/v1.x_file_event_handlers
4 years ago
seker 24a551c14e file_event_handlers add before_open function
4 years ago
Charles Milette 8e359baaec
Merge branch 'v1.x' into std-format
4 years ago
Gabi Melman 85bdfc8695
Merge pull request #2172 from keith-dev/v1.x
4 years ago
Keith Williams c8ba643f53 example.cpp failes to build on FreeBSD
4 years ago
Dimitris Apostolou 591eedcf36
Fix typos
4 years ago
Charless Milette 48e35f9c3e Make clang happy, fix VS 2022 generator name
4 years ago
Charless Milette 89c4b1aabe Fix build issues under C++11
4 years ago
Charless Milette 44a4517e2b Support C++20 std::format as an alternative to fmtlib
4 years ago
seker c47ae3b15d add file event handlers
4 years ago
Маркелов Максим 14eecc6e2a Unhandled errors
4 years ago
gabime bae78f7b6c Fixed comments
4 years ago
gabime f97dcc72dc cleanup tcp client WSA Startup/Shutdown
4 years ago
gabime c0d10efabf Cleanup unix udp client
4 years ago
gabime 9bb66c00e9 Cleanup windows udp client
4 years ago
Chris Love 2e66a27081 Remove is_init() check on each log call
4 years ago
Chris Love 497fa60f57 Explicitly set SO_SNDBUF size to fix drops on Windows and address other PR feedback
4 years ago
Chris Love 2d1217006b Fix #ifdef WINDOWS_LEAN_AND_MEAN
4 years ago
Chris Love 444df2b287 Address PR comments
4 years ago
Chris Love 486dc5102e Winsock support
4 years ago
Chris Love a15f5137ef Fix udp sink on Windows
4 years ago
Chris Love c5fd8a0b97 Port code from prior PR (#1746), code cleanups
4 years ago
Gabi Melman dd6d203488
Merge pull request #2026 from hbwang15/feature/include_twice_fix
4 years ago
wanghengbing f463ebf54a fix include file twice in the same file
4 years ago
Gabi Melman 197c9639bb
Fixed compile under c++20 and clang 12
4 years ago
gabime e7e8b75a4c clang-format
4 years ago
zyw1995ted@163.com 37372960a8 add a color-terminal type
4 years ago
gabime 7b14a65b2b Fixed format_to deprecated warning by wrapping the buffer with std::back_inserter
4 years ago
Sprite 7fa751d36e Use std::function for the global error handler
4 years ago
LE GARREC Vincent ec8763adf2
Fix signed/unsigned mismatch in VS
4 years ago
JB_12 6c21789aed Fix C++20 build resulting in deprecated implicit copy assignment operator warning
4 years ago
Vadim Zeitlin ff5221b693 Fix warning about testing _WIN64 which might be undefined
5 years ago
Gabi Melman db484cc4b8
Merge pull request #1930 from vadz/msvc-unreachable-warning-fix-alt
5 years ago
Vadim Zeitlin 6442963f49 Avoid harmless warning about unreachable statement in MSVS build
5 years ago
Luke Novey 632a2e0894 Change c-style casts to reinterpret casts
5 years ago
gabime e9635c7b2d rethrnow non std exceptions to fix #533
5 years ago
Hai Feng Kao ca2cd6f3e7 fix Xcode compiler warning "no new line at the end of file"
5 years ago
Jakub Neruda 5d4956d34b
Set default value to registry::err_handler_
5 years ago
Unknown 7e9385405f better numeric_limits<>::max/min fix when using SPDLOG_WCHAR_TO_UTF8_SUPPORT
5 years ago
Christian Panov aacae62591
Initializer list style consistency
5 years ago
Gabi Melman 46d418164d
Merge pull request #1787 from sylveon/windows-separator-filenames
5 years ago
Charles Milette ac35dd5a6f
Prevent integer overflows in wstr_to_utf8buf and utf8_to_wstrbuf
5 years ago
Gabi Melman 710a0e3a45
Merge pull request #1795 from graydon/truncate-but-still-append
5 years ago
Graydon Hoare b7f24b2456
Open files with "ab" mode even if truncating.
5 years ago
Charles Milette fc594b551a
Prevent win_eventlog_sink from silently discarding errors when wide support is enabled
5 years ago
Charles Milette f39ccccc0c
Fix linker error
5 years ago
Charles Milette a453bccff0
Better support for / separators on Windows, improve wchar filename coverage
5 years ago
dominic cec365888a Added check for COLORTERM environment variable to detect if terminal
5 years ago
Amir Alperin 7fff900a1a Fix error message in exception
5 years ago
Amir Alperin c67974e4c8 replace deprected wchar string conversion
5 years ago
Могилин Виктор e17ee87f38 Ability to get size of messages queue of async thread pool
5 years ago
gabime 8923922f30 Cleaned level loading from env var
5 years ago
gabime 7542e42e4f removed extra parentheses
5 years ago
Gabi Melman 7a9b23e4f4
Update registry-inl.h
5 years ago
gabime 36138617fc small readablilty update in registry
5 years ago
gabime 231ca50700 clang-format
5 years ago
gabime c7613f3e91 Fixed #1680
5 years ago
gabime cefe67726e wip fix #1680 again
5 years ago
gabime 1ac2dcc537 wip fix #1680 again
5 years ago
gabime 3a68eecb28 Fix issue #1680
5 years ago
gabime cd701761f9 clang-format
5 years ago