Commit Graph

331 Commits

Author SHA1 Message Date
gabime
1ab59c4237 set level to uint8_t 2024-12-07 14:47:03 +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
7a0e2ff8a8 Fixed tidy warnings 2024-11-30 12:45:14 +02:00
gabime
2057f67015 Removed SPDLOG_WCHAR_FILENAMES support 2024-11-29 17:17:30 +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
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
6ea6b065ba Clean prev source_loc impl leftovers 2024-11-29 13:04:08 +02:00
gabime
d94311ad6b Use std::string_view in level names and ansicolor_sink.h 2024-11-26 13:35:01 +02:00
gabime
a2de13630b Backported FMT_STRING 2024-11-25 09:38:01 +02:00
gabime
4ee50804d3 Removed unused include 2024-05-03 16:13:49 +03:00
gabime
77b07b3a10 clang format 2024-01-13 09:37:32 +02:00
gabime
4789065700 Remove custom level names from macro 2024-01-13 09:32:01 +02:00
gabime
24fe442d03 Use relative includes and create spdlog_config.h 2024-01-12 17:33:23 +02:00
gabime
83d5f3dbad Revert 70f7a8252d 2023-10-21 13:56:42 +03:00
gabime
bc7e80c7ae Removed include null_mutex.h from common.h 2023-10-21 13:48:19 +03:00
gabime
70f7a8252d Always <format> if SPDLOG_USE_STD_FORMAT defined 2023-10-21 13:43:30 +03:00
gabime
5782891494 Removed SPDLOG_FMT_RUNTIME definition 2023-10-21 13:36:52 +03:00
gabime
61b11e77b9 constexpr support for source location without leading directory 2023-10-01 23:54:54 +03:00
gabime
eb256827f1 Fixed nodiscard location 2023-10-01 17:56:42 +03:00
Gabi Melman
af8354575d
Update common.h 2023-09-29 03:21:28 +03: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
Gabi Melman
030bcb8890
Update common.h 2023-09-26 01:53:55 +03:00
Gabi Melman
7ac740a029
Update common.h 2023-09-26 01:43:48 +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
2a1959c2ce wip static_only 2023-09-24 20:26:32 +03:00
gabime
6d520df916 Removed header only options 2023-09-24 13:27:26 +03:00
gabime
fc81e0390b Removed SPDLOG_COMPILED_LIB/HEADER_ONLY macros from common.h 2023-09-24 13:02:30 +03:00
gabime
b16a8951bc Added more [[nodiscard]] to functions in common 2023-09-24 11:53:04 +03:00
gabime
a34fb3761c Added nodiscard to level_to_number() 2023-09-24 11:50:24 +03:00
gabime
9a7448e4c8 Renamed to level_to_number 2023-09-23 18:21:27 +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
ea1c829764 fix warning 2023-09-23 01:53:03 +03:00
gabime
31a7dc6e1e Fix atomic level 2023-09-23 00:42:36 +03:00
gabime
3a405ba958 Fix atomic level 2023-09-23 00:30:24 +03:00
gabime
392917f855 null_atomic_log_level and fix compile 2023-09-23 00:27:32 +03:00
gabime
ac2955cb48 Use std::array for string levels storage 2023-09-22 23:20:54 +03:00
gabime
96bed42974 Clean level names logic and inline them 2023-09-22 21:38:04 +03:00
gabime
a3ef3ab7a4 Removed SPDLOG_FMT_STRING 2023-09-22 18:24:45 +03:00
gabime
b777497b0d Removed un needed inline specifier 2023-09-22 18:24:45 +03:00