mirror of https://github.com/gabime/spdlog.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() ... in order to support logical hierarchy of loggers. Imagine you have something like this architecture: Application / Controller / First / Second And you want to have a log messages and understand from witch part it come, after this changes you can do: ``` first_controller_logger = controller_logger.clone("first", true); ``` and you will get in log output something similar to: ``` [2014-10-31 23:46:59.678] [controller.first] [info] Some message ``` What is quite convenient. Actually now you can do it by wrapping clone method, but with my changes it won't require any user's code. Thanks. |
6 years ago | |
---|---|---|
.. | ||
CMakeLists.txt | 6 years ago | |
catch.hpp | 6 years ago | |
catch.license | 6 years ago | |
includes.h | 6 years ago | |
main.cpp | 10 years ago | |
meson.build | 6 years ago | |
test_async.cpp | 6 years ago | |
test_backtrace.cpp | 6 years ago | |
test_create_dir.cpp | 6 years ago | |
test_daily_logger.cpp | 6 years ago | |
test_dup_filter.cpp | 6 years ago | |
test_errors.cpp | 6 years ago | |
test_eventlog.cpp | 6 years ago | |
test_file_helper.cpp | 6 years ago | |
test_file_logging.cpp | 6 years ago | |
test_fmt_helper.cpp | 6 years ago | |
test_macros.cpp | 6 years ago | |
test_misc.cpp | 6 years ago | |
test_mpmc_q.cpp | 6 years ago | |
test_pattern_formatter.cpp | 6 years ago | |
test_registry.cpp | 6 years ago | |
test_sink.h | 6 years ago | |
test_stdout_api.cpp | 6 years ago | |
test_systemd.cpp | 6 years ago | |
utils.cpp | 6 years ago | |
utils.h | 6 years ago |