16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 18:39:18 +02:00

Console errors highlight

This commit is contained in:
2025-07-23 14:24:56 +02:00
parent c0437946c7
commit 1fba26c6cc
4 changed files with 15 additions and 21 deletions

2
Logs.h
View File

@@ -24,7 +24,7 @@ enum class logtype : unsigned int {
powergrid = ( 1 << 10 ),
};
void LogService();
void WriteLog( const char *str, logtype const Type = logtype::generic );
void WriteLog( const char *str, logtype const Type = logtype::generic, bool isError = false );
void Error( const std::string &asMessage, bool box = false );
void Error( const char* &asMessage, bool box = false );
void ErrorLog( const std::string &str, logtype const Type = logtype::generic );