mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.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:
parent
53cb147000
commit
028daa8537
2 changed files with 4 additions and 3 deletions
|
|
@ -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 ";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue