Program Listing for File er.hpp
↰ Return to documentation for file (rcppsw/er/er.hpp
)
#pragma once
/*******************************************************************************
* Includes
******************************************************************************/
#include "rcsw/er/er.h"
/*******************************************************************************
* Constant Definitions
******************************************************************************/
/* \cond INTERNAL */
#define RCPPSW_ERL_NONE LIBRA_ERL_NONE
#define RCPPSW_ERL_FATAL LIBRA_ERL_FATAL
#define RCPPSW_ERL_ERROR LIBRA_ERL_ERROR
#define RCPPSW_ERL_WARN LIBRA_ERL_WARN
#define RCPPSW_ERL_INFO LIBRA_ERL_INFO
#define RCPPSW_ERL_DEBUG LIBRA_ERL_DEBUG
#define RCPPSW_ERL_TRACE LIBRA_ERL_TRACE
#define RCPPSW_ERL_ALL LIBRA_ERL_ALL
/*
* If rcppsw is used in a context where this is not defined it is almost
* assuredly an error, buuuuttttttt RCPPSW might need to compile in weird
* environments.
*/
#if !defined(LIBRA_ER)
#define LIBRA_ERL LIBRA_ERL_ALL
#endif
/* \endcond */
#if defined(LIBRA_ER_INHERIT) && !defined(LIBRA_ER)
#error LIBRA_ER_INHERIT but LIBRA_ER not defined
#endif
#define RCPPSW_ERL LIBRA_ERL
#define RCPPSW_ER_PLUGIN_LOG4CXX 0
#define RCPPSW_ER_PLUGIN_LOG4CXX_CLASSFREE 1
#define RCPPSW_ER_PLUGIN_SIMPLE 2
#define RCPPSW_ER_PLUGIN_CUSTOM 3
/*
* Size of buffers to put on stack for creating debug strings.
*/
#define RCPPSW_ER_MSG_LEN_MAX 1000
#define RCPPSW_ER_FATAL_MSG_LEN_MAX 10000