22 operator << (ostream &out, NotifySeverity severity) {
28 return out <<
"debug";
34 return out <<
"warning";
37 return out <<
"error";
40 return out <<
"fatal";
43 return out <<
"unspecified";
46 return out <<
"**invalid severity**";
50 operator >> (istream &in, NotifySeverity &severity) {
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static NotifySeverity string_severity(const std::string &string)
Given a string, one of "debug", "info", "warning", etc., return the corresponding Severity level,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.