Some checks failed
CodeQL Code Scanning / CodeQL (push) Has been cancelled
Build Application / Build Debug (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (macos-13, x86_64-darwin) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (macos-14, aarch64-darwin) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (ubuntu-22.04, x86_64-linux) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (ubuntu-22.04-arm, aarch64-linux) (push) Has been cancelled
Update Flake Lockfile / update-flake (push) Has been cancelled
27 lines
773 B
C++
Executable File
27 lines
773 B
C++
Executable File
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
/**
|
|
* @brief the MessageLevel Enum
|
|
* defines what level a log message is
|
|
*/
|
|
namespace MessageLevel {
|
|
enum Enum {
|
|
Unknown, /**< No idea what this is or where it came from */
|
|
StdOut, /**< Undetermined stderr messages */
|
|
StdErr, /**< Undetermined stdout messages */
|
|
Launcher, /**< Launcher Messages */
|
|
Debug, /**< Debug Messages */
|
|
Info, /**< Info Messages */
|
|
Message, /**< Standard Messages */
|
|
Warning, /**< Warnings */
|
|
Error, /**< Errors */
|
|
Fatal, /**< Fatal Errors */
|
|
};
|
|
MessageLevel::Enum getLevel(const QString& levelName);
|
|
|
|
/* Get message level from a line. Line is modified if it was successful. */
|
|
MessageLevel::Enum fromLine(QString& line);
|
|
} // namespace MessageLevel
|