Commit Graph

287 Commits

Author SHA1 Message Date
gabime
e62be8b43f clang-format 2024-12-01 23:59:09 +02:00
gabime
3c9963a495 Removed tweak options and spdlog_config.h 2024-11-30 19:55:45 +02:00
gabime
82bb5114e2 Fixed some tidy warnings 2024-11-30 11:36:43 +02:00
gabime
bb3d25b626 Added [[nodiscard]] and made should_flush_ const 2024-11-29 16:11:13 +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
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
50ea0cc1aa Removed appveyor ci 2024-11-29 13:06:44 +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
a2de13630b Backported FMT_STRING 2024-11-25 09:38:01 +02:00
gabime
77b07b3a10 clang format 2024-01-13 09:37:32 +02:00
gabime
24fe442d03 Use relative includes and create spdlog_config.h 2024-01-12 17:33:23 +02:00
gabime
68e71cfc49 Revert "force constexpr of empty source_loc"
This reverts commit 7e3700f650.
2023-12-25 00:03:16 +02:00
Gabi Melman
7e3700f650 force constexpr of empty source_loc 2023-12-24 18:38:40 +02:00
gabime
463af69d41 Clang format sort includes 2023-09-29 00:20:26 +03:00
gabime
a3934472c9 Relative include paths in headers 2023-09-28 23:45:45 +03:00
gabime
967554e4c5 added comments 2023-09-26 10:31:17 +03:00
gabime
6dffd7c6e8 update clang format again 2023-09-25 16:40:05 +03:00
gabime
f36b2c5f93 reformat code 2023-09-25 16:19:27 +03:00
gabime
dcd5904bdc Updated clang-format
Merged with origin
2023-09-25 16:11:53 +03:00
gabime
6de0ffa15f Updated clang format to google style 2023-09-25 02:35:55 +03:00
gabime
e28eadcd52 Clang format 2023-09-24 20:43:14 +03:00
gabime
6d520df916 Removed header only options 2023-09-24 13:27:26 +03:00
gabime
433cac487e Renamed spdlog::log_level to spdlog::level and added some level tests 2023-09-23 17:59:51 +03:00
gabime
7c0afada60 check SPDLOG_SOURCE_LOCATION in macros and in runtime 2023-09-23 02:03:48 +03:00
gabime
31a7dc6e1e Fix atomic level 2023-09-23 00:42:36 +03:00
gabime
392917f855 null_atomic_log_level and fix compile 2023-09-23 00:27:32 +03:00
gabime
3d5ddea136 Use std::vformat 2023-09-22 18:24:45 +03:00
gabime
a3ef3ab7a4 Removed SPDLOG_FMT_STRING 2023-09-22 18:24:45 +03:00
gabime
8488b027e9 Formatting 2023-09-22 18:24:45 +03:00
gabime
3979bd15f7 Fixed build 2023-09-22 18:24:45 +03:00
Gabi Melman
536da46a2c Changed macro name to SPDLOG_EMIT_SOURCE_LOCATION 2023-09-22 18:24:45 +03:00
Gabi Melman
ce6bccb194 Fixed logger::log with std::format under msvc 2023-09-22 18:24:45 +03:00
Gabi Melman
e1c7e6fde4 Update logger.h 2023-09-22 18:24:45 +03:00
Gabi Melman
fb40b49ef0 Update logger.h 2023-09-22 18:24:45 +03:00
gabime
af2f24de07 Removed swap from logger and renamed source location macro to SPDLOG_USE_SOURCE_LOCATION 2023-09-22 18:24:45 +03:00
gabime
3eea04bcd3 Simplify by replacing is_convertible_to_sv with string_view_t param 2023-09-22 18:24:45 +03:00
gabime
b19ceb6d0a Remove refs from format_string param 2023-09-22 18:24:45 +03:00
gabime
90e92438c8 clang format 2023-09-22 18:24:45 +03:00
gabime
1faeb5b6fa Minor cleanups 2023-09-22 18:24:45 +03:00
gabime
b3ab35cf8e Fix issues with string view 2023-09-22 18:24:45 +03:00
gabime
b2372fd076 Enable std::source_location if SPDLOG_EMIT_SOURCE_LOCATION is defined 2023-09-22 18:24:45 +03:00
gabime
ac6b7ec87e check should_log in log_with_format_ 2023-09-22 18:24:45 +03:00
gabime
5993e78aac Removed SPDLOG_WCHAR_SUPPORT macro 2023-09-22 18:24:45 +03:00
gabime
7c054b6dba Inlined sink_it_ 2023-09-22 18:24:45 +03:00
gabime
54d402e094 Fixed tidy warning 2023-09-22 18:24:45 +03:00
gabime
6a53d6354b minor cleanup 2023-09-22 18:24:45 +03:00
gabime
e1ee0c62a7 Replaced SPDLOG_CONSTEXPR and SPDLOG_NOEXCEPT macros with c++20 keywords 2023-09-22 18:24:45 +03:00