Commit Graph

226 Commits

Author SHA1 Message Date
gabime
6f2a09bc15 Fixed windows compile 2024-12-07 01:13:20 +02:00
gabime
9fa35a9229 Fixed windows compile 2024-12-07 01:05:19 +02:00
gabime
8d4943789c wip1 2024-12-07 00:52:27 +02:00
Gabi Melman
166843ff3a
V2.x no reg (#3285)
Some checks failed
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) Has been cancelled
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) Has been cancelled
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) Has been cancelled
macos / macOS Clang (C++17, Release) (push) Has been cancelled
windows / build (map[BUILD_EXAMPLE:OFF BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:17 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022]) (push) Has been cancelled
windows / build (map[BUILD_EXAMPLE:OFF BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022]) (push) Has been cancelled
windows / build (map[BUILD_EXAMPLE:ON BUILD_SHARED:OFF BUILD_TYPE:Release CXX_STANDARD:17 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022]) (push) Has been cancelled
windows / build_2019 (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:17 FATAL_ERRORS:ON GENERATOR:Visual Studio 16 2019]) (push) Has been cancelled
windows / build_2019 (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 16 2019]) (push) Has been cancelled
Removed registry
2024-12-06 19:21:42 +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
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
ec34d6ddc6 Fixed win compile 2024-11-30 12:19:03 +02:00
gabime
70c65cf61b Fix windows build 2024-11-30 11:59:50 +02:00
gabime
82bb5114e2 Fixed some tidy warnings 2024-11-30 11:36:43 +02:00
Gabi Melman
aa9eaae6f6
Update os_windows.cpp 2024-11-29 23:14:12 +02:00
gabime
03e20348e2 Added back wstr_to_utf8buf() and utf8_to_wstrbuf() for windows 2024-11-29 22:48:38 +02:00
gabime
693062a8bf Update cp 2024-11-29 22:10:23 +02:00
gabime
2057f67015 Removed SPDLOG_WCHAR_FILENAMES support 2024-11-29 17:17:30 +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
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
7c6f737990 Fix windows compile of log_msg_buffer.cpp 2024-11-29 14:14:24 +02:00
gabime
eacd4d6b2a Remove mdc 2024-11-29 13:32:15 +02:00
gabime
eab1f6d5f5 Fix #3194 month name 2024-11-25 09:52:31 +02:00
gabime
a2de13630b Backported FMT_STRING 2024-11-25 09:38:01 +02:00
gabime
754be3eec6 Fix #3079 2024-11-25 09:19:41 +02:00
gabime
7ea98fba29 Removed unused includes 2024-05-03 18:45:07 +03:00
gabime
06be4409e6 clang-format 2024-05-03 18:30:46 +03:00
gabime
15829cfb84 Added final keywords to sinks and pattern_formatter.cpp 2024-05-03 18:30:04 +03:00
gabime
d60a4c7b50 Don't remove existing logger from registry in set_default_logger 2024-05-03 13:31:30 +03:00
gabime
02c3ca5016 Upadate mdc code in pattern_formatter.cpp 2024-03-29 17:13:27 +03:00
gabime
8815f81e5d Added mdc from pull #2907 2024-03-29 15:53:55 +03:00
gabime
a627f5c43a Apply #3044 pr 2024-03-22 16:56:48 +02:00
gabime
390428aae1 Fixed path_exists(..) in windows 2024-03-17 01:36:04 +02:00
gabime
1bde4831a0 Fixed registry impl 2024-03-17 01:17:32 +02:00
gabime
e1f5a45900 Added small_map_threshold constexpr 2024-03-17 00:36:52 +02:00
gabime
b95e493471 Reduce max size for sequential map search to 10 2024-03-17 00:31:24 +02:00
gabime
4a31ed38d3 if the map is small do a sequential search, otherwise use the standard find() 2024-03-17 00:14:56 +02:00
gabime
06e4631dde Use find if registry is bigger than 20 2024-03-16 23:47:39 +02:00
gabime
e750d2219e Small clean in registry impl 2024-03-16 22:45:20 +02:00
gabime
8a4f3b1ba7 Small clean in registry impl 2024-03-16 22:44:59 +02:00
gabime
8e10782a58 Ported pull #3023 with some changes and tests 2024-03-16 17:12:46 +02:00
gabime
34e0c8f227 Minor style 2024-03-16 13:51:29 +02:00
gabime
989589dd0b Minor style 2024-03-16 13:51:29 +02:00
gabime
8319d1bc16 clang format 2024-03-16 13:51:29 +02:00
gabime
c8b81a6958 Minor style 2024-03-16 13:51:29 +02:00
gabime
7bd1c1e1a4 Removed unused source file 2024-03-16 13:51:29 +02:00
gabime
57384f7be3 Minor clean 2024-03-16 13:51:29 +02:00
gabime
bb687e7aad Minor clean 2024-03-16 13:51:29 +02:00
gabime
7bb480a051 Minor clean 2024-03-16 13:51:29 +02:00
gabime
286218aeeb Removed state from default error handler 2024-03-16 13:51:29 +02:00