image_framework_ymj/image_framework/utils/Log/LogTask.cpp
2024-12-06 16:25:16 +08:00

23 lines
277 B
C++
Executable File

#include "LogTask.h"
LogTask::LogTask()
:m_pThread(nullptr)
{
}
LogTask::~LogTask()
{
}
void LogTask::log_write_thread()
{
m_pThread = new std::thread(start, this);
m_pThread->detach();
}
void LogTask::start(LogTask* pLog)
{
pLog->run();
}