head 1.27; access; symbols pkgsrc-2026Q1:1.26.0.2 pkgsrc-2026Q1-base:1.26 pkgsrc-2025Q4:1.25.0.2 pkgsrc-2025Q4-base:1.25 pkgsrc-2025Q3:1.24.0.4 pkgsrc-2025Q3-base:1.24 pkgsrc-2025Q2:1.24.0.2 pkgsrc-2025Q2-base:1.24 pkgsrc-2025Q1:1.22.0.2 pkgsrc-2025Q1-base:1.22 pkgsrc-2024Q4:1.20.0.2 pkgsrc-2024Q4-base:1.20 pkgsrc-2024Q3:1.19.0.2 pkgsrc-2024Q3-base:1.19 pkgsrc-2024Q2:1.18.0.2 pkgsrc-2024Q2-base:1.18 pkgsrc-2024Q1:1.16.0.2 pkgsrc-2024Q1-base:1.16 pkgsrc-2023Q4:1.15.0.4 pkgsrc-2023Q4-base:1.15 pkgsrc-2023Q3:1.15.0.2 pkgsrc-2023Q3-base:1.15 pkgsrc-2023Q2:1.14.0.2 pkgsrc-2023Q2-base:1.14 pkgsrc-2023Q1:1.13.0.4 pkgsrc-2023Q1-base:1.13 pkgsrc-2022Q4:1.13.0.2 pkgsrc-2022Q4-base:1.13 pkgsrc-2022Q3:1.10.0.4 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.10.0.2 pkgsrc-2022Q2-base:1.10 pkgsrc-2022Q1:1.9.0.2 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.8.0.2 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.6.0.4 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.2 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.5.0.2 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.4.0.2 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.3.0.2 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.2.0.2 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1; locks; strict; comment @# @; 1.27 date 2026.04.12.20.28.26; author tnn; state Exp; branches; next 1.26; commitid 3v7zfNPf4rxj5IBG; 1.26 date 2026.01.05.18.20.47; author adam; state Exp; branches; next 1.25; commitid WTlZJ7h8McHJuepG; 1.25 date 2025.10.12.16.52.18; author wiz; state Exp; branches; next 1.24; commitid urElITKB7r9VJieG; 1.24 date 2025.05.09.13.53.25; author adam; state Exp; branches; next 1.23; commitid WLjj36GVX0llLeUF; 1.23 date 2025.03.31.09.44.18; author adam; state Exp; branches; next 1.22; commitid 3sVq0jAJgPRADcPF; 1.22 date 2025.02.01.18.26.12; author adam; state Exp; branches; next 1.21; commitid CFW8jbdmtS1coNHF; 1.21 date 2024.12.30.02.08.55; author ryoon; state Exp; branches; next 1.20; commitid TqSaC2iiSA9O2tDF; 1.20 date 2024.11.10.19.57.53; author adam; state Exp; branches; next 1.19; commitid ELrBLx5VsK54z8xF; 1.19 date 2024.07.10.20.50.57; author wiz; state Exp; branches; next 1.18; commitid lqL44p98zTduOkhF; 1.18 date 2024.04.30.18.09.10; author adam; state Exp; branches; next 1.17; commitid be5cIWkQIJyrcc8F; 1.17 date 2024.04.26.17.20.24; author adam; state Exp; branches; next 1.16; commitid mOEhTMpRK2gC3G7F; 1.16 date 2024.01.12.11.48.47; author adam; state Exp; branches; next 1.15; commitid 7rT2qZCsEgy6B9UE; 1.15 date 2023.07.18.04.59.01; author adam; state Exp; branches; next 1.14; commitid mZRUOiZao7gd3fxE; 1.14 date 2023.05.17.08.20.06; author wiz; state Exp; branches; next 1.13; commitid yhKvd4KYo5iW9ipE; 1.13 date 2022.11.26.13.47.13; author nia; state Exp; branches; next 1.12; commitid PWEJ4hh1Zi7Sud3E; 1.12 date 2022.11.12.15.06.06; author ryoon; state Exp; branches; next 1.11; commitid enjIYDAt3bWQnq1E; 1.11 date 2022.11.11.18.36.47; author adam; state Exp; branches; next 1.10; commitid xw5pyQ84JrdEzj1E; 1.10 date 2022.04.20.20.42.45; author wiz; state Exp; branches; next 1.9; commitid 3h7aO1HPgzrWRYAD; 1.9 date 2022.01.25.04.12.41; author mef; state Exp; branches; next 1.8; commitid aLY74AB7Eo3E7YpD; 1.8 date 2021.10.26.10.19.56; author nia; state Exp; branches; next 1.7; commitid XMBRkrafc79x2jeD; 1.7 date 2021.10.07.13.44.31; author nia; state Exp; branches; next 1.6; commitid TK9Y8OXA04EYMSbD; 1.6 date 2021.04.02.08.32.57; author wiz; state Exp; branches; next 1.5; commitid zbskQgHalLMR8HNC; 1.5 date 2021.01.04.12.03.24; author wiz; state Exp; branches; next 1.4; commitid cALyl3y57OBr8pCC; 1.4 date 2020.10.06.09.25.26; author wiz; state Exp; branches; next 1.3; commitid geg8xQDxjpFx9PqC; 1.3 date 2020.08.24.08.44.56; author wiz; state Exp; branches; next 1.2; commitid zKmiZ5wWU4SpjilC; 1.2 date 2020.06.05.11.22.44; author ryoon; state Exp; branches; next 1.1; commitid FJjyaNM8N9TXK1bC; 1.1 date 2020.02.05.13.32.27; author ryoon; state Exp; branches; next ; commitid xKWtTL1vAWhDmuVB; desc @@ 1.27 log @spdlog: work around lack of tm_gmtoff on SunOS @ text @$NetBSD: distinfo,v 1.26 2026/01/05 18:20:47 adam Exp $ BLAKE2s (spdlog-1.17.0.tar.gz) = c3eb8080cd7b93997428610362c43277570974edc3d4cda79ef7c3659ee6f16f SHA512 (spdlog-1.17.0.tar.gz) = 8df117055d19ff21c9c9951881c7bdf27cc0866ea3a4aa0614b2c3939cedceab94ac9abaa63dc4312b51562b27d708cb2f014c68c603fd1c1051d3ed5c1c3087 Size (spdlog-1.17.0.tar.gz) = 281801 bytes SHA1 (patch-CMakeLists.txt) = 3a8487ad4613817fa88eafd7a4a56e286aac0619 SHA1 (patch-include_spdlog_details_os-inl.h) = c69bed7278f2d9a04df89abe796aa999aefa7c34 SHA1 (patch-include_spdlog_tweakme.h) = 0e3f16aaf013535331a11be523dd731503c12717 @ 1.26 log @spdlog: updated to 1.17.0 1.17.0 Bump bundled {fmt} library to 12.1.0 Fix the %z formatter (UTC offset): Windows: Replaced implementation for better accuracy and speed (~2.5x) FreeBSD: Fixed incorrect implementation Fixed issue where the offset was not displaying as +00:00 when the formatter was configured to show UTC time. Removed unreliable fallback for Unix systems lacking tm_gmtoff. If compilation fails on such platforms, use SPDLOG_NO_TZ_OFFSET=ON (%z will display +??:?? instead of compilation error). Set CMAKE_BUILD_TYPE only in top-level project Change access scope for ANSI target_file_ from private to protected Fix UWP detection Fix include in tcp_client.h to avoid compilation failures Tests: Fix unit tests to respect default level names Docs: Fix misleading comment in blocking_queue header Fix sign-compare warning Fix sign conversion warnings in qt_sinks.h @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.25 2025/10/12 16:52:18 wiz Exp $ d7 1 @ 1.25 log @spdlog: update to 1.16.0. Bump bundled {fmt} library to 12.0.0 Use std::getenv #3414 by @@kfeng123 in #3415 Remove unnecessary and inconsistent "final" from color sinks by @@vadz in #3430 Fix ringbuffer sink for zero buffer size by @@gabime in #3436 Add option to override CMAKE_DEBUG_POSTFIX by @@joshuachp in #3433 Update README.md by @@yalov in #3437 Added timeout for TCP calls such as connect, send, recv by @@LowLevelLore in #3432 Run tests in the order they are declared by @@xvitaly in #3451 Remove the fileapi.h include in os-inl.h by @@MasonAngelio in #3444 @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.24 2025/05/09 13:53:25 adam Exp $ d3 3 a5 3 BLAKE2s (spdlog-1.16.0.tar.gz) = 37a38ce5bb30a1c745f29e94d9e244d22a3b8a8a53fb877c77b99c55b4ca002c SHA512 (spdlog-1.16.0.tar.gz) = 3c330162201fb405a08040327e08bc3f90336f431b8865d250e1cf171e48eb8a07a0245a8f60118022869de1ee38209b14da76bf6bcc2ec3da60f1853adaf958 Size (spdlog-1.16.0.tar.gz) = 280382 bytes @ 1.24 log @spdlog: updated to 1.15.3 1.15.3 Bumped bundled {fmt} library to 11.2.0 Fixed incorrect behavior in dup_filter_sink when reporting skipped messages Fixed MSVC C4530 warning when exceptions are disabled Added support for modifying max-size and max-files in rotating_file_sink after creation Added spdlog::register_or_replace(new_logger) to safely replace existing loggers in the registry Fixed broken links to the wiki and local references @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.23 2025/03/31 09:44:18 adam Exp $ d3 4 a6 4 BLAKE2s (spdlog-1.15.3.tar.gz) = afab5b9090cac5b770b09ba85c5ff93caa884f2efd82dd5becc1b2a7e39d8620 SHA512 (spdlog-1.15.3.tar.gz) = 21c35f4091850ea3a0cd6a24867e06e943df70d76cd5a7ec0b15a33e0e9e0cc3584ed7930e1ac6f347e7e06f0e002d0e759884eaf05310014e24ea0e0419fcc4 Size (spdlog-1.15.3.tar.gz) = 277691 bytes SHA1 (patch-CMakeLists.txt) = 514112da35473884d49464162d85c36b31330714 @ 1.23 log @spdlog: updated to 1.15.2 1.15.2 Upgraded bundled {fmt} to version 11.1.4 (faa0a7a) Fixed 3360, discovered by OSS-Fuzz regarding the %D format flag Fixed 3352: %z (UTC offset) on Apple and POSIX.1-2024-conforming platforms Updated README with ALT Linux installation instructions @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.22 2025/02/01 18:26:12 adam Exp $ d3 4 a6 4 BLAKE2s (spdlog-1.15.2.tar.gz) = 46a2d8f8d00d630add82e56ce5d7836f3a6efc06712afee5b57520539f324968 SHA512 (spdlog-1.15.2.tar.gz) = 4e86d79dea4f08b9e4755ada7c9395e03246d00cdc11df8951d32b5f5e823fec103091d11154f32b261a29574784b761efb32477ec6385ffdb2069413e2c91a0 Size (spdlog-1.15.2.tar.gz) = 275744 bytes SHA1 (patch-CMakeLists.txt) = 8dc34f866de225fba7897dc18fdf6dae75a28a51 @ 1.22 log @spdlog: updated to 1.15.1 1.15.1 Update bundled fmt version to 11.1.3 Use fwrite_unlocked() if available On-demand truncation for basic file sinks Allow manual rotation of rotating_file_sink Make null_sink final Fix: Add explicit fmt:: and std:: to avoid ambiguous calls Fix: Pass /utf-8 only when the compiler is MSVC Fix: Support bin_to_hex() when using std::format Support custom environment variables for load_env_levels Fix: Added a lock to rotate_now() Fix: Update to_string_view function for fmt 11.1 Fix: Remove unused to_string_view overload in fmt >= 11.1 Fix: Use string_view_literals to resolve issues Fix: Added a lock to set_color_mode(..) in ansicolor_sink Fix: Corrected comment in daily_file_sink Fix: Compatibility with fmtlib 11.1.1 @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.21 2024/12/30 02:08:55 ryoon Exp $ d3 3 a5 3 BLAKE2s (spdlog-1.15.1.tar.gz) = 42545c5ca191ed780700775ddbb6528e572e043670d2fcaac5dad306230c638d SHA512 (spdlog-1.15.1.tar.gz) = d6575b5cd53638345078a1c6a886293892359a07ee6de45e23d0c805bb33f59350f33060bce38824e09ce84525b575acdae7b94fc6e82191f5fd576f6c9252b2 Size (spdlog-1.15.1.tar.gz) = 275521 bytes @ 1.21 log @devel/spdlog: Fix build with fmtlib-1.11.1 Patch from upstream git repository. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.20 2024/11/10 19:57:53 adam Exp $ d3 4 a6 5 BLAKE2s (spdlog-1.15.0.tar.gz) = d0c6576303a65066af746b2f0b0ecef666c28e744eb8caf3e421d952fc239ca1 SHA512 (spdlog-1.15.0.tar.gz) = 3dd98409f4625ae4d46ef5f59a2fc22a6e151a13dba9d37433363e5d84eab7cca73b379eeb637d8f9b1f0f5a42221c0cc9a2a70414dc2b6af6a162e19fba0647 Size (spdlog-1.15.0.tar.gz) = 276012 bytes SHA1 (patch-CMakeLists.txt) = 558c2e168aba82b3a1b442eb756e1fd23213d2fd SHA1 (patch-include_spdlog_common.h) = 9f459fea25807ab6336af15531c95e5acd432d19 @ 1.20 log @spdlog: updated to 1.15.0 1.15.0 Update bundled fmt to 11.0.2 Add wide character formatting and output support to console in wincolor_sink. Allow customization of syslog_sink make example compatible with fmt 11 Fix building with FMT_ENFORCE_COMPILE_STRING fix: set /Zc:__cplusplus and /MP to MSVC only V1.x : fixed "suggest override" errors for gcc 8.5 and gcc 9.1 Add info about max_files in the docstrings of hourly/daily file sinks use std::lock_guard instead of std::unique_lock fix/issue-3101: fix the issue where mdc ignores SPDLOG_NO_TLS Update mdc.h error message [docs] Update conan install command in README Update CMakeLists.txt, Fix spelling errors Fix warning - extra ';' for -Wextra-semi Improve Cross-Platform Build Instructions in Documentation Exchange promise for condition_variable when flushing (fixes #3221) Ensure flush callback gets called in move-assign operator Make flush async again in async logger to prevent crashes and hangs Update README.md utf8_to_wstrbuf now handles invalid utf8 sequences Added tsan option to CMake and CI @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.19 2024/07/10 20:50:57 wiz Exp $ d7 1 @ 1.19 log @spdlog: fix build with fmtlib 11 using upstream patch @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.18 2024/04/30 18:09:10 adam Exp $ d3 3 a5 3 BLAKE2s (spdlog-1.14.1.tar.gz) = adbf3367de9a7e3962ff6d60fb54ff1da692d346d6d1420b28f236fe5d39748a SHA512 (spdlog-1.14.1.tar.gz) = d8f36a3d65a43d8c64900e46137827aadb05559948b2f5a389bea16ed1bfac07d113ee11cf47970913298d6c37400355fe6895cda8fa6dcf6abd9da0d8f199e9 Size (spdlog-1.14.1.tar.gz) = 270896 bytes a6 1 SHA1 (patch-example_example.cpp) = a6d542a4cd20aca8748629d07825cecad6ffee8f @ 1.18 log @spdlog: updated to 1.14.1 Version 1.14.1 Fixed compatibility issue between c++17 and c++11 Fixed creating folders under windows when full path with drive letter is given Added mdc sample. Note: mdc is not supported in async loggers. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.17 2024/04/26 17:20:24 adam Exp $ d7 1 @ 1.17 log @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 example @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.16 2024/01/12 11:48:47 adam Exp $ d3 3 a5 3 BLAKE2s (spdlog-1.14.0.tar.gz) = b8f4e001a4318f1b581398ff7c22337a250b3342a7b70c9f51076aa62e192699 SHA512 (spdlog-1.14.0.tar.gz) = 801a059901fbc3d79b63ecc8495c8198db0fdaf842ff79aa35e94027330219def22c3cb3d724d0f0e9573790a393de688d9445621f12417bb642568b93ce46d7 Size (spdlog-1.14.0.tar.gz) = 270013 bytes @ 1.16 log @spdlog: updated to 1.13.0 Version 1.13.0 Enhancements Qt Sink: Allow for darker colors for light backgrounds Set CMAKE_BUILD_TYPE only for single-config generators Provide spdlog_header_only in build directory export Add SPDLOG_TO_VERSION to compare spdlog version Support async_overflow_policy::discard_new Make syslog_sink.h's syslog_prio_from_level protected Fix OS availability check of pthread_threadid_np for iOS Add .git-blame-ignore-revs to ignore clang-format related commits Match SPDLOG_CONSTEXPR_FUNC to FMT_CONSTEXPR Bug Fixes Check fd_ is not nullptr in file_helper to prevent possible crash if disk is full Fix encoding issue in qt_sinks Fix wrong thread_id (TID) in systemd_sink.h Update example.cpp to fix the vector issue in bin_example Fix MSVC compile flag for no exceptions Fix bug in circular_q::size() Fix link to fmt license file Maintenance Added and updated various tests for circular_q. Removed obsolete part from CMake configuration files Removed policy_max from cmake_minimum_required(..). Updated clang-format to google style and updated various formatting scripts. Bumped to catch2 v3.5.0. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.15 2023/07/18 04:59:01 adam Exp $ d3 3 a5 3 BLAKE2s (spdlog-1.13.0.tar.gz) = 055b6511b34d5803f1e6edafe2cc63b4faec2e5e6503ec4c5d8efcffe6d21397 SHA512 (spdlog-1.13.0.tar.gz) = 44fcb414ad9fbbe2a6d72c29143eeeae477b687ed30ae870d661b032a029ad4214ef43e7ef6350d02791d05504492978ade2d6733fab12ce4884d8f0bc4c6340 Size (spdlog-1.13.0.tar.gz) = 264003 bytes @ 1.15 log @spdlog: updated to 1.12.0 1.12.0 Support for external fmtlib versions 10.x Better support for std::format Added new qt color sink. Logs to QTextEdit widget with some nice colors. Update #include to a deprecated fmt header Fixes and impovements to dup_filter_sink Fix unnecessary empty backtrace begin/end logs Fixed variable name in msvc_sink Add system includes (SPDLOG_SYSTEM_INCLUDES) cmake option Improve dequeue of the async queue Fix tcp_client sink for FreeBSD Support linux/musl libc Support newlib C library configurations without tm_gmtoff field Fix type of event id in win_eventlog_sink Fix -Wshadow warnings in spdlog::sinks::dist_sink Spelling corrections Add sync() function to file_helper Add a trivial callback_sink Fix unexpected delimiter at start of line in to_hex formatter Fix MinGW build issue on example Add optional TID definition to the systemd sink Added apply_logger_env_levels() Support utf8 in msvc_sink Better handling of utf to wchar (66407f5). Use catch v3 for tests New kafka sink Fix os namespace in systemd_sink.h Enable systemd_sink tests in linux pipeline Fix stdout_sink_base::log's fflush() behaviour inconsistency Fix for missing pthread_threadid_np in macOS < 10.6 and PowerPC Fix ringbuffer_sink moving warning Update INSTALL doc Fix warning in qt_sinks.h Remove IPv4 limitation from tcp_client Fix android sink when message is not loggable @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.14 2023/05/17 08:20:06 wiz Exp $ d3 3 a5 3 BLAKE2s (spdlog-1.12.0.tar.gz) = 5e6ee19f09235f58b2a845906b8ec8befb288391a56e000ac0558c6e7155eaab SHA512 (spdlog-1.12.0.tar.gz) = db9a4f13b6c39ffde759db99bcdfe5e2dbe4231e73b29eb906a3fa78d6b8ec66920b8bd4371df17ae21b7b562472a236bc4435678f3af92b6496be090074181d Size (spdlog-1.12.0.tar.gz) = 251037 bytes @ 1.14 log @spdlog: fix build with latest fmtlib using upstream patch @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.13 2022/11/26 13:47:13 nia Exp $ d3 4 a6 5 BLAKE2s (spdlog-1.11.0.tar.gz) = b6fdf69002f5591045e8377fc02a20da4090676d786d9348cc5ed2404f26fc03 SHA512 (spdlog-1.11.0.tar.gz) = 210f3135c7af3ec774ef9a5c77254ce172a44e2fa720bf590e1c9214782bf5c8140ff683403a85b585868bc308286fbdeb1c988e4ed1eb3c75975254ffe75412 Size (spdlog-1.11.0.tar.gz) = 373033 bytes SHA1 (patch-CMakeLists.txt) = 7da54588522ca9cf4b1816d6f65a8f31eda43332 SHA1 (patch-include_spdlog_common.h) = 75c8f06cf2fff2e505d96bc9c62010b17cd3fe60 @ 1.13 log @spdlog: Fix building of dependent packages (e.g. nxengine-evo) @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.12 2022/11/12 15:06:06 ryoon Exp $ d7 1 @ 1.12 log @spdlog: Fix shared library symlink name And do not build in source directory for easier debugging. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.11 2022/11/11 18:36:47 adam Exp $ d7 1 @ 1.11 log @spdlog: updated to 1.11.0 Version 1.11.0 Update to fmt lib version 9.1.0. Fix template instantiation warning. Event handlers improvements. Allow modifying the used Android buffer ID. Fix clone in async test. Custom formatting optimization. Fix C++14 builds for gcc 4.x. Add minor version to CMake's SOVERSION Allow compilation with FMT_ENFORCE_COMPILE_STRING. Fix pkg-config generation. Remove unused code from null_mutex. Fix redundant std::move. Remove the empty file if in first period in hourly logger. Add reset_overrun_counter() function to the async logging Set C++20 in CMake when SPDLOG_USE_STD_FORMAT option is turned on. Fix mingw test. Support for any std::chrono::duration type in flush_every(..). Fix implicit casting of level_enum. Comment fix. Fix gcc 4.x build. Add openSUSE installation instructions. Fixed missing include file in stopwatch.h. Support for omitting source info by defining SPDLOG_NO_SOURCE_LOC. Added SPDLOG_BUILD_PIC build option to CMake. Fix include windows.h. Workaround gcc 12 warnings. Migrate to Github Actions CI. Replace iterator difference with std::distance Export targets file to build directory at configure time. MongoDB sink improvements. Fix shadow warning in dist_sink. Fixed msvc warning C4800 in win_eventlog_sink Check IsDebuggerPresent() in msvc_sink before doing actual work. To use old behavior pass false to the msvc_sink constructor. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.10 2022/04/20 20:42:45 wiz Exp $ d6 1 @ 1.10 log @spdlog: update to 1.10.0. Bump fmt to version 8.1.1. Added file event handlers #2165, #2169 Thanks @@seker. You can get callbacks from spdlog before/after log file has been opened or closed. This is useful for cleanup procedures or for adding something to the start/end of the log files. Fixed rotating file sink: when disk is full log rotation resulted zero size log files. #2261. (thanks @@kishorekrd for reporting). Added new udp_sink #2090. Thanks @@CJLove (Experimental) Option to depend on std::format instead of fmtlib (set SPDLOG_USE_STD_FORMAT and use C++20). #2170 Thanks @@sylveon . Improved file name for hourly file sink #2047. Thanks @@seker . Added code location information for error handler #2048. Thanks @@D-r-P-3-p-p-3-r . Fixed qt_sinks ctor #2056. Thanks @@mguludag . List Debian instructions in the README #2057. Thanks @@mr-c , Updated to latest Travis CI Build Status #2094. Thanks @@jspraul . Fixed unhandled errors in udp sink. #2096. Thanks @@mmarkeloff . CMake improvement regarding cmake_minimum_required and policy. #2098. Thanks @@reddwarf69 . Fixed mongo_sink compile in older gcc versions #2102 . Thanks @@yzz-ihep . Remove mutable keyword from mutex_ member in of sinks. #2140 . Thanks @@sunlong169 . Fix typos #2171. Thanks @@rex4539 . Fixed udp sink build on FreeBSD #2172. Thanks @@keith-dev . Avoid c-style casting in stdout sinks. #2179. Thanks @@ibmibmibm . Fixed tweakme.h compile error under msvcs when SPDLOG_FUNCTION is defined #2182. Thanks @@Light3039 . Fixed compiling errors on AIX #2181. Thanks @@lisr . Fixed runtime when build with -fsanitize=cfi #1972. Thanks @@bansan85 . Remove extraneous semicolon #2190. Thanks @@sylveon. Added example how to replace default logger. #2194. Thanks @@rioki . Fixed usage of ranges and to_hex in the same compile unit #2195. Thanks @@patrickroocks . Reduce warnings with pedantic compiler -Wuseless-cast #2216. Thanks @@vnepogodin . Support using std::span in to_hex #2228. Thanks @@timblechmann . Reset current size if rotated files on open #2234. Thanks @@SpriteOvO . Allow forward-declaration of level_enum #2245. Thanks @@daverigby . Call localtime() only if pattern_formatter really needs it #2246. Thanks @@doug1234 . Removed unneeded spaces from code. #2249. Thanks @@PixelParas . Added a few missing files/directories to the gitignore #2255. Thanks @@LeonBrands . Fixed issue #2201 (Pattern width is not applied for missing source information). #2269. Thanks @@kyuheon-kr . Limit max number of rotating files to 200000. (Fixed #1905). Thanks @@surfycui (#2273) pattern_formatter: fix reorder-ctor warning #2278. Thanks @@adriweb . Fixed spdlogConfig.cmake when built with SPDLOG_FMT_EXTERNAL_HO #2300. Thanks @@adamcalhoon . Fixed fopen_s(..) error handling when PREVENT_CHILD_FD is defined #2305. Thanks @@nUl1. Fixed compiler error when building on Windows with #define UNICODE #2317. Thanks @@risa2000 . Added option to enable formatting of systemd sink #2324, #2320. Thanks @@Delgan . Added optional "ident" argument to systemd sink constructor #2328. Thanks @@Delgan . @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.9 2022/01/25 04:12:41 mef Exp $ d3 3 a5 3 BLAKE2s (spdlog-1.10.0.tar.gz) = db4f6fbb3b292cf812cbf0dd0ed6a082f423b8f139aa7b57a7f544820db4bc61 SHA512 (spdlog-1.10.0.tar.gz) = e82ec0a0c813ed2f1c8a31a0f21dbb733d0a7bd8d05284feae3bd66040bc53ad47a93b26c3e389c7e5623cfdeba1854d690992c842748e072aab3e6e6ecc5666 Size (spdlog-1.10.0.tar.gz) = 368651 bytes @ 1.9 log @(devel/spdlog) Updated 1.8.5 to 1.9.2 (https://github.com/gabime/spdlog/releases/tag/v1.9.2) Version 1.9.2 Latest @@gabime gabime released this Aug 13, 2021 175 commits to v1.x since this release v1.9.2 eb32206 Fixed clang compiler errors when using spdlog in c++20. Thanks @@dkavolis (#2037, #2034). Fixed the Qt sinks to accurately trim the newline chars. Thanks @@MadMax411 (#2015). Improved and simplified Qt sinks implementation. Thanks @@mguludag (#2016, #2018). Fixed macro SPDLOG_LEVEL_NAME_xxx to always translate to the spdlog namespace. Thanks @@ashley-b for reporting (#2022). Fixed typo in readme. Thanks @@p-ranav (#2024). Fixed the MongoDB sink compilation in c++11. Thanks @@jabartek (#2025). Fixed double include of same file in thread_pool.h . Thanks @@hbwang15 (#2026). Ensure that the CMake exported package is relocatable. Thanks @@daverigby (#2029). Remove std::distance usage for possible performance gain. Thanks @@neheb (#2030). Support of inclusion of bin_to_hex.h in any order with spdlog.h. Thanks @@dmerkushov (#2035). Fixed install instructions for "header only" dir. Thanks @@madeso (#2036). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.8 2021/10/26 10:19:56 nia Exp $ d3 3 a5 3 BLAKE2s (spdlog-1.9.2.tar.gz) = e5159d9133b1593bf0f192648778d1d5471b8310968091a3473c1de01927d30e SHA512 (spdlog-1.9.2.tar.gz) = 87b12a792cf2d740ef29db4b6055788a487b6d474662b878711b8a5534efea5f0d97b6ac357834500b66cc65e1ba8934446a695e9691fd5d4b95397b6871555c Size (spdlog-1.9.2.tar.gz) = 327799 bytes @ 1.8 log @archivers: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Could not be committed due to merge conflict: devel/py-traitlets/distinfo The following distfiles were unfetchable (note: some may be only fetched conditionally): ./devel/pvs/distinfo pvs-3.2-solaris.tgz ./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.7 2021/10/07 13:44:31 nia Exp $ d3 3 a5 3 BLAKE2s (spdlog-1.8.5.tar.gz) = 1c55f5c35dac97b8aa13f99e408cca68c063696b46dea8d043493d112e869aca SHA512 (spdlog-1.8.5.tar.gz) = 77cc9df0c40bbdbfe1f3e5818dccf121918bfceac28f2608f39e5bf944968b7e8e24a6fc29f01bc58a9bae41b8892d49cfb59c196935ec9868884320b50f130c Size (spdlog-1.8.5.tar.gz) = 321229 bytes @ 1.7 log @devel: Remove SHA1 hashes for distfiles @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.6 2021/04/02 08:32:57 wiz Exp $ d3 1 a3 1 RMD160 (spdlog-1.8.5.tar.gz) = f1bb9876c96f7f199a74a30acc26a636ec9662aa @ 1.6 log @spdlog: update to 1.8.5. 1.8.5 Fix compiling with C++17: remove constexpr on level_string_views. Thanks @@stevenlunt (#1889). 1.8.4 Remove version requirement from find_package when searching external fmt. #1890. Thanks @@prince-chrismc 1.8.3 New hourly file sink . Creates new file every hour. Can be limited to retain only the last N files. Thanks @@BVonk (#1763). New daily sink filename custom formatting. Users now can pass custom strftime pattern to the log filename. For example: daily_logger_format_mt("loggername", "log-%Y%m%d:%H:%M.txt", hours, minutes);. Thanks @@fawdlstty (#1847). Fix windows event sink log compilation with UNICODE preprocessor. Thanks @@iko1 (#1760). Add SPDLOG_DISABLE_DEFAULT_LOGGER as a CMake option. Thanks @@shimaowo (#1765, #1766). Improve color terminal detection. Thanks @@dominicpoeschko (#1768). Prevent windows color sink to leak windows headers into user code Thanks @@Ryan-rsm-McKenzie (#1771). Ensure SPDLOG_FMT_EXTERNAL is honored in the bench program. Thanks @@Ryan-rsm-McKenzie (#1773). Skip CMake module mode when finding fmt. Thanks @@Ryan-rsm-McKenzie (#1774). Better support for "/" separators on Windows, and improve wchar filename test coverage. Thanks @@sylveon (#1787). Open files with "ab" mode even if truncating to better support logrotate(8). Thanks @@graydon (#1795). Fix compiling error and typo in hourly file sink. Thanks @@sillykelvin (#1805). Add constexpr to SPDLOG_LEVEL_NAMES declaration. Thanks @@gv-me (#1798). Initializer list style consistency. Thanks @@ChristianPanov (#1807). Fix call to non-constexpr function (#1811). Better numeric_limits<>::max/min fix when SPDLOG_WCHAR_TO_UTF8_SUPPORT is defined. Thanks @@NukeULater (#1819). Fix to prevent MSVC warning flags to propagate to CUDA. Thanks @@prateek9623 (#1825, #1829). Fix windows stdout_sink raising exception when used GUI Windows Apps that lack a console. Thanks @@dgehri for reporting (#1828). Simplified wincolor sink code and intensify the red and yellow colors. Set default value to registry::err_handler_ to resolve Klocwork warning. . Thanks @@jneruda (#1835). Formatter bench: Fix compilation by avoiding function name decay mechanics. Thanks @@MathiasMagnus (#1846). Add build2 package support in readme. Thanks @@Klaim (#1851). Make sure __cplusplus is defined under msvc CMakeLists.txt Fixed VS2019 W4 cast warning (#1876). Fix warning whe the compilation flag -Wswitch-default is present. Thanks @@imsherlock (#1882). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.5 2021/01/04 12:03:24 wiz Exp $ a2 1 SHA1 (spdlog-1.8.5.tar.gz) = e386cc71dba1c4d7fe5f6bf1f41fd39976975b2b @ 1.5 log @spdlog: update to 1.8.2. Bump fmt to version 7.1.3 Download automatically googlebenchmark for bench tests (#1709) Thanks @@kitattyor. Add CPack debian package settings (#1712) and fix typo in comment (#1711). Thanks @@ChristofKaufmann. Perfect forwarding fmt arguments (#1726). Thanks @@dkavolis. Fix dup_filter_sink to log current log call's level, instead of the filtered log call's level (#1710). Thanks @@Tridacnid for reporting. Ability to get size of messages queue of async thread pool (#1735) Thanks @@o2gy84. Add missing include (#1742). Thanks @@jwittbrodt. Updated bin_to_hex example in the readme (#1744). Thanks @@ArnaudBienner. Fix async periodic flush test (#1749). Thanks @@bluescarni. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.4 2020/10/06 09:25:26 wiz Exp $ d3 4 a6 4 SHA1 (spdlog-1.8.2.tar.gz) = 4437f350ca7fa89a0cd8faca1198afb36823f775 RMD160 (spdlog-1.8.2.tar.gz) = db24b8bc46c2cfcfb76c71c8040f32f884d0ffbf SHA512 (spdlog-1.8.2.tar.gz) = 7a0a2353a10187cc314253b366fc46be8f9fe2480d2cbac3a96a8e6825ee4b62b0a5ebb3add2b22b5d7ca8fe6dddd963926603e5296e3431c0a4f7ac42beda7f Size (spdlog-1.8.2.tar.gz) = 319010 bytes @ 1.4 log @spdlog: update to 1.8.1. 1.8.1 Fixed load_env_levels() and load_argv_levels() #1680 (thanks @@Tridacnid ). Fixed stdout sink that produced extra carriage returns on Windows #1675 (thanks @@chris-t-w ). Fixed msvc_sink including windows.h #1667 (thanks @@Ryan-rsm-McKenzie). Fixed stopwatch's clock to use chrono::steady_clock #1676 (thanks @@SuperWig). Added support for Rcpp (R cpp compiler) #1685 (thanks @@eddelbuettel). 1.8.0 Upgraded bundled fmt to version 7.0.3. New stopwatch utility for quick & easy logging of elapsed time. Raised CMake requirement to 3.10 and cleanup CMakeLists.txt (#1624). Thanks @@tambry. Added get_level() and should_log() functions to the spdlog:: namespace (#1628). Thanks @@eyalroz. Fixed tcp_client for macOS (#1640). Thanks @@dkruempe. Fixed cfg::load_env_levels() function declaration (#1651). Thanks @@bareya. Updated Fedora install info in the readme (#1653). Thanks @@gk6k6k. Fixed #1617 (aligned function pattern flag is broken). Thanks @@VelocityRa for reporting. Fixed #1581 (compiling under msys in win10). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.3 2020/08/24 08:44:56 wiz Exp $ d3 4 a6 4 SHA1 (spdlog-1.8.1.tar.gz) = a0fe45cfb77cb4201e9a0e40325c1792dd434a28 RMD160 (spdlog-1.8.1.tar.gz) = 6113fba7c9ad6efbf7d302a367f20d20cd030f44 SHA512 (spdlog-1.8.1.tar.gz) = ef855f4f91ed8aba89ef0191a9fd70f73a49567332f7eb42da1604e3a7dda3bbe48db3fd0fae317bb11ee95315d8cd62bf586d2de919ca0978d91e5a971b1c3f Size (spdlog-1.8.1.tar.gz) = 293528 bytes @ 1.3 log @spdlog: update to 1.7.0. * Support for using external fmt version 7.x (bundled version is 6.2.1). Thanks @@candrews .(22bee81). * Fixed to_hex segmentation fault (#1611, 19f2804). Thanks @@vitaut, @@xvitaly, @@kekePower and @@lgbaldoni. * Support for FMT_STRING compile time checking. Thanks @@Tridacnid (30ee690). * Fixed shared library building failure on Windows with non MSVC. Thanks @@podsvirov (fe97a03). * Fixed mingw testcase. Thanks @@podsvirov (075dcee). * Clean CMakeLists.txt. Thanks @@Pospelove (cf55e5d). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2020/06/05 11:22:44 ryoon Exp $ d3 4 a6 4 SHA1 (spdlog-1.7.0.tar.gz) = e938ebb30b258bcbb4e55a02388c415bad35d8c4 RMD160 (spdlog-1.7.0.tar.gz) = 79862d275eefbd078b79a62da870e9351cde3920 SHA512 (spdlog-1.7.0.tar.gz) = e15d461ac7a6d3d3186fe4283e4fbaf56b2ce3011babf892e3b2d3dbdd7e999a861f1f6f67a9d88a5cf488a440add087ea78e96131f49b52ed6c7815a972799a Size (spdlog-1.7.0.tar.gz) = 285615 bytes @ 1.2 log @spdlog: Update to 1.6.1 Changelog: 1.6.1 Fixed deadlock in daily_file_sink that happened while cleaning older files. Thanks @@IIFE for reporting(#1570) and for fixing(#1571). Fixed ringbuffer_sink::last_raw() and ringbuffer_sink::last_formatted() that didn't return latest elements. Thanks @@vekkuli for reporting and fixing (#1563). Fixed missing symbol wstr_to_utf8buf(..) in windows dll build. Thanks @@haquocviet for reporting (#1569). Bumped bundled fmt to version 6.2.1. 1.6.0 What's new Load log levels from environment variable SPDLOG_LEVEL : #include "spdlog/cfg/env.h" ... spdlog::cfg::load_env_levels(); $ # set log level to debug $ SPDLOG_LEVEL=debug && ./example $ # set to info except for mylogger which is set to trace: $ SPDLOG_LEVEL=info,mylogger=trace && ./example $ # turn off all logging except for mylogger which is set to debug:: $ SPDLOG_LEVEL=off,mylogger=debug && ./example Load log levels from argv (e.g. ./example SPDLOG_LEVEL=debug): #include "spdlog/cfg/argv.h" ... spdlog::cfg::load_argv_levels(argc, argv); New windows eventlog sink . Thanks @@ban-dana (#1418). New tcp sink that sends log messages in tcp to a remote server. Thanks @@Proheeler (#1426). Extend spdlog with your own flags in the log pattern. See wiki for details. Support for building spdlog as dll under windows. Thanks vejmartin (#1467, 3b73278, 5b3a183). Bump the bundled fmt version to 6.2.0 . Fixes and Improvements Prevent race condition when SPDLOG_PREVENT_CHILD_FD is defined. Thanks @@dominicpoeschko (#1423). Fix race condition in the filename() function in the file sinks. Thanks @@tt4g (#1430, #1431). Fix ansicolor_sink::set_color(..) - can cause memory violation if user provides a custom color code that points to stack memory (#1540, 0b36d4e). Thanks @@caizongchao for reporting. Fix potential buffer overflow in color_sinks if creating multiple color sinks in the same logger and one of them has a pattern without color flags (#1452, 64de880). Thanks @@dominicpoeschko for reporting. Optimize cases when string_view is passed to the logger to avoid unnecessary fmt::format. Thanks dominicpoeschko (#1424) . Support for max files in daily logger - delete oldest files after creating the daily file. Thanks @@ruoshui1314 (#1394). Fix deprecated warning with C++14 and external fmt lib (#1439). Thanks @@ClausKlein for reporting. Optimize colos sinks to use std::array instead of map to find color codes (695912c, 4b7c059). Thanks @@qis for the suggestion. Fix Win32 event log sink compilation. Thanks @@Crunkle (#1444). Don't include windows.h in common.h. Thanks @@ghost (#1453). Resolve erroneous clang-tidy warning about using a moved from pointer. Thanks @@Ruffel (#1457). Fixed numerous clang-tidy warnings. Added options to to_hex to output hex like hexdump. Thanks @@ngugcx (#1472). Fix Windows setenv check. Thanks @@Crunkle (#1475). Removed the 'SPDLOG_NO_NAME` macro in tweakme.h and cmake. Added a forward declaration header spdlog\fwd.h . Thanks @@horenmar for the suggestion (#1481). Moved throw to dedicated function to optimize compile-time and runtime-performance. Thanks @@horenmar for the suggestion (#1483). Fix a build issue when SPDLOG_PREVENT_CHILD_FD is defined. Thanks @@Naios (#1487). Fix issue with using external fmt (#1480). Thanks @@nalinigans for reporting. Minor performance optimizations in pattern formatter (ca9c83f, 76389e0, 7766bc2, d38bd13) Fixed on Android compilation #1527. Thanks @@Bizyroth for reporting. Add log function to the logger API to allow logging with custom timepoint. #1521 - Thanks @@ron003 . Fix missing exported symbol when building spdlog.dll in windows (#1535, 348c438). Thanks @@plmzod for reporting. Dropped meson support. Fix typos and tabs in the code. Thanks @@waywardmonkeys (#1536) . CMake: Fix GNUInstallDirs include location Thanks @@vitlav (#1407). CMake: workaround for Unknown extension ".c" for file issue . Thanks @@niamster (#1442). CMake: Support CPack RPM generation. Thanks @@tcraigtyler (#1451). CMake: Disabled extra warnings generation by default. Use SPDLOG_BUILD_WARNINGS=ON to enable again. Thanks @@Glamhoth (#1503 02802af, 6440733, 1f7f1c1) CMake: Support for precompiled headers with SPDLOG_ENABLE_PCH flag. Thanks @@OlivierLDff (#1484). CMake: Add /WX MSVC compiler option for only if mscv compiler is used. Thanks @@trondhe (#1495). CMake: Set minimum version of fmt to 5.3.0. Thanks @@Montellese (#1525). CMake: Fix tabs, whitespaces and eol. Thanks @@waywardmonkeys (#1537). Tests: removed duplicate entry for count_lines(). Thanks @@emmenlau (#1417). Tests: don't run spdlog-utests and spdlog-utests-ho in parallel. Thanks @@tt4g (#1421). Tests: Enable running the tests against an installed copy of spdlog. Thanks @@mr-c (#1422). Tests: Support empty SPDLOG_EOL. Thanks @@emmenlau (#1414). README: add conda as a supported package manager . Thanks @@avrahamshukron (#1473). README: Replace yaourt with yay` pacakge manage for archlinux. Thanks @@zyansheep (#1494). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1 2020/02/05 13:32:27 ryoon Exp $ d3 4 a6 4 SHA1 (spdlog-1.6.1.tar.gz) = dad49a321f313dd6d9d09b64694f01d76af13432 RMD160 (spdlog-1.6.1.tar.gz) = 5c218c33a8b295969b4fc771d4a3632c341509ef SHA512 (spdlog-1.6.1.tar.gz) = 1e15e7710744212240d79897af8c3bde14fe3b745a1377643d18dc0038f18fc7582236ff21836d3eae2c75cf1f4820ca4c642c5c3f63f9ae138289aa4d00e22e Size (spdlog-1.6.1.tar.gz) = 285531 bytes @ 1.1 log @devel/spdlog: import spdlog-1.5.0 Very fast, header-only/compipled, C++ logging library. @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 4 SHA1 (spdlog-1.5.0.tar.gz) = e7aa5db40beeac011590d879931ff4f1382d507e RMD160 (spdlog-1.5.0.tar.gz) = aff8f2931396d1ef3ed9956cfe1ced774647a663 SHA512 (spdlog-1.5.0.tar.gz) = 78991c943dd95af563c4b29545b9b5d635caf1af5031262dde734ecf70c0b4ae866d954ee77b050f9f0cc089a3bc57ee9583895e51cb00dd1cc6c10ff905ca34 Size (spdlog-1.5.0.tar.gz) = 270416 bytes @