Added default message format and text.

This commit is contained in:
Patrick Lühne 2016-11-24 00:24:19 +01:00
parent e6a9ee1cc7
commit 93597f16a0
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,8 @@ constexpr Format priorityFormat(Priority priority)
case Priority::Error: case Priority::Error:
return {Color::Red, FontWeight::Bold}; return {Color::Red, FontWeight::Bold};
} }
return {Color::White, FontWeight::Bold};
} }
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
@ -43,6 +45,8 @@ constexpr const char *priorityName(Priority priority)
case Priority::Error: case Priority::Error:
return "error"; return "error";
} }
return "message";
} }
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////