core: print the "new update found" message in cyan, for visibility

pull/95/head
moneromooo-monero 7 years ago
parent 749ebacebd
commit 02097c87eb
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -1128,7 +1128,7 @@ namespace cryptonote
return true;
std::string url = tools::get_update_url(software, subdir, buildtag, version, true);
MGINFO("Version " << version << " of " << software << " for " << buildtag << " is available: " << url << ", SHA256 hash " << hash);
MCLOG_CYAN(el::Level::Info, "global", "Version " << version << " of " << software << " for " << buildtag << " is available: " << url << ", SHA256 hash " << hash);
if (check_updates_level == UPDATES_NOTIFY)
return true;
@ -1168,7 +1168,7 @@ namespace cryptonote
{
MCERROR("updates", "Download from " << uri << " does not match the expected hash");
}
MGINFO("New version downloaded to " << path);
MCLOG_CYAN(el::Level::Info, "updates", "New version downloaded to " << path);
}
else
{

Loading…
Cancel
Save