15 lines
211 B
C++
15 lines
211 B
C++
#pragma once
|
|
|
|
#include "logging/default.hpp"
|
|
|
|
class Loggable
|
|
{
|
|
public:
|
|
Loggable(const std::string& name) : logger(logging::log->logger(name)) {}
|
|
|
|
virtual ~Loggable() {}
|
|
|
|
protected:
|
|
Logger logger;
|
|
};
|