Fix logging for older compilers
This commit is contained in:
parent
b715e18a59
commit
b49435f405
@ -14,10 +14,10 @@ namespace cpputils {
|
||||
struct INFO_TYPE {};
|
||||
struct DEBUG_TYPE {};
|
||||
|
||||
constexpr ERROR_TYPE ERR;
|
||||
constexpr WARN_TYPE WARN;
|
||||
constexpr INFO_TYPE INFO;
|
||||
constexpr DEBUG_TYPE DEBUG;
|
||||
constexpr ERROR_TYPE ERR {};
|
||||
constexpr WARN_TYPE WARN {};
|
||||
constexpr INFO_TYPE INFO {};
|
||||
constexpr DEBUG_TYPE DEBUG {};
|
||||
|
||||
inline void setLogger(std::shared_ptr<spdlog::logger> newLogger) {
|
||||
logger().setLogger(newLogger);
|
||||
|
Loading…
x
Reference in New Issue
Block a user