# 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: ConfigFlags
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)
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; Filename: notifyCategory.I Created by: drose (29Feb00) PANDA 3D SOFTWARE Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved All use of this software is subject to the terms of the Panda 3d Software license. You should have received a copy of this license along with this source code; you will also find a current copy of the license at http://etc.cmu.edu/panda3d/docs/license/ . To contact the maintainers of this program write to panda3d-general@lists.sourceforge.net . 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).