mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
pattern: Cleanup log console a bit
This commit is contained in:
@@ -16,7 +16,8 @@ namespace hex::pl {
|
||||
|
||||
class LogConsole {
|
||||
public:
|
||||
enum Level {
|
||||
enum Level
|
||||
{
|
||||
Debug,
|
||||
Info,
|
||||
Warning,
|
||||
@@ -27,9 +28,7 @@ namespace hex::pl {
|
||||
|
||||
void log(Level level, const std::string &message);
|
||||
|
||||
[[noreturn]] static void abortEvaluation(const std::string &message);
|
||||
|
||||
[[noreturn]] static void abortEvaluation(const std::string &message, const ASTNode *node);
|
||||
[[noreturn]] static void abortEvaluation(const std::string &message, const ASTNode *node = nullptr);
|
||||
|
||||
void clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user