SA_Logger
Sapphire's Suite's C++ Logger.
|
Log level enum implementation. More...
#include <string>
#include <SA/Support/Flags.hpp>
Go to the source code of this file.
Typedefs | |
using | SA::LogLvl = LogLevel |
Shortcut alias. | |
Enumerations | |
enum class | SA::LogLevel : uint8_t { Normal = (1 << 0) , Info = (1 << 1) , Warning = (1 << 2) , Error = (1 << 3) , AssertSuccess = (1 << 4) , AssertFailure = (1 << 5) , Default = Normal | Info | Warning | Error | AssertFailure , Max = uint8_t(-1) } |
All levels of logging. More... | |
Functions | |
SA::SA_DEFINE_ENUM_CLASS_FLAGS (LogLevel) | |
std::string | SA::ToString (LogLevel _lvl) noexcept |
ToString implementation for LogLevel. | |
std::wstring | SA::ToWString (LogLevel _lvl) noexcept |
ToWString implementation for LogLevel. | |
Log level enum implementation.
|
strong |
|
noexcept |
ToString implementation for LogLevel.
[in] | _lvl | Level to convert. |
|
noexcept |
ToWString implementation for LogLevel.
[in] | _lvl | Level to convert. |