Panda3D
Loading...
Searching...
No Matches
notifySeverity.h
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file notifySeverity.h
10 * @author drose
11 * @date 2000-02-29
12 */
13
14#ifndef NOTIFYSEVERITY_H
15#define NOTIFYSEVERITY_H
16
17#include "dtoolbase.h"
18
19BEGIN_PUBLISH
20enum NotifySeverity {
21 NS_unspecified, // Never used, a special case internally.
22 NS_spam,
23 NS_debug,
24 NS_info,
25 NS_warning,
26 NS_error, // Specifically, a recoverable error.
27 NS_fatal // A nonrecoverable error--expect abort() or core dump.
28};
29END_PUBLISH
30
31EXPCL_DTOOL_PRC std::ostream &operator << (std::ostream &out, NotifySeverity severity);
32EXPCL_DTOOL_PRC std::istream &operator >> (std::istream &in, NotifySeverity &severity);
33
34
35#endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.