- Add option for CMake to target and link only
spdlog
headers (#61)- Fix #60
- Add Windows
msvc_sink
support (#58) - Fix loop not using const-ref to resolve compile errors on Xcode 12 (#56)
- Add option for CMake to disable generation of install target (#51)
- Add support for async logger. This fixes
(#44)
- This makes logger accepts
type
, which takes insync
orasync
.sync
is default. Refer to example in README for more details.
- This makes logger accepts
- Change support to
spdlog
v1.y.z
tag release, currently tested allv1.0.0
tov1.3.1
to be working. This fixes (#26).simple_file_sink_st
becomesbasic_file_sink_st
simple_file_sink_mt
becomesbasic_file_sink_mt
syslog_sink
splits intosyslog_sink_st
andsyslog_sink_mt
- Fix CMake package finding failure when installed using submodule
spdlog
(#23). - Fix global pattern not used by subsequent loggers other than the first (#19).
- Add functions that allow configuration overrides:
from_file_and_override
from_file_and_override_with_tag_replacement
save_logger_to_file
delete_logger_in_file
- Use
spdlog_setup/conf.h
instead ofspdlog_setup.h
. Reason for change is to allow inlining ofcpptoml
andfmt
libraries. - No changes to the
TOML
configuration format. - Switch back to exception based strategy for handling error.
spdlog_setup::setup_error
exception contains error messages similar tov0.1
. Rationale of change is to align to C++ idiomatic approach of using exception of handling error. - Change to exception based handling means a change of API, so check out the examples to observe the changes.
- Strip down many
git
submodules, leaving onlyCatch2
(unit-test) andspdlog
only, which is much better for installation. Forspdlog
, it is replaceable and likely to work if replaced with custom and newer versions, unless there are major API changes.
- Basic implementation that reads from TOML configuration for set-up.