chore: remove unused IPC log level
This commit is contained in:
parent
74ea87ef30
commit
52469072de
2 changed files with 1 additions and 5 deletions
|
|
@ -67,10 +67,7 @@ std::vector<char> makeMessage(const char *filename, int lineNumber, const char *
|
|||
|
||||
auto timeStr = QDateTime::currentDateTime().toString(Qt::ISODateWithMs).toStdString();
|
||||
|
||||
auto sectionName = "IPC";
|
||||
if (priority != LogLevel::IPC) {
|
||||
sectionName = g_priority[currentPriority];
|
||||
}
|
||||
auto sectionName = g_priority[currentPriority];
|
||||
|
||||
size_t priorityLength = strnlen(sectionName, priorityMaxSize);
|
||||
size_t messageLength = strnlen(message, SIZE_MAX);
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ The logging priority levels in order of highest to lowest priority.
|
|||
*/
|
||||
enum class LogLevel
|
||||
{
|
||||
IPC = -2, //!< For IPC Messages the gui must see, remove when IPC works proper
|
||||
Print = -1, //!< For print only (no file or time)
|
||||
Fatal, //!< For fatal errors
|
||||
Error, //!< For serious errors
|
||||
|
|
|
|||
Loading…
Reference in a new issue