
Functions | |
| std::shared_ptr< spdlog::logger > | mqss::qrmci::makeLogger (std::string_view name, std::string_view logFile={}) |
Create a logger writing to the console and, if logFile is given, to a rotating file alongside it. | |
Variables | |
| constexpr std::size_t | mqss::qrmci::MaxLogFileBytes = 50UL * 1024 * 1024 |
| Largest a single log file grows before it is rotated. | |
| constexpr std::size_t | mqss::qrmci::MaxLogFiles = 5 |
| How many rotated log files are kept alongside the current one. | |
The console-plus-file logger every QRM&CI daemon installs as its process-wide default.
Definition in file Logger.h.
|
inline |
Create a logger writing to the console and, if logFile is given, to a rotating file alongside it.
| name | The logger name, as it appears in each log line. |
| logFile | The file to rotate through, or empty for console only. |
|
inlineconstexpr |