Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for commands in parallel #85

Merged
merged 15 commits into from
Sep 26, 2017
Merged
6 changes: 4 additions & 2 deletions core/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

#define ANSI_COLOR_RED "\x1b[31m"
#define ANSI_COLOR_YELLOW "\x1b[33m"
#define ANSI_COLOR_BLUE "\x1b[34m"
#define ANSI_COLOR_GRAY "\x1b[37m"
#define ANSI_COLOR_RESET "\x1b[0m"

Expand Down Expand Up @@ -101,6 +102,7 @@ class LogDetailed
std::cout << "|Debug] ";
break;
case LogLevel::Info:
std::cout << ANSI_COLOR_BLUE;
Copy link
Contributor

@darioxz darioxz Sep 25, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really not critical, but #86 should get merged before #85

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is #86 rebased on to of #85?, can we remove this so we can merge w/o blocking?

std::cout << "|Info ] ";
break;
case LogLevel::Warn:
Expand All @@ -117,9 +119,9 @@ class LogDetailed
std::cout << " (" << _caller_filename << ":" << _caller_filenumber << ")";

switch (_log_level) {
case LogLevel::Info:
break;
case LogLevel::Debug:
break;
case LogLevel::Info:
// FALLTHROUGH
case LogLevel::Warn:
// FALLTHROUGH
Expand Down