# Notify

from pandac.PandaModules import Notify

Class : Notify
Description : An object that handles general error reporting to the user. It contains a pointer to an ostream, initially cerr, which can be reset at will to point to different output devices, according to the needs of the application. All output generated within Panda should vector through the Notify ostream.
This also includes a collection of Categories and Severities, which may be independently enabled or disabled, so that error messages may be squelched or respected according to the wishes of the user.

## Inheritance:

Notify:

## Methods of Notify:

clearAssertFailed
clearAssertHandler
getAssertErrorMessage
getAssertHandler
getCategory
getOstreamPtr
getTopCategory
hasAssertFailed
hasAssertHandler
null
out
ptr
setAssertHandler
setOstreamPtr
writeString

clearAssertFailed void Notify::clear_assert_failed(void); Undocumented function.

clearAssertHandler void Notify::clear_assert_handler(void); Undocumented function.

getAssertErrorMessage string const &Notify::get_assert_error_message(void) const; Undocumented function.

getAssertHandler bool (*Notify::get_assert_handler(void))(char const *expression, int line, char const *source_file) const; Undocumented function.

getCategory NotifyCategory *Notify::get_category(string const &basename, NotifyCategory *parent_category); Undocumented function.

getOstreamPtr ostream *Notify::get_ostream_ptr(void) const; Undocumented function.

getTopCategory NotifyCategory *Notify::get_top_category(void); Undocumented function.

hasAssertFailed bool Notify::has_assert_failed(void) const; Undocumented function.

hasAssertHandler bool Notify::has_assert_handler(void) const; Undocumented function.

null static ostream &Notify::null(void); Undocumented function.

out static ostream &Notify::out(void); Undocumented function.

ptr static Notify *Notify::ptr(void); Undocumented function.

setAssertHandler void Notify::set_assert_handler(bool (*assert_handler)(char const *expression, int line, char const *source_file)); Undocumented function.

setOstreamPtr void Notify::set_ostream_ptr(ostream *ostream_ptr, bool delete_later); Undocumented function.

writeString static void Notify::write_string(string const &str); Undocumented function.