mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 08:22:08 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58816 954022d7-b5bf-4e40-9824-e11837661b57
19 lines
334 B
C++
19 lines
334 B
C++
#pragma once
|
|
#include <fstream>
|
|
|
|
class Logger
|
|
{
|
|
private:
|
|
Logger(const std::string& log_file);
|
|
~Logger();
|
|
|
|
public:
|
|
static Logger& getLogger();
|
|
void writeLine(const std::string& type, const std::string& str);
|
|
void writeLine(const std::wstring& type, const std::wstring& str);
|
|
|
|
private:
|
|
std::wofstream m_log;
|
|
};
|
|
|