The MagAO-X logger log priority levels. More...
Go to the source code of this file.
Namespaces | |
flatlogs | |
flatlogs::logPrio | |
The log priority codes. These control if logs are stored on disk and how they are presented to users. | |
Functions | |
std::string | flatlogs::priorityString (logPrioT &prio) |
Get the string representation of a log priority. More... | |
logPrioT | flatlogs::logLevelFromString (const std::string &str) |
Get the log priority from a string, which might have the number or the name. More... | |
Variables | |
constexpr static logPrioT | flatlogs::logPrio::LOG_EMERGENCY = 0 |
Normal operations of the entire system should be shut down immediately. More... | |
constexpr static logPrioT | flatlogs::logPrio::LOG_ALERT = 1 |
This should only be used if some action is required by operators to keep the system safe. More... | |
constexpr static logPrioT | flatlogs::logPrio::LOG_CRITICAL = 2 |
The process can not continue and will shut down (fatal) More... | |
constexpr static logPrioT | flatlogs::logPrio::LOG_ERROR = 3 |
An error has occured which the software will attempt to correct. More... | |
constexpr static logPrioT | flatlogs::logPrio::LOG_WARNING = 4 |
A condition has occurred which may become an error, but the process continues. More... | |
constexpr static logPrioT | flatlogs::logPrio::LOG_NOTICE = 5 |
A normal but significant condition. More... | |
constexpr static logPrioT | flatlogs::logPrio::LOG_INFO = 6 |
Informational. The info log level is the lowest level recorded during normal operations. More... | |
constexpr static logPrioT | flatlogs::logPrio::LOG_DEBUG = 7 |
Used for debugging. More... | |
constexpr static logPrioT | flatlogs::logPrio::LOG_DEBUG2 = 8 |
Used for debugging, providing a 2nd level. More... | |
constexpr static logPrioT | flatlogs::logPrio::LOG_TELEM = 64 |
A telemetry recording. More... | |
constexpr static logPrioT | flatlogs::logPrio::LOG_DEFAULT = std::numeric_limits<logPrioT>::max() - 1 |
Used to denote "use the default level for this log type". More... | |
constexpr static logPrioT | flatlogs::logPrio::LOG_UNKNOWN = std::numeric_limits<logPrioT>::max() |
Used to denote an unkown log type for internal error handling. More... | |
The MagAO-X logger log priority levels.
History:
Definition in file logPriority.hpp.