StevEngine
StevEngine is a customizable C++ game engine.
Loading...
Searching...
No Matches
Log.hpp
1#pragma once
2#include <string>
3#include <format>
4
5namespace Log {
11 void Normal(std::string msg, bool fromEngine = false);
12
18 void Debug(std::string msg, bool fromEngine = false);
19
25 void Error(std::string msg, bool fromEngine = false);
26
32 void Warning(std::string msg, bool fromEngine = false);
33
35 extern bool engineLogEnabled;
36
37 #ifdef StevEngine_PLAYER_DATA
42 void StartLogging(std::string path);
43
45 void CloseLogging();
46 #endif
47}