Panda3D
|
A particular category of error messages. Typically there will be one of these per package, so that we can turn on or off error messages at least at a package level; further nested categories can be created within a package if a finer grain of control is required. More...
Public Member Functions | |
Ostream | debug (bool prefix) |
A shorthand way to write out(NS_debug). More... | |
Ostream | error (bool prefix) |
A shorthand way to write out(NS_error). More... | |
Ostream | fatal (bool prefix) |
A shorthand way to write out(NS_fatal). More... | |
str | getBasename () |
NotifyCategory | getChild (int i) |
str | getFullname () |
int | getNumChildren () |
NotifySeverity | getSeverity () |
Ostream | info (bool prefix) |
A shorthand way to write out(NS_info). More... | |
bool | isDebug () |
A shorthand way to write is_on(NS_debug). More... | |
bool | isError () |
A shorthand way to write is_on(NS_error). More... | |
bool | isFatal () |
A shorthand way to write is_on(NS_fatal). More... | |
bool | isInfo () |
A shorthand way to write is_on(NS_info). More... | |
bool | isOn (NotifySeverity severity) |
Returns true if messages of the indicated severity level ought to be reported for this Category. More... | |
bool | isSpam () |
A shorthand way to write is_on(NS_spam). More... | |
bool | isWarning () |
A shorthand way to write is_on(NS_warning). More... | |
Ostream | out (NotifySeverity severity, bool prefix) |
setSeverity (NotifySeverity severity) | |
Sets the severity level of messages that will be reported from this Category. This allows any message of this severity level or higher. More... | |
Ostream | spam (bool prefix) |
A shorthand way to write out(NS_spam). More... | |
Ostream | warning (bool prefix) |
A shorthand way to write out(NS_warning). More... | |
Static Public Member Functions | |
static | setServerDelta (long int delta) |
Additional Inherited Members | |
![]() | |
enum | ValueType { VT_undefined = 0, VT_list = 1, VT_string = 2, VT_filename = 3, VT_bool = 4, VT_int = 5, VT_double = 6, VT_enum = 7, VT_search_path = 8, VT_int64 = 9, VT_color = 10 } |
enum | VariableFlags { F_trust_level_mask = 4095, F_open = 4096, F_closed = 8192, F_dynamic = 16384, F_dconfig = 32768 } |
A particular category of error messages. Typically there will be one of these per package, so that we can turn on or off error messages at least at a package level; further nested categories can be created within a package if a finer grain of control is required.
Ostream debug | ( | bool | prefix | ) |
A shorthand way to write out(NS_debug).
Ostream error | ( | bool | prefix | ) |
A shorthand way to write out(NS_error).
Ostream fatal | ( | bool | prefix | ) |
A shorthand way to write out(NS_fatal).
str getBasename | ( | ) |
NotifyCategory getChild | ( | int | i | ) |
str getFullname | ( | ) |
int getNumChildren | ( | ) |
NotifySeverity getSeverity | ( | ) |
Ostream info | ( | bool | prefix | ) |
A shorthand way to write out(NS_info).
bool isDebug | ( | ) |
A shorthand way to write is_on(NS_debug).
bool isError | ( | ) |
A shorthand way to write is_on(NS_error).
bool isFatal | ( | ) |
A shorthand way to write is_on(NS_fatal).
bool isInfo | ( | ) |
A shorthand way to write is_on(NS_info).
bool isOn | ( | NotifySeverity | severity | ) |
Returns true if messages of the indicated severity level ought to be reported for this Category.
bool isSpam | ( | ) |
A shorthand way to write is_on(NS_spam).
bool isWarning | ( | ) |
A shorthand way to write is_on(NS_warning).
Ostream out | ( | NotifySeverity | severity, |
bool | prefix | ||
) |
|
static |
setSeverity | ( | NotifySeverity | severity | ) |
Sets the severity level of messages that will be reported from this Category. This allows any message of this severity level or higher.
Ostream spam | ( | bool | prefix | ) |
A shorthand way to write out(NS_spam).
Ostream warning | ( | bool | prefix | ) |
A shorthand way to write out(NS_warning).