./devel/spdlog, Fast C++ logging library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.10.0, Package name: spdlog-1.10.0, Maintainer: ryoon

Very fast, header-only/compiled, C++ logging library.

Required to run:

Required to build:

Master sites:

Filesize: 360.011 KB

Version history: (Expand)

CVS history: (Expand)

   2022-04-24 21:53:22 by Tobias Nygren | Files touched by this commit (1)
Log message:
spdlog: needs -lsocket on SunOS
   2022-04-20 22:42:46 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
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 \ 
    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 .
   2022-01-25 05:12:41 by Makoto Fujiwara | Files touched by this commit (3)
Log message:
(devel/spdlog) Updated 1.8.5 to 1.9.2

Version 1.9.2 Latest
@gabime gabime released this Aug 13, 2021
 175 commits to v1.x since this release

    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 \ 
    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 \ 
   2022-01-18 16:20:29 by Tobias Nygren | Files touched by this commit (1)
Log message:
spdlog: drop BUILDLINK_DEPMETHOD.spdlog=build

no longer appropriate with dynamic library
   2022-01-18 15:17:22 by Tobias Nygren | Files touched by this commit (2)
Log message:
spdlog: build as dynamic library instead of static

Got relocation errors while linking gnuradio on Linux with the static
library due to missing -fPIC.
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
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:

The following distfiles were unfetchable (note: some may be only fetched

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-04-02 10:32:58 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
spdlog: update to 1.8.5.


Fix compiling with C++17: remove constexpr on level_string_views. Thanks \ 
@stevenlunt (#1889).


Remove version requirement from find_package when searching external fmt. #1890. \ 
Thanks @prince-chrismc


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 \ 
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).