MCPcopy Create free account
hub / github.com/chrxh/alien / _FileLogger

Method _FileLogger

source/Base/FileLogger.cpp:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include "Definitions.h"
7
8_FileLogger::_FileLogger()
9{
10 LoggingService::get().registerCallBack(this);
11
12 std::filesystem::remove(Const::LogFilename);
13 _outfile.open(Const::LogFilename, std::ios_base::app);
14}
15
16_FileLogger::~_FileLogger()
17{

Callers

nothing calls this directly

Calls 2

registerCallBackMethod · 0.80
openMethod · 0.45

Tested by

no test coverage detected