.ide add missing LoggingLevel::NONE string conversion.

git-svn-id: svn://ultimatepp.org/upp/trunk@11008 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
klugier 2017-04-16 11:32:57 +00:00
parent 53cb147000
commit 028daa8537
2 changed files with 4 additions and 3 deletions

View file

@ -68,5 +68,7 @@ Stream& Upp::operator<<(Stream& s, Logger::LoggingLevel level)
return s << "WARN ";
case (Logger::LoggingLevel::ERROR):
return s << "ERROR";
case (Logger::LoggingLevel::NONE):
return s << "NONE ";
}
}

View file

@ -3,13 +3,12 @@
#include <Core/Core.h>
// Provides common way to print function name between compilers.
// TODO: Check MSVC compatibility
#define UPP_FUNCTION_NAME String(__func__)
namespace Upp {
// TODO: Add support for thread names ids
// TODO: Add support for thread names ids.
// TODO: Add logger config to select global logging level.
class Logger {
public:
enum class LoggingLevel {