#include <spdlog/fmt/bundled/ranges.h>
#include <spdlog/sinks/basic_file_sink.h>
#include <spdlog/sinks/ostream_sink.h>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <spdlog/spdlog.h>
#include <iostream>
Go to the source code of this file.
|
#define | AutoPasLog(lvl, fmt, ...) SPDLOG_LOGGER_##lvl(spdlog::get("AutoPasLog"), fmt, ##__VA_ARGS__) |
| Macro for logging providing common meta information without filename.
|
|
- Author
- seckler
- Date
- 20.04.18
◆ AutoPasLog
#define AutoPasLog |
( |
|
lvl, |
|
|
|
fmt, |
|
|
|
... |
|
) |
| SPDLOG_LOGGER_##lvl(spdlog::get("AutoPasLog"), fmt, ##__VA_ARGS__) |
Macro for logging providing common meta information without filename.
- Parameters
-
lvl | Possible levels: trace, debug, info, warn, error, critical. |
fmt | Message with formatting tokens |
... | Formatting arguments |
- Note
- A ';' is enforced at the end of the macro.