spdlog: updated to 1.14.0 Version 1.14.0 Updated bundled fmt to version 10.2.1. Mapped Diagnostic Context (MDC) support MDC is a simple map of key->string values stored in thread local storage whose content will be printed by the loggers. Usage example: #include "spdlog/mdc.h" .. spdlog::mdc::put("mdc_key_1", "mdc_value_1"); spdlog::info("Hello, {}", "World!"); // => [2024-04-26 02:08:05.040] [info] [mdc_key_1:mdc_value_1] Hello, World! Add milliseconds support to stopwatch Add std::string_view overloads for logger accessor Make async_logger::flush() synchronous - wait for the flush operation to complete before returning Use _stat() on Windows to be more UTF8 friendly Add details about how compile time macros work Fix typos found by codespell Expose the flusher thread object to user in order to allow setting of thread name and thread affinity when needed Fix the problem of compilation failure under MINGW Add missing include in circular_q.h Don't remove previous defaullt logger from registry in set_default_logger. Remove the legacy AnalyzeTemporaryDtors option from .clang-tidy. Updated INSTALL.md has to better reflect compiler info Fixed README.md examplediff -r1.20 -r1.21 pkgsrc/devel/spdlog/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.20 2024/01/12 11:48:47 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.21 2024/04/26 17:20:24 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= spdlog-1.13.0 | 3 | DISTNAME= spdlog-1.14.0 | |
4 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=gabime/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=gabime/} | |
6 | GITHUB_TAG= v${PKGVERSION_NOREV} | 6 | GITHUB_TAG= v${PKGVERSION_NOREV} | |
7 | 7 | |||
8 | MAINTAINER= ryoon@NetBSD.org | 8 | MAINTAINER= ryoon@NetBSD.org | |
9 | HOMEPAGE= https://github.com/gabime/spdlog | 9 | HOMEPAGE= https://github.com/gabime/spdlog | |
10 | COMMENT= Fast C++ logging library | 10 | COMMENT= Fast C++ logging library | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | USE_LANGUAGES= c c++ | 13 | USE_LANGUAGES= c c++ | |
14 | USE_TOOLS+= pkg-config | 14 | USE_TOOLS+= pkg-config | |
15 | CMAKE_ARGS+= -DSPDLOG_BUILD_SHARED=ON | 15 | CMAKE_ARGS+= -DSPDLOG_BUILD_SHARED=ON | |
16 | CMAKE_ARGS+= -DSPDLOG_FMT_EXTERNAL=ON | 16 | CMAKE_ARGS+= -DSPDLOG_FMT_EXTERNAL=ON |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.9 2023/07/18 04:59:01 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.10 2024/04/26 17:20:24 adam Exp $ | |
2 | include/spdlog/async.h | 2 | include/spdlog/async.h | |
3 | include/spdlog/async_logger-inl.h | 3 | include/spdlog/async_logger-inl.h | |
4 | include/spdlog/async_logger.h | 4 | include/spdlog/async_logger.h | |
5 | include/spdlog/cfg/argv.h | 5 | include/spdlog/cfg/argv.h | |
6 | include/spdlog/cfg/env.h | 6 | include/spdlog/cfg/env.h | |
7 | include/spdlog/cfg/helpers-inl.h | 7 | include/spdlog/cfg/helpers-inl.h | |
8 | include/spdlog/cfg/helpers.h | 8 | include/spdlog/cfg/helpers.h | |
9 | include/spdlog/common-inl.h | 9 | include/spdlog/common-inl.h | |
10 | include/spdlog/common.h | 10 | include/spdlog/common.h | |
11 | include/spdlog/details/backtracer-inl.h | 11 | include/spdlog/details/backtracer-inl.h | |
12 | include/spdlog/details/backtracer.h | 12 | include/spdlog/details/backtracer.h | |
13 | include/spdlog/details/circular_q.h | 13 | include/spdlog/details/circular_q.h | |
14 | include/spdlog/details/console_globals.h | 14 | include/spdlog/details/console_globals.h | |
@@ -37,26 +37,27 @@ include/spdlog/details/udp_client.h | @@ -37,26 +37,27 @@ include/spdlog/details/udp_client.h | |||
37 | include/spdlog/details/windows_include.h | 37 | include/spdlog/details/windows_include.h | |
38 | include/spdlog/fmt/bin_to_hex.h | 38 | include/spdlog/fmt/bin_to_hex.h | |
39 | include/spdlog/fmt/chrono.h | 39 | include/spdlog/fmt/chrono.h | |
40 | include/spdlog/fmt/compile.h | 40 | include/spdlog/fmt/compile.h | |
41 | include/spdlog/fmt/fmt.h | 41 | include/spdlog/fmt/fmt.h | |
42 | include/spdlog/fmt/ostr.h | 42 | include/spdlog/fmt/ostr.h | |
43 | include/spdlog/fmt/ranges.h | 43 | include/spdlog/fmt/ranges.h | |
44 | include/spdlog/fmt/std.h | 44 | include/spdlog/fmt/std.h | |
45 | include/spdlog/fmt/xchar.h | 45 | include/spdlog/fmt/xchar.h | |
46 | include/spdlog/formatter.h | 46 | include/spdlog/formatter.h | |
47 | include/spdlog/fwd.h | 47 | include/spdlog/fwd.h | |
48 | include/spdlog/logger-inl.h | 48 | include/spdlog/logger-inl.h | |
49 | include/spdlog/logger.h | 49 | include/spdlog/logger.h | |
50 | include/spdlog/mdc.h | |||
50 | include/spdlog/pattern_formatter-inl.h | 51 | include/spdlog/pattern_formatter-inl.h | |
51 | include/spdlog/pattern_formatter.h | 52 | include/spdlog/pattern_formatter.h | |
52 | include/spdlog/sinks/android_sink.h | 53 | include/spdlog/sinks/android_sink.h | |
53 | include/spdlog/sinks/ansicolor_sink-inl.h | 54 | include/spdlog/sinks/ansicolor_sink-inl.h | |
54 | include/spdlog/sinks/ansicolor_sink.h | 55 | include/spdlog/sinks/ansicolor_sink.h | |
55 | include/spdlog/sinks/base_sink-inl.h | 56 | include/spdlog/sinks/base_sink-inl.h | |
56 | include/spdlog/sinks/base_sink.h | 57 | include/spdlog/sinks/base_sink.h | |
57 | include/spdlog/sinks/basic_file_sink-inl.h | 58 | include/spdlog/sinks/basic_file_sink-inl.h | |
58 | include/spdlog/sinks/basic_file_sink.h | 59 | include/spdlog/sinks/basic_file_sink.h | |
59 | include/spdlog/sinks/callback_sink.h | 60 | include/spdlog/sinks/callback_sink.h | |
60 | include/spdlog/sinks/daily_file_sink.h | 61 | include/spdlog/sinks/daily_file_sink.h | |
61 | include/spdlog/sinks/dist_sink.h | 62 | include/spdlog/sinks/dist_sink.h | |
62 | include/spdlog/sinks/dup_filter_sink.h | 63 | include/spdlog/sinks/dup_filter_sink.h |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.16 2024/01/12 11:48:47 adam Exp $ | 1 | $NetBSD: distinfo,v 1.17 2024/04/26 17:20:24 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (spdlog-1.13.0.tar.gz) = 055b6511b34d5803f1e6edafe2cc63b4faec2e5e6503ec4c5d8efcffe6d21397 | 3 | BLAKE2s (spdlog-1.14.0.tar.gz) = b8f4e001a4318f1b581398ff7c22337a250b3342a7b70c9f51076aa62e192699 | |
4 | SHA512 (spdlog-1.13.0.tar.gz) = 44fcb414ad9fbbe2a6d72c29143eeeae477b687ed30ae870d661b032a029ad4214ef43e7ef6350d02791d05504492978ade2d6733fab12ce4884d8f0bc4c6340 | 4 | SHA512 (spdlog-1.14.0.tar.gz) = 801a059901fbc3d79b63ecc8495c8198db0fdaf842ff79aa35e94027330219def22c3cb3d724d0f0e9573790a393de688d9445621f12417bb642568b93ce46d7 | |
5 | Size (spdlog-1.13.0.tar.gz) = 264003 bytes | 5 | Size (spdlog-1.14.0.tar.gz) = 270013 bytes | |
6 | SHA1 (patch-CMakeLists.txt) = 558c2e168aba82b3a1b442eb756e1fd23213d2fd | 6 | SHA1 (patch-CMakeLists.txt) = 558c2e168aba82b3a1b442eb756e1fd23213d2fd | |
7 | SHA1 (patch-include_spdlog_tweakme.h) = 0e3f16aaf013535331a11be523dd731503c12717 | 7 | SHA1 (patch-include_spdlog_tweakme.h) = 0e3f16aaf013535331a11be523dd731503c12717 |