log4cpp::Priority(3)
π log4cpp::Priority(3) π
Okay bestie, this is the log4cpp::Priority page from the Library Functions Manual β and it's literally the glow-up guide for sorting log messages by importance. No cap. π
β¨ NAME β¨
log4cpp::Priority β the Priority class provides importance levels with which one can categorize log messages. π
πΈ SYNOPSIS πΈ
#include <Priority.hh>
π¦ Public Types π¦
enum PriorityLevel { EMERG = 0, FATAL = 0, ALERT = 100, CRIT = 200, ERROR = 300, WARN = 400, NOTICE = 500, INFO = 600, DEBUG = 700, NOTSET = 800 }β predefined levels of priorities. The whole squad is here, bestie. π
enum PriorityLevel { EMERG = 0, FATAL = 0, ALERT = 100, CRIT = 200,
ERROR = 300, WARN = 400, NOTICE = 500, INFO = 600, DEBUG = 700,
NOTSET = 800 }
Predefined Levels of Priorities. π
typedef int Valueβ the type of Priority Values. π
π Static Public Member Functions π
static const std::string & getPriorityName (int priority)βLOG4CPP_NOTHROW. Returns the name of the given priority value. π«Άstatic Value getPriorityValue (const std::string &priorityName)β returns the value of the given priority name. β¨
π Static Public Attributes π
static const int MESSAGE_SIZE = 8β yes, it's8. Iconic. π
πΌ Detailed Description πΌ
The Priority class provides importance levels with which one can categorize log messages. That's the whole vibe. π
π§ Member Typedef Documentation π§
typedef int log4cpp::Priority::Valueβ the type of Priority Values. β
π Member Enumeration Documentation π
enum log4cpp::Priority::PriorityLevel
Predefined Levels of Priorities. These correspond to the priority levels used by syslog(3). π¦
Enumerator:
EMERGFATALALERTCRITERRORWARNNOTICEINFODEBUGNOTSET
π₯ Member Function Documentation π₯
const std::string & log4cpp::Priority::getPriorityName (int priority) [static]
Returns the name of the given priority value. Currently, if the value is not one of the PriorityLevel values, the method returns the name of the largest priority smaller the given value. Noted, bestie. π
- Parameters:
priorityβ the numeric value of the priority. - Returns: a string representing the name of the priority. π
Priority::Value log4cpp::Priority::getPriorityValue (const std::string & priorityName) [static]
Returns the value of the given priority name. This can be either one of EMERG ... NOTSET or a decimal string representation of the value, e.g. '700' for DEBUG. π
- Parameters:
priorityNameβ the string containing the the of the priority (yes, the doubletheis in the original, bestie π). - Returns: the value corresponding with the priority name. π
- Exceptions:
std::invalid_argumentif thepriorityNamedoes not correspond with a known Priority name or a number. π
π Member Data Documentation π
const int log4cpp::Priority::MESSAGE_SIZE = 8[static]β it's 8, your honor. π
π Author π
Generated automatically by Doxygen for log4cpp from the source code. π«Ά
That's the whole page, bestie! Source/version: log4cpp, Version 1.1. Date: not listed on the page. Title: log4cpp::Priority(3). Slay. πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms