Apache Log4cxx  Version 1.3.0
Loading...
Searching...
No Matches
log4cxx.h File Reference
#include <log4cxx/helpers/makeunique.h>
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  log4cxx
 

Macros

#define LOG4CXX_ABI_VERSION   15
 
#define LOG4CXX_VERSION_MAJOR   1
 
#define LOG4CXX_VERSION_MINOR   2
 
#define LOG4CXX_VERSION_PATCH   0
 
#define LOG4CXX_VERSION_TWEAK   0
 
#define LOG4CXX_MAKE_VERSION(major, minor, patch, tweak)
 
#define LOG4CXX_VERSION_GET_MAJOR(version)   (((version) >> 24) & 0xFF)
 
#define LOG4CXX_VERSION_GET_MINOR(version)   (((version) >> 16) & 0xFF)
 
#define LOG4CXX_VERSION_GET_PATCH(version)   (((version) >> 8) & 0xFF)
 
#define LOG4CXX_VERSION_GET_TWEAK(version)   ((version) & 0xFF)
 
#define LOG4CXX_VERSION    LOG4CXX_MAKE_VERSION(LOG4CXX_VERSION_MAJOR, LOG4CXX_VERSION_MINOR, LOG4CXX_VERSION_PATCH, LOG4CXX_VERSION_TWEAK)
 
#define LOG4CXX_LOGCHAR_IS_UNICHAR   0
 
#define LOG4CXX_LOGCHAR_IS_UTF8   1
 
#define LOG4CXX_LOGCHAR_IS_WCHAR   0
 
#define LOG4CXX_CHAR_API   1
 
#define LOG4CXX_WCHAR_T_API   1
 
#define LOG4CXX_UNICHAR_API   0
 
#define LOG4CXX_CFSTRING_API   0
 
#define LOG4CXX_HAS_NETWORKING   1
 
#define LOG4CXX_HAS_MULTIPROCESS_ROLLING_FILE_APPENDER   0
 
#define LOG4CXX_EVENTS_AT_EXIT   0
 
#define LOG4CXX_HAS_DOMCONFIGURATOR   1
 
#define LOG4CXX_USE_GLOBAL_SCOPE_TEMPLATE   0
 
#define LOG4CXX_LOGSTREAM_ADD_NOP   0
 
#define LOG4CXX_PTR_DEF(T)
 
#define LOG4CXX_UNIQUE_PTR_DEF(T)   typedef std::unique_ptr<T> T##UniquePtr;
 
#define LOG4CXX_LIST_DEF(N, T)   typedef std::vector<T> N
 
#define LOG4CXX_PRIVATE_PTR(T)   std::unique_ptr<T>
 
#define LOG4CXX_DECLARE_PRIVATE_MEMBER_PTR(T, V)   struct T; LOG4CXX_PRIVATE_PTR(T) V;
 
#define LOG4CXX_DECLARE_PRIVATE_MEMBER(T, V)   T V;
 
#define LOG4CXX_INSTANTIATE_EXPORTED_PTR(T)
 
#define LOG4CXX_EXPORT
 
#define LOG4CXX_NS   log4cxx
 
#define LOG4CXX_USING_STD_FORMAT   0
 
#define LOG4CXX_FORMAT_NS   fmt
 

Typedefs

typedef int64_t log4cxx::log4cxx_time_t
 log4cxx_time_t - holds the number of microseconds since 1970-01-01
 
typedef int log4cxx::log4cxx_status_t
 

Functions

LOG4CXX_EXPORT uint32_t log4cxx::libraryVersion ()
 Query the compiled version of the library.
 

Macro Definition Documentation

◆ LOG4CXX_ABI_VERSION

#define LOG4CXX_ABI_VERSION   15

◆ LOG4CXX_CFSTRING_API

#define LOG4CXX_CFSTRING_API   0

◆ LOG4CXX_CHAR_API

#define LOG4CXX_CHAR_API   1

◆ LOG4CXX_DECLARE_PRIVATE_MEMBER

#define LOG4CXX_DECLARE_PRIVATE_MEMBER (   T,
 
)    T V;

◆ LOG4CXX_DECLARE_PRIVATE_MEMBER_PTR

#define LOG4CXX_DECLARE_PRIVATE_MEMBER_PTR (   T,
 
)    struct T; LOG4CXX_PRIVATE_PTR(T) V;

