Panoptes 1.0.0
Endpoint Detection and Response
Loading...
Searching...
No Matches
pano_log.h
Go to the documentation of this file.
1#pragma once
2#include <Windows.h>
3#include <string>
4
9void WriteToLogFile(const std::string& message);
10
16DWORD NewestLogFileNumber(const std::wstring& folder, const std::wstring& base, const std::wstring& ext);
DWORD NewestLogFileNumber(const std::wstring &folder, const std::wstring &base, const std::wstring &ext)
The number of the newest log file in a folder: 0 for base.ext (or when there is none),...
Definition pano_log.cpp:33
void WriteToLogFile(const std::string &message)
Appends a line to the event log: LOG_FOLDER\pano.log, continuing in pano1.log, pano2....
Definition pano_log.cpp:72