|
PLearn 0.1
|
#include <cstdarg>#include <iostream>#include "plerror.h"#include <plearn/io/pl_log.h>#include <plearn/io/PPath.h>
Go to the source code of this file.
Namespaces | |
| namespace | PLearn |
< for swap | |
Defines | |
| #define | PL_LOG_MODULE_NAME "plerror" |
| #define | ERROR_MSG_SIZE 4096 |
Functions | |
| void | PLearn::errormsg2 (const char *filename, const int linenumber, const char *msg,...) |
| void | PLearn::errormsg (const char *msg,...) |
| void | PLearn::verrormsg (const char *msg, va_list args) |
| void | PLearn::warningmsg (const char *msg,...) |
| void | PLearn::vwarningmsg (const char *msg, va_list args) |
| void | PLearn::warn_err (bool warn, const char *msg,...) |
| void | PLearn::warn_err2 (const char *filename, const int linenumber, bool warn, const char *msg,...) |
| void | PLearn::deprecationmsg (const char *msg,...) |
| void | PLearn::exitmsg (const char *msg,...) |
| string | PLearn::get_error_message (const char *type, const char *expr, const char *function, const char *file, unsigned line, const string &message) |
| Return a typical error message. | |
| void | PLearn::pl_assert_fail (const char *expr, const char *file, unsigned line, const char *function, const string &message) |
| void | PLearn::pl_check_fail (const char *expr, const char *file, unsigned line, const char *function, const string &message) |
Variables | |
| ostream * | PLearn::error_stream = &cerr |
| #define ERROR_MSG_SIZE 4096 |
Definition at line 61 of file plerror.cc.
Referenced by PLearn::deprecationmsg(), PLearn::errormsg2(), PLearn::exitmsg(), PLearn::verrormsg(), PLearn::vwarningmsg(), and PLearn::warn_err2().
| #define PL_LOG_MODULE_NAME "plerror" |
Definition at line 38 of file plerror.cc.
1.7.4