PLearn 0.1
Namespaces | Defines | Functions | Variables
plerror.cc File Reference
#include <cstdarg>
#include <iostream>
#include "plerror.h"
#include <plearn/io/pl_log.h>
#include <plearn/io/PPath.h>
Include dependency graph for plerror.cc:

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 Documentation

#define ERROR_MSG_SIZE   4096
#define PL_LOG_MODULE_NAME   "plerror"

Definition at line 38 of file plerror.cc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines