From d8aeacb59c8e8a61867127db9193ecbca241b129 Mon Sep 17 00:00:00 2001 From: Daniel Scharrer Date: Sun, 17 May 2015 14:58:32 +0200 Subject: [PATCH] Tweak more warnings and notices --- src/stream/slice.cpp | 2 +- src/util/log.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stream/slice.cpp b/src/stream/slice.cpp index 617e264..383da0b 100644 --- a/src/stream/slice.cpp +++ b/src/stream/slice.cpp @@ -80,7 +80,7 @@ void slice_reader::seek(size_t slice) { bool slice_reader::open_file(const path_type & file) { - log_info << "opening \"" << color::cyan << file.string() << color::reset << '"'; + log_info << "Opening \"" << color::cyan << file.string() << color::reset << '"'; ifs.close(); ifs.clear(); diff --git a/src/util/log.cpp b/src/util/log.cpp index 501af75..434cc8a 100644 --- a/src/util/log.cpp +++ b/src/util/log.cpp @@ -39,7 +39,7 @@ logger::~logger() { case Debug: std::cout << color::cyan << buffer.str() << previous << "\n"; break; case Info: std::cout << color::white << buffer.str() << previous << "\n"; break; case Warning: { - std::cerr << color::yellow << "warning: " << buffer.str() << previous << "\n"; + std::cerr << color::yellow << "Warning: " << buffer.str() << previous << "\n"; total_warnings++; break; }