You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
551 B
C++
28 lines
551 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <memory>
|
|
|
|
#include "spdlog/spdlog.h"
|
|
|
|
#include "Logger.h"
|
|
|
|
class CMitechDebugLogTiming : public CLogger
|
|
{
|
|
public:
|
|
CMitechDebugLogTiming(const std::string& strName);
|
|
~CMitechDebugLogTiming() final;
|
|
|
|
private:
|
|
void InitLogger();
|
|
|
|
// Inherited via CLogger
|
|
void DoStart() override;
|
|
void DoFlush() override;
|
|
void DoLogging(const std::string& strMsg) override;
|
|
|
|
std::shared_ptr<spdlog::logger> m_logger;
|
|
|
|
std::string m_strPathFilename{ R"(d:\machine\log\DebugLogTiming.log)" };
|
|
};
|