mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 08:20:54 +01:00
14 lines
No EOL
316 B
C++
14 lines
No EOL
316 B
C++
#pragma once
|
|
#include <windows.h>
|
|
#include <fstream>
|
|
#include <string>
|
|
|
|
class Logger {
|
|
public:
|
|
static void Log(const std::string& message) {
|
|
std::ofstream logFile("F4MP.log", std::ios_base::app);
|
|
if (logFile.is_open()) {
|
|
logFile << "[LOG] " << message << std::endl;
|
|
}
|
|
}
|
|
}; |