Go to the source code of this file.
Namespaces | |
namespace | l4snd |
Defines | |
#define | LOG4SENDPP_INT64 __int64_t |
Contains platform dependend data type with 64 bits. | |
#define | LOG4SENDPP_ANON_NS_START namespace { |
Conditional start of anonymous namespace. | |
#define | LOG4SENDPP_NS l4snd |
Conditional log4sendpp namespace. | |
#define | LOG4SENDPP_NS_START namespace l4snd { |
Conditional start of log4sendpp namespace. | |
#define | LOG4SENDPP_NS_END } |
Conditional end of log4sendpp namespace. | |
#define | USING_NAMESPACE_LOG4SENDPP using namespace l4snd; |
Conditional using log4sendpp namespace. | |
#define | LOG4SENDPP_STD_NS std |
Conditional std namespace. | |
#define | LOG4SENDPP_THROW(x) throw (x) |
actual implementation of throw statement when throwing a type | |
#define | LOG4SENDPP_RETHROW throw |
actual implementation of throw statement when re-throwing an undefined value | |
#define | LOG4SENDPP_TRY try |
actual implementation of try statement | |
#define | LOG4SENDPP_CATCH(x) catch(x) |
actual implementation of catch statement for a certain object | |
#define | LOG4SENDPP_CATCH_ALL catch(...) |
actual implementation of catch statement for a catch (. | |
#define | LOG4SENDPP_FUNC_MACRO __func__ |
Returns the name of the current function or something similar unique for a whole project. | |
#define | LOG4SENDPP_UNUSED(x) |
Simple macro to suppress warnings about unused variables if possible. | |
#define | LOG4SENDPP_USE_STD_EXCEPTION 1 |
LOG4SENDPP_NS::Exception is derived from std::exception. | |
#define | LOG4SENDPP_MAKE_CHAR_READABLE 1 |
Output char values more readable (e.g. | |
#define | LOG4SENDPP_API_DECL0 |
Returns a platform dependent symbol to export names to the linker. | |
#define | LOG4SENDPP_API_IMPL0 |
Returns a platform dependent symbol to export names to the linker. | |
#define | LOG4SENDPP_API_DECL(type) type |
Returns a platform dependent symbol to export names to the linker. | |
#define | LOG4SENDPP_API_IMPL(type) type |
Returns a platform dependent symbol to export names to the linker. | |
#define | LOG4SENDPP_UNICODE |
Defined if Unicode strings are used. | |
#define | LOG4SENDPP_NO_NAMESPACE |
Defined if namespace support is not working properly. | |
#define | LOG4SENDPP_API_DECL0 |
Returns a platform dependent symbol to export names to the linker. | |
#define | LOG4SENDPP_API_DECL |
Returns a platform dependent symbol to export names to the linker. | |
#define | LOG4SENDPP_API_IMPL0 |
Returns a platform dependent symbol to export names to the linker. | |
#define | LOG4SENDPP_API_IMPL |
Returns a platform dependent symbol to export names to the linker. | |
Typedefs | |
typedef void(* | l4snd::FailureHandler )(unsigned srcline, const std::string &srcfile, const std::string &message) |
Pointer to a failure handler (substitute for execptions). | |
Functions | |
void | l4snd::getVersion (int &major, int &minor, int &patch, bool &debug, std::string &info) |
Gets the various parts of the version number. | |
FailureHandler | l4snd::setFailureHandler (FailureHandler handler) |
Sets pointer to failure handler. | |
void | l4snd::handleFailure (unsigned srcline, const std::string &srcfile, const std::string &message) |
Handles an internal failure. |
Definition in file log4sendpp.h.
#define LOG4SENDPP_CATCH_ALL catch(...) |
actual implementation of catch
statement for a catch
(.
..)
Referenced by l4snd::TcpIpAppender::append(), l4snd::TcpIpAppender::TcpIpAppender(), l4snd::Mutex::Locker::~Locker(), l4snd::TcpIpAppender::~TcpIpAppender(), and l4snd::Mutex::TryLocker::~TryLocker().
#define LOG4SENDPP_MAKE_CHAR_READABLE 1 |
Output char values more readable (e.g.
non-alphanumeric as number)
Definition at line 271 of file log4sendpp.h.
#define LOG4SENDPP_NO_NAMESPACE |
Defined if namespace support is not working properly.
In this case log4sendpp
resides in the global namespace.
#define LOG4SENDPP_UNUSED | ( | x | ) |
Simple macro to suppress warnings about unused variables if possible.
Note: This is just an empty fallback. The actual content (if any) is in the according config-*.h.
Definition at line 259 of file log4sendpp.h.
Referenced by l4snd::TcpIpAppender::open().