Renamed “note” to “info.”

This commit is contained in:
Patrick Lühne 2016-11-24 22:58:13 +01:00
parent da63f984c1
commit 5816207af7
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF
3 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ namespace output
enum class Priority
{
Debug,
Note,
Info,
Warning,
Error
};

View File

@ -33,7 +33,7 @@ void translate(const std::vector<std::string> &fileNames, Context &context)
void translate(const char *fileName, std::istream &stream, Context &context)
{
// TODO: refactor
context.logger.log(output::Priority::Note, (std::string("reading ") + fileName).c_str());
context.logger.log(output::Priority::Info, (std::string("reading ") + fileName).c_str());
auto fileContent = std::string(std::istreambuf_iterator<char>(stream), {});

View File

@ -19,7 +19,7 @@ constexpr Format priorityFormat(Priority priority)
{
case Priority::Debug:
return {Color::Green, FontWeight::Bold};
case Priority::Note:
case Priority::Info:
return {Color::Cyan, FontWeight::Bold};
case Priority::Warning:
return {Color::Magenta, FontWeight::Bold};
@ -38,8 +38,8 @@ constexpr const char *priorityName(Priority priority)
{
case Priority::Debug:
return "debug";
case Priority::Note:
return "note";
case Priority::Info:
return "info";
case Priority::Warning:
return "warning";
case Priority::Error: