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 | |
---|---|---|
.. | ||
spdlog | 6 years ago |