embedded-framework/utils/Log/include/ILogCpp.h

14 lines
351 B
C++

#ifndef ILOGCPP_H
#define ILOGCPP_H
#include "ILog.h"
#include <memory>
class ILogCpp
{
public:
ILogCpp() = default;
virtual ~ILogCpp() = default;
static std::shared_ptr<ILogCpp> &GetInstance(std::shared_ptr<ILogCpp> *impl = nullptr);
virtual void Init(const LogInstance &log) {}
virtual void UnInit(void) {}
};
#endif