forked from pool/spdlog
Accepting request 628995 from devel:libraries:c_c++
- Update to version 1.0.0 - Highlights * Include what you need: Reduce compilation times by including only the minimum required. Users can now to include only the actual sinks/features they need from spdlog/sinks folder. * Upgrade to fmt lib version 5.1 * Support for custom formatting per sink - each sink can have it's own formatting and level using sink->set_pattern(..) or sink->set_formatter(..). * async logging - thread pool - async loggers now share a global thread pool by default. * periodic flusher: spdlog::flush_every(seconds) to periodically flush all registered loggers. * Improved performance - by caching some recently used values in the pattern formatter. * Ability to add sinks to a logger after its creation (but it is not thread safe to do so - so use with caution). - Breaking changes * Include what you need. For example to use basic_logger add #include "spdlog/sinks/basic_file_sink.h" * To use async loggers - include "spdlog/async.h" * Replaced set_async_mode(..) with factory template. * Removed printf support. * Removed warmup/teardown functions from async. * Custom sinks inheriting from sinks::base_sink need to format (if needed) the message before sending to their target. * Added clone() virtual function to the formatter interface. * Removed support for #define SPDLOG_NO_REGISTRY_MUTEX OBS-URL: https://build.opensuse.org/request/show/628995 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spdlog?expand=0&rev=3
This commit is contained in:
commit
253282f0a2
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b88d7be261d9089c817fc8cee6c000d69f349b357828e4c7f66985bc5d5360b8
|
|
||||||
size 163636
|
|
@ -1,3 +1,36 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 13 08:32:18 UTC 2018 - windowskaput@gmail.com
|
||||||
|
|
||||||
|
- Update to version 1.0.0
|
||||||
|
- Highlights
|
||||||
|
* Include what you need: Reduce compilation times by including
|
||||||
|
only the minimum required. Users can now to include only
|
||||||
|
the actual sinks/features they need from spdlog/sinks folder.
|
||||||
|
* Upgrade to fmt lib version 5.1
|
||||||
|
* Support for custom formatting per sink - each sink can have
|
||||||
|
it's own formatting and level using sink->set_pattern(..) or
|
||||||
|
sink->set_formatter(..).
|
||||||
|
* async logging - thread pool - async loggers now share a global
|
||||||
|
thread pool by default.
|
||||||
|
* periodic flusher: spdlog::flush_every(seconds) to periodically
|
||||||
|
flush all registered loggers.
|
||||||
|
* Improved performance - by caching some recently used values in
|
||||||
|
the pattern formatter.
|
||||||
|
* Ability to add sinks to a logger after its creation
|
||||||
|
(but it is not thread safe to do so - so use with caution).
|
||||||
|
|
||||||
|
- Breaking changes
|
||||||
|
* Include what you need. For example to use basic_logger add
|
||||||
|
#include "spdlog/sinks/basic_file_sink.h"
|
||||||
|
* To use async loggers - include "spdlog/async.h"
|
||||||
|
* Replaced set_async_mode(..) with factory template.
|
||||||
|
* Removed printf support.
|
||||||
|
* Removed warmup/teardown functions from async.
|
||||||
|
* Custom sinks inheriting from sinks::base_sink need to format
|
||||||
|
(if needed) the message before sending to their target.
|
||||||
|
* Added clone() virtual function to the formatter interface.
|
||||||
|
* Removed support for #define SPDLOG_NO_REGISTRY_MUTEX
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 17 12:41:25 UTC 2018 - jengelh@inai.de
|
Tue Apr 17 12:41:25 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
37
spdlog.spec
37
spdlog.spec
@ -16,42 +16,41 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define user gabime
|
||||||
|
|
||||||
Name: spdlog
|
Name: spdlog
|
||||||
Version: 0.16.3
|
Version: 1.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: C++ header only logging library
|
Summary: C++ header only logging library
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Url: https://github.com/gabime/spdlog/
|
URL: https://github.com/%{user}/%{name}/
|
||||||
Source0: https://github.com/gabime/spdlog/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/%{user}/%{name}/archive/v%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: dos2unix
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
spdlog is a C++ logging library implemented in headers only. It
|
This is a packaged version of the gabime/spdlog header-only C++
|
||||||
supports the ostream call style, has an (optional) asynchronous mode
|
logging library available at Github.
|
||||||
with lockfree queues, allows for custom formatting, knows
|
|
||||||
single-/multi-threaded loggers, has various log targets, log
|
|
||||||
rotation, can be extended with custom log targets, and has
|
|
||||||
compile-time and run-time severity-based filtering.
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for spdlog, a C++ header-only logging library
|
Summary: Development files for %{name}
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
|
Provides: %{name} = %{version}-%{release}
|
||||||
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
|
Requires: libstdc++-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
spdlog is a C++ logging library implemented in headers only. It
|
The %{name}-devel package contains C++ header files for developing
|
||||||
supports the ostream call style, has an (optional) asynchronous mode
|
applications that use %{name}.
|
||||||
with lockfree queues, allows for custom formatting, knows
|
|
||||||
single-/multi-threaded loggers, has various log targets, log
|
|
||||||
rotation, can be extended with custom log targets, and has
|
|
||||||
compile-time and run-time severity-based filtering.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup
|
||||||
dos2unix README.md
|
find . -name '.gitignore' -exec rm {} \;
|
||||||
|
sed -i -e "s,\r,," README.md
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake
|
%cmake
|
||||||
|
3
v1.0.0.tar.gz
Normal file
3
v1.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:90d5365121bcd2c41ce94dfe6a460e89507a2dfef6133fe5fad5bb35ac4ef0a1
|
||||||
|
size 183855
|
Loading…
x
Reference in New Issue
Block a user