18#ifndef LOG4CXX_LOG4CXX_H
19#define LOG4CXX_LOG4CXX_H
28#define LOG4CXX_ABI_VERSION 15
29#define LOG4CXX_VERSION_MAJOR 1
30#define LOG4CXX_VERSION_MINOR 2
31#define LOG4CXX_VERSION_PATCH 0
32#define LOG4CXX_VERSION_TWEAK 0
33#define LOG4CXX_MAKE_VERSION(major, minor, patch, tweak) (((major) << 24) |\
37#define LOG4CXX_VERSION_GET_MAJOR(version) (((version) >> 24) & 0xFF)
38#define LOG4CXX_VERSION_GET_MINOR(version) (((version) >> 16) & 0xFF)
39#define LOG4CXX_VERSION_GET_PATCH(version) (((version) >> 8) & 0xFF)
40#define LOG4CXX_VERSION_GET_TWEAK(version) ((version) & 0xFF)
41#define LOG4CXX_VERSION \
42 LOG4CXX_MAKE_VERSION(LOG4CXX_VERSION_MAJOR, LOG4CXX_VERSION_MINOR, LOG4CXX_VERSION_PATCH, LOG4CXX_VERSION_TWEAK)
44#define LOG4CXX_LOGCHAR_IS_UNICHAR 0
45#define LOG4CXX_LOGCHAR_IS_UTF8 1
46#define LOG4CXX_LOGCHAR_IS_WCHAR 0
48#define LOG4CXX_CHAR_API 1
49#define LOG4CXX_WCHAR_T_API 1
50#define LOG4CXX_UNICHAR_API 0
51#define LOG4CXX_CFSTRING_API 0
52#define LOG4CXX_HAS_NETWORKING 1
53#define LOG4CXX_HAS_MULTIPROCESS_ROLLING_FILE_APPENDER 0
54#define LOG4CXX_EVENTS_AT_EXIT 0
55#define LOG4CXX_HAS_DOMCONFIGURATOR 1
58#define LOG4CXX_USE_GLOBAL_SCOPE_TEMPLATE 0
59#define LOG4CXX_LOGSTREAM_ADD_NOP 0
61#include <log4cxx/helpers/makeunique.h>
64#define LOG4CXX_PTR_DEF(T) typedef std::shared_ptr<T> T##Ptr;\
65 typedef std::weak_ptr<T> T##WeakPtr
66#define LOG4CXX_UNIQUE_PTR_DEF(T) typedef std::unique_ptr<T> T##UniquePtr;
67#define LOG4CXX_LIST_DEF(N, T) typedef std::vector<T> N
68#define LOG4CXX_PRIVATE_PTR(T) std::unique_ptr<T>
71#define LOG4CXX_DECLARE_PRIVATE_MEMBER_PTR(T, V) \
72__pragma( warning( push ) ) \
73__pragma( warning( disable : 4251 ) ) \
74 struct T; LOG4CXX_PRIVATE_PTR(T) V; \
75__pragma( warning( pop ) )
77#define LOG4CXX_DECLARE_PRIVATE_MEMBER(T, V) \
78__pragma( warning( push ) ) \
79__pragma( warning( disable : 4251 ) ) \
81__pragma( warning( pop ) )
83#define LOG4CXX_INSTANTIATE_EXPORTED_PTR(T) template class LOG4CXX_EXPORT std::shared_ptr<T>
85#define LOG4CXX_DECLARE_PRIVATE_MEMBER_PTR(T, V) struct T; LOG4CXX_PRIVATE_PTR(T) V;
86#define LOG4CXX_DECLARE_PRIVATE_MEMBER(T, V) T V;
87#define LOG4CXX_INSTANTIATE_EXPORTED_PTR(T)
90#if defined(_WIN32) && defined(_MSC_VER)
91#if defined(LOG4CXX_STATIC)
94#define LOG4CXX_EXPORT __declspec(dllexport)
96#define LOG4CXX_EXPORT __declspec(dllimport)
98#elif defined(__GNUC__) && 4 <= __GNUC__ && 15 < LOG4CXX_ABI_VERSION
99 #define LOG4CXX_EXPORT __attribute__ ((visibility ("default")))
101 #define LOG4CXX_EXPORT
104#define LOG4CXX_NS log4cxx
130#define LOG4CXX_USING_STD_FORMAT 0
131#if !defined(LOG4CXX_FORMAT_NS) && LOG4CXX_USING_STD_FORMAT
132#define LOG4CXX_FORMAT_NS std
133#elif !defined(LOG4CXX_FORMAT_NS)
134#define LOG4CXX_FORMAT_NS fmt
#define LOG4CXX_EXPORT
Definition: log4cxx.h:101
#define LOG4CXX_NS
Definition: log4cxx.h:104
Definition: configuration.h:25
LOG4CXX_EXPORT uint32_t libraryVersion()
Query the compiled version of the library.
int64_t log4cxx_time_t
log4cxx_time_t - holds the number of microseconds since 1970-01-01
Definition: log4cxx.h:111
int log4cxx_status_t
Definition: log4cxx.h:113