mirror of
https://gitee.com/jiuyilian/embedded-framework.git
synced 2025-01-06 10:16:51 -05:00
14 lines
351 B
C++
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 |