Commit Graph

2470 Commits

Author SHA1 Message Date
gabime
9f4492da61 Fixed warnings 2024-12-06 12:20:06 +02:00
gabime
28ea21b241 Fixed some analizer warnings 2024-12-06 12:08:29 +02:00
gabime
b789fb52dd Added final keywords 2024-12-06 12:00:40 +02:00
gabime
71a3caa018 Fixed warnings and unused include map 2024-12-06 11:20:44 +02:00
gabime
f96972db0b Renamed default logger to global logger 2024-12-06 10:58:42 +02:00
gabime
28af7c211f Minor cleanup 2024-12-06 10:30:33 +02:00
gabime
7fc6f1719c Minor cleanup 2024-12-06 10:27:00 +02:00
gabime
a8594177fa wip2 2024-12-06 09:53:23 +02:00
gabime
365eb899ed wip1 - renamed to context 2024-12-06 09:13:47 +02:00
gabime
9d42415114 Removed unused include 2024-12-05 22:08:46 +02:00
Gabi Melman
08c727e4f8
Use std filesystem (#3284)
* Use std::filesystem for path names and impl
2024-12-05 19:14:25 +02:00
gabime
e62be8b43f clang-format 2024-12-01 23:59:09 +02:00
gabime
3b6f36c43b Fix windows compile 2024-11-30 20:16:56 +02:00
gabime
3c9963a495 Removed tweak options and spdlog_config.h 2024-11-30 19:55:45 +02:00
gabime
e26e3692d1 Non locking ::fwrite if possible (SPDLOG_FWRITE_UNLOCKED defined) or use the regular locking fwrite 2024-11-30 15:46:06 +02:00
gabime
0d8f1f1dd4 Fixed tidy warnings 2024-11-30 12:53:19 +02:00
gabime
7a0e2ff8a8 Fixed tidy warnings 2024-11-30 12:45:14 +02:00
gabime
82bb5114e2 Fixed some tidy warnings 2024-11-30 11:36:43 +02:00
gabime
03e20348e2 Added back wstr_to_utf8buf() and utf8_to_wstrbuf() for windows 2024-11-29 22:48:38 +02:00
hjs-ast
bb4b719ccf Allow manual rotation of rotating_file_sink (#3269)
* Allow manual rotation of rotating_file_sink

* Rename rotation method

* Attempted fix for tests on Windows

* Apply review mark-ups
2024-11-29 22:08:17 +02:00
gabime
2057f67015 Removed SPDLOG_WCHAR_FILENAMES support 2024-11-29 17:17:30 +02:00
gabime
ddf14d67df Fix comment 2024-11-29 16:25:51 +02:00
gabime
0ef49d7df6 Minor cleanup 2024-11-29 16:15:13 +02:00
gabime
bb3d25b626 Added [[nodiscard]] and made should_flush_ const 2024-11-29 16:11:13 +02:00
gabime
15814dba5b clean source_loc.h 2024-11-29 15:30:00 +02:00
gabime
eccaa62e9d clean source_loc.h 2024-11-29 15:29:43 +02:00
Gabi Melman
63535f140b
V2.x no std format (#3271)
Some checks are pending
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[asan:ON build_type:Debug … (push) Waiting to run
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[build_type:Debug compiler… (push) Waiting to run
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[build_type:Release compil… (push) Waiting to run
macos / macOS Clang (C++17, Release) (push) Waiting to run
windows / build (map[BUILD_EXAMPLE:OFF BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 USE_STD_FORMAT:ON WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
windows / build (map[BUILD_EXAMPLE:OFF BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 USE_STD_FORMAT:ON WCHAR:ON WCHAR_FILES:ON]) (push) Waiting to run
windows / build (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:17 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 USE_STD_FORMAT:OFF WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
windows / build_2019 (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:17 FATAL_ERRORS:ON GENERATOR:Visual Studio 16 2019 USE_STD_FORMAT:OFF WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
windows / build_2019 (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 16 2019 USE_STD_FORMAT:OFF WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
* Removed SPDLOG_USE_STD_FORMAT

* Removed SPDLOG_USE_STD_FORMAT

* clang-format

* Fix windows.yml ci

* Fix ci
2024-11-29 15:25:29 +02:00
gabime
1d2138fdbe always use std::string_view and remove is_convertible_to_sv 2024-11-29 13:56:45 +02:00
gabime
0641ddec58 always use std::string_view and remove is_convertible_to_sv 2024-11-29 13:56:27 +02:00
gabime
fb3969d540 alwaus use std::string_view 2024-11-29 13:52:17 +02:00
gabime
62534f2e4e clang format 2024-11-29 13:40:40 +02:00
gabime
eacd4d6b2a Remove mdc 2024-11-29 13:32:15 +02:00
gabime
50ea0cc1aa Removed appveyor ci 2024-11-29 13:06:44 +02:00
gabime
6ea6b065ba Clean prev source_loc impl leftovers 2024-11-29 13:04:08 +02:00
gabime
968dcfbc6b Remove SPDLOG_SOURCE_LOCATION support 2024-11-29 12:12:20 +02:00
gabime
79422fe1dc Added missing include 2024-11-29 10:57:25 +02:00
gabime
905312eadd Fixed build replaced string_view_t 2024-11-29 10:50:10 +02:00
gabime
850ee25648 Commented out problematic gcc-9 log(..) overrides 2024-11-29 10:18:07 +02:00
gabime
d94311ad6b Use std::string_view in level names and ansicolor_sink.h 2024-11-26 13:35:01 +02:00
hydai
e4d81a5be9 Fix warning - extra ';' for -Wextra-semi (#3198)
Signed-off-by: hydai <z54981220@gmail.com>
2024-11-25 09:56:41 +02:00
Leslie
a3d3df0a56 use std::lock_guard instead of std::unique_lock (#3179) 2024-11-25 09:45:42 +02:00
Rasmus
15fcde8ee3 Add info about max_files in the docstrings of hourly/daily file sinks (#3170) 2024-11-25 09:44:46 +02:00
gabime
e01fa1a5fd compilation error gcc 8.5 with [-Werror=suggest-override] (#3158) 2024-11-25 09:44:13 +02:00
gabime
a2de13630b Backported FMT_STRING 2024-11-25 09:38:01 +02:00
gabime
5884f4de2a Fix var name 2024-11-25 09:19:28 +02:00
Philippe Vaucher
8888f5875e Allow customization of syslog_sink (#3124)
Thanks @Silex
2024-11-25 09:15:06 +02:00
act262
dec6a3f61f
Fix android_sink header include wrong path (#3113) 2024-06-17 09:52:41 +03:00
gabime
f9566a0101 Remove unneeded inline from template function 2024-05-03 18:57:32 +03:00
gabime
9df7863b95 Remove unneeded inline from template function 2024-05-03 18:57:16 +03:00
gabime
085e1330d0 Remove unneeded inline from template function 2024-05-03 18:50:08 +03:00