#include <cstring>
#include <iostream>
#include <memory>
#include <spdlog/fmt/fmt.h>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <spdlog/spdlog.h>
Go to the source code of this file.
◆ __FILENAME__
| #define __FILENAME__ (std::strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__) |
◆ cds_debug
| #define cds_debug |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
Value: do { \
} while (0)
std::shared_ptr< spdlog::logger > kDefaultLogger
Definition common_test.cpp:27
#define __FILENAME__
Definition log.h:11
◆ cds_error
| #define cds_error |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
◆ cds_info
| #define cds_info |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
◆ cds_warn
| #define cds_warn |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
◆ kDefaultLogger
| std::shared_ptr<spdlog::logger> kDefaultLogger |
|
extern |