◆ LOG4CXX_EVENTS_AT_EXIT

#define LOG4CXX_EVENTS_AT_EXIT   0

◆ LOG4CXX_EXPORT

#define LOG4CXX_EXPORT

◆ LOG4CXX_FORMAT_NS

#define LOG4CXX_FORMAT_NS   fmt

◆ LOG4CXX_HAS_DOMCONFIGURATOR

#define LOG4CXX_HAS_DOMCONFIGURATOR   1

◆ LOG4CXX_HAS_MULTIPROCESS_ROLLING_FILE_APPENDER

#define LOG4CXX_HAS_MULTIPROCESS_ROLLING_FILE_APPENDER   0

◆ LOG4CXX_HAS_NETWORKING

#define LOG4CXX_HAS_NETWORKING   1

◆ LOG4CXX_INSTANTIATE_EXPORTED_PTR

#define LOG4CXX_INSTANTIATE_EXPORTED_PTR (   T)

◆ LOG4CXX_LIST_DEF

#define LOG4CXX_LIST_DEF (   N,
 
)    typedef std::vector<T> N

◆ LOG4CXX_LOGCHAR_IS_UNICHAR

#define LOG4CXX_LOGCHAR_IS_UNICHAR   0

◆ LOG4CXX_LOGCHAR_IS_UTF8

#define LOG4CXX_LOGCHAR_IS_UTF8   1

◆ LOG4CXX_LOGCHAR_IS_WCHAR

#define LOG4CXX_LOGCHAR_IS_WCHAR   0

◆ LOG4CXX_LOGSTREAM_ADD_NOP

#define LOG4CXX_LOGSTREAM_ADD_NOP   0

◆ LOG4CXX_MAKE_VERSION

#define LOG4CXX_MAKE_VERSION (   major,
  minor,
  patch,
  tweak 
)
Value:
(((major) << 24) |\
((minor) << 16) |\
((patch) << 8) |\
(tweak) )

◆ LOG4CXX_NS

#define LOG4CXX_NS   log4cxx

◆ LOG4CXX_PRIVATE_PTR

#define LOG4CXX_PRIVATE_PTR (   T)    std::unique_ptr<T>

◆ LOG4CXX_PTR_DEF

#define LOG4CXX_PTR_DEF (   T)
Value:
typedef std::shared_ptr<T> T##Ptr;\
typedef std::weak_ptr<T> T##WeakPtr

◆ LOG4CXX_UNICHAR_API

#define LOG4CXX_UNICHAR_API   0

◆ LOG4CXX_UNIQUE_PTR_DEF

#define LOG4CXX_UNIQUE_PTR_DEF (   T)    typedef std::unique_ptr<T> T##UniquePtr;

◆ LOG4CXX_USE_GLOBAL_SCOPE_TEMPLATE

#define LOG4CXX_USE_GLOBAL_SCOPE_TEMPLATE   0

◆ LOG4CXX_USING_STD_FORMAT

#define LOG4CXX_USING_STD_FORMAT   0

◆ LOG4CXX_VERSION

◆ LOG4CXX_VERSION_GET_MAJOR

#define LOG4CXX_VERSION_GET_MAJOR (   version)    (((version) >> 24) & 0xFF)

◆ LOG4CXX_VERSION_GET_MINOR

#define LOG4CXX_VERSION_GET_MINOR (   version)    (((version) >> 16) & 0xFF)

◆ LOG4CXX_VERSION_GET_PATCH

#define LOG4CXX_VERSION_GET_PATCH (   version)    (((version) >> 8) & 0xFF)

◆ LOG4CXX_VERSION_GET_TWEAK

#define LOG4CXX_VERSION_GET_TWEAK (   version)    ((version) & 0xFF)

◆ LOG4CXX_VERSION_MAJOR

#define LOG4CXX_VERSION_MAJOR   1

◆ LOG4CXX_VERSION_MINOR

#define LOG4CXX_VERSION_MINOR   2

◆ LOG4CXX_VERSION_PATCH

#define LOG4CXX_VERSION_PATCH   0

◆ LOG4CXX_VERSION_TWEAK

#define LOG4CXX_VERSION_TWEAK   0

◆ LOG4CXX_WCHAR_T_API

#define LOG4CXX_WCHAR_T_API   1