18 #ifndef _LOG4CXX_SPI_LOCATION_LOCATIONINFO_H 19 #define _LOG4CXX_SPI_LOCATION_LOCATIONINFO_H 21 #include <log4cxx/log4cxx.h> 43 static const char*
const NA;
56 const char*
const functionName,
83 const std::string getClassName()
const;
89 const char* getFileName()
const;
95 int getLineNumber()
const;
98 const std::string getMethodName()
const;
108 const char* fileName;
111 const char* methodName;
118 #if !defined(LOG4CXX_LOCATION) 119 #if defined(_MSC_VER) 121 #define __LOG4CXX_FUNC__ __FUNCSIG__ 124 #if defined(__GNUC__) 125 #define __LOG4CXX_FUNC__ __PRETTY_FUNCTION__ 127 #if defined(__BORLANDC__) 128 #define __LOG4CXX_FUNC__ __FUNC__ 132 #if !defined(__LOG4CXX_FUNC__) 133 #define __LOG4CXX_FUNC__ "" 135 #define LOG4CXX_LOCATION ::log4cxx::spi::LocationInfo(__FILE__, \ 140 #endif //_LOG4CXX_SPI_LOCATION_LOCATIONINFO_H
static const char *const NA_METHOD
Definition: locationinfo.h:44
Emulates java serialization.
Definition: objectoutputstream.h:33
This class represents the location of a logging statement.
Definition: locationinfo.h:33
Definition: appender.h:32
static const char *const NA
When location information is not available the constant NA is returned.
Definition: locationinfo.h:43