4 #include <SFML/System/String.hpp> 17 std::chrono::system_clock::time_point time;
23 void set(
const sf::String& str, LogLevel level);
24 sf::String toString();
31 static bool setFile(
const sf::String& path, LogWrite mode = LogWrite::Append);
32 static void write(
const sf::String& str, LogLevel level = LogLevel::DebugInfo);
33 static void setLogLevel(LogLevel value);
34 static LogLevel getLogLevel();
35 static sf::String getLastLog();
36 static sf::String getLastError();
37 static std::vector<Log> getFullLog();
38 static void setLogToStdOut(
bool value);
39 static void setThrowLevel(LogLevel level);
44 static void stdOutWrite();
45 static LogLevel logLevel;
46 static LogLevel throwLevel;
47 static std::wofstream file;
48 static std::vector<Log> fullLog;
49 static bool logToStdOut;
51 static bool fileFirstWrite;
Definition: Logger.hpp:28
Definition: Logger.hpp:15