mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 11:55:36 +08:00
17 lines
244 B
C++
17 lines
244 B
C++
#pragma once
|
|
|
|
class Logger
|
|
{
|
|
private:
|
|
Logger(const std::string& log_file);
|
|
~Logger();
|
|
|
|
public:
|
|
static Logger& getLogger();
|
|
void writeLine(const std::string& type, const std::string& str);
|
|
|
|
private:
|
|
std::ofstream m_log;
|
|
};
|
|
|