# NotifyCategory

from pandac.PandaModules import NotifyCategory

Class : NotifyCategory
Description : 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.

## Inheritance:

NotifyCategory: MemoryBase ConfigFlags
MemoryBase:
ConfigFlags:

## Methods of NotifyCategory:

debug
error
fatal
getBasename
getChild
getFullname
getNumChildren
getSeverity
info
isDebug
isError
isFatal
isInfo
isOn
isSpam
isWarning
out
setServerDelta
setSeverity
spam
warning

## Constants in ConfigFlags:

VTUndefined | (ValueType)
VTList | (ValueType)
VTString | (ValueType)
VTFilename | (ValueType)
VTBool | (ValueType)
VTInt | (ValueType)
VTDouble | (ValueType)
VTEnum | (ValueType)
VTSearchPath | (ValueType)
VTInt64 | (ValueType)
FTrustLevelMask | (VariableFlags)
FOpen | (VariableFlags)
FClosed | (VariableFlags)
FDynamic | (VariableFlags)
FDconfig | (VariableFlags)

debug ostream &NotifyCategory::debug(bool prefix = (1)) const; Description: A shorthand way to write out(NS_debug).

error ostream &NotifyCategory::error(bool prefix = (1)) const; Description: A shorthand way to write out(NS_error).

fatal ostream &NotifyCategory::fatal(bool prefix = (1)) const; Description: A shorthand way to write out(NS_fatal).

getBasename string NotifyCategory::get_basename(void) const; Description:

getChild NotifyCategory *NotifyCategory::get_child(int i) const; Undocumented function.

getFullname string NotifyCategory::get_fullname(void) const; Description:

getNumChildren int NotifyCategory::get_num_children(void) const; Undocumented function.

getSeverity NotifySeverity NotifyCategory::get_severity(void) const; Description:

info ostream &NotifyCategory::info(bool prefix = (1)) const; Description: A shorthand way to write out(NS_info).

isDebug bool NotifyCategory::is_debug(void) const; Description: A shorthand way to write is_on(NS_debug).

isError bool NotifyCategory::is_error(void) const; Description: A shorthand way to write is_on(NS_error).

isFatal bool NotifyCategory::is_fatal(void) const; Description: A shorthand way to write is_on(NS_fatal).

isInfo bool NotifyCategory::is_info(void) const; Description: A shorthand way to write is_on(NS_info).

isOn bool NotifyCategory::is_on(NotifySeverity severity) const; Description: Returns true if messages of the indicated severity level ought to be reported for this Category.

isSpam bool NotifyCategory::is_spam(void) const; When NOTIFY_DEBUG is not defined, the categories will never be set to "spam" or "debug" severities, and these methods are redefined to be static to make it more obvious to the compiler. However, we still want to present a consistent interface to our scripting language, so during the interrogate pass (that is, when CPPPARSER is defined), we still pretend they're nonstatic. Description: A shorthand way to write is_on(NS_spam).

isWarning bool NotifyCategory::is_warning(void) const; Description: A shorthand way to write is_on(NS_warning).

out ostream &NotifyCategory::out(NotifySeverity severity, bool prefix = (1)) const; Undocumented function.

setServerDelta static void NotifyCategory::set_server_delta(long int delta); Undocumented function.

setSeverity void NotifyCategory::set_severity(NotifySeverity severity); Description: Sets the severity level of messages that will be reported from this Category. This allows any message of this severity level or higher.

spam ostream &NotifyCategory::spam(bool prefix = (1)) const; Description: A shorthand way to write out(NS_spam).

warning ostream &NotifyCategory::warning(bool prefix = (1)) const; Description: A shorthand way to write out(NS_warning).