Added: logging/site/trunk/docs/log4cxx/apidocs/log4cxx_8h.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4cxx/apidocs/log4cxx_8h.html?rev=642410&view=auto ============================================================================== --- logging/site/trunk/docs/log4cxx/apidocs/log4cxx_8h.html (added) +++ logging/site/trunk/docs/log4cxx/apidocs/log4cxx_8h.html Fri Mar 28 15:30:51 2008 @@ -0,0 +1,477 @@ + + +Apache log4cxx: log4cxx.h File Reference + + + + +
+
+
+
+

log4cxx.h File Reference

+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

#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_USE_GLOBAL_SCOPE_TEMPLATE   0
#define LOG4CXX_LOGSTREAM_ADD_NOP   0
#define LOG4CXX_EXPORT
#define LOG4CXX_PTR_DEF(T)   typedef log4cxx::helpers::ObjectPtrT<T> T##Ptr
#define LOG4CXX_LIST_DEF(N, T)   typedef std::vector<T> N

Typedefs

typedef long long log4cxx_int64_t
typedef log4cxx_int64_t log4cxx_time_t
typedef int log4cxx_status_t
typedef unsigned int log4cxx_uint32_t
+


Define Documentation

+

+ + + + +
+ + + + +
#define LOG4CXX_CFSTRING_API   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_CHAR_API   1
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_EXPORT
+
+ + + + + +
+   + + +

+

+

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

+

+

+ + + + +
+ + + + +
#define LOG4CXX_LOGCHAR_IS_UNICHAR   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_LOGCHAR_IS_UTF8   1
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_LOGCHAR_IS_WCHAR   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_LOGSTREAM_ADD_NOP   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
#define LOG4CXX_PTR_DEF  )    typedef log4cxx::helpers::ObjectPtrT<T> T##Ptr
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_UNICHAR_API   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_USE_GLOBAL_SCOPE_TEMPLATE   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_WCHAR_T_API   1
+
+ + + + + +
+   + + +

+

+


Typedef Documentation

+

+ + + + +
+ + + + +
typedef long long log4cxx_int64_t
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
typedef int log4cxx_status_t
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
typedef log4cxx_int64_t log4cxx_time_t
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
typedef unsigned int log4cxx_uint32_t
+
+ + + + + +
+   + + +

+

+ + + Propchange: logging/site/trunk/docs/log4cxx/apidocs/log4cxx_8h.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: logging/site/trunk/docs/log4cxx/apidocs/log4cxx__private_8h.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4cxx/apidocs/log4cxx__private_8h.html?rev=642410&view=auto ============================================================================== --- logging/site/trunk/docs/log4cxx/apidocs/log4cxx__private_8h.html (added) +++ logging/site/trunk/docs/log4cxx/apidocs/log4cxx__private_8h.html Fri Mar 28 15:30:51 2008 @@ -0,0 +1,487 @@ + + +Apache log4cxx: log4cxx_private.h File Reference + + + + +

+
+
+
+

log4cxx_private.h File Reference

+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

#define LOG4CXX_RETURN_AFTER_THROW   0
#define LOG4CXX_HAS_STD_LOCALE   1
#define LOG4CXX_FORCE_WIDE_CONSOLE   0
#define LOG4CXX_FORCE_BYTE_CONSOLE   0
#define LOG4CXX_MEMSET_IOS_BASE   0
#define LOG4CXX_HAVE_ODBC   0
#define LOG4CXX_HAS_MBSRTOWCS   1
#define LOG4CXX_HAS_WCSTOMBS   1
#define LOG4CXX_HAS_FWIDE   1
#define LOG4CXX_CHARSET_UTF8   0
#define LOG4CXX_CHARSET_ISO88591   0
#define LOG4CXX_CHARSET_USASCII   0
#define LOG4CXX_CHARSET_EBCDIC   0
#define LOG4CXX_HAVE_LIBESMTP   0
#define LOG4CXX_HAVE_SYSLOG   1
#define LOG4CXX_WIN32_THREAD_FMTSPEC   "0x%.8x"
#define LOG4CXX_APR_THREAD_FMTSPEC   "0x%pt"
+


Define Documentation

+

+ + + + +
+ + + + +
#define LOG4CXX_APR_THREAD_FMTSPEC   "0x%pt"
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_CHARSET_EBCDIC   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_CHARSET_ISO88591   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_CHARSET_USASCII   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_CHARSET_UTF8   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_FORCE_BYTE_CONSOLE   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_FORCE_WIDE_CONSOLE   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_HAS_FWIDE   1
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_HAS_MBSRTOWCS   1
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_HAS_STD_LOCALE   1
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_HAS_WCSTOMBS   1
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_HAVE_LIBESMTP   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_HAVE_ODBC   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_HAVE_SYSLOG   1
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_MEMSET_IOS_BASE   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_RETURN_AFTER_THROW   0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
#define LOG4CXX_WIN32_THREAD_FMTSPEC   "0x%.8x"
+
+ + + + + +
+   + + +

+

+ + + Propchange: logging/site/trunk/docs/log4cxx/apidocs/log4cxx__private_8h.html ------------------------------------------------------------------------------ svn:mime-type = text/html Modified: logging/site/trunk/docs/log4cxx/apidocs/tree.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4cxx/apidocs/tree.html?rev=642410&r1=642409&r2=642410&view=diff ============================================================================== --- logging/site/trunk/docs/log4cxx/apidocs/tree.html (original) +++ logging/site/trunk/docs/log4cxx/apidocs/tree.html Fri Mar 28 15:30:51 2008 @@ -168,6 +168,8 @@

|o*locale.h

|o*locationinfo.h

|o*locationinfofilter.h

+

|o*log4cxx.h

+

|o*log4cxx_private.h

|o*logger.h

|o*loggerfactory.h

|o*loggerpatternconverter.h

Modified: logging/site/trunk/docs/log4cxx/building/ant.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4cxx/building/ant.html?rev=642410&r1=642409&r2=642410&view=diff ============================================================================== --- logging/site/trunk/docs/log4cxx/building/ant.html (original) +++ logging/site/trunk/docs/log4cxx/building/ant.html Fri Mar 28 15:30:51 2008 @@ -217,13 +217,13 @@

Building Apache log4cxx with Apache Ant

-

Apache Ant - with cpptasks from the Ant-Contrib +

Apache Ant + with cpptasks from the Ant-Contrib project can be used to build log4cxx with supported compilers and is also used to generate the IDE project files included in the releases. The Apache Maven build which is used to generate the site documentation and release packaging delegates to this build. The Ant build can build APR and APR-Util if source is available.

Quick start:

-
  • Install Apache Ant +
    • Install Apache Ant 1.6.5 or later.
    • -
    • Install cpptasks 1.0b5 or later from the Ant-Contrib Project +
    • Install cpptasks 1.0b5 or later from the Ant-Contrib Project . ant-contribs 1.0b3 or later is needed for some less frequent build targets.
    • Install APR and APR-Util or place source in apr and apr-util directories as a sibling to the log4cxx directory.
    • Install gzip and zip (used for compression by RollingFileAppender) and sed (used to normalize output files for comparison in unit tests).
    • @@ -352,11 +352,11 @@

      Properties may also be placed in a build.properties file in the log4cxx directory.

Platform specific notes:

-
  • Microsoft Windows

    GnuWin32 - provides binary versions of sed, gzip and zip. Alternative, the bin directory of Cygwin +

    • Microsoft Windows

      GnuWin32 + provides binary versions of sed, gzip and zip. Alternative, the bin directory of Cygwin may be placed on the path.

      If -Dwith-SMTP=libesmtp is specified, the build will attempt to build libesmtp from source, unfortunately libesmtp depends on poll.h and will not build.

      -

      APR 1.2.12 has a known issue that will prevent compilation with Visual Studio 6 unless a later Platform SDK is installed. See APR bug 44327 +

      APR 1.2.12 has a known issue that will prevent compilation with Visual Studio 6 unless a later Platform SDK is installed. See APR bug 44327 . APR 1.2.11 and the corresponding APR-Util 1.2.10 will compile with Visual Studio 6.

    • Cygwin:

      gcc 3.x does not provide wchar_t support which needs to be explicitly disabled. The Win32 path to the APR libraries need to be provided (CYGWIN_HOME/lib) if compiling against an installed APR and APR-Util.

      @@ -378,7 +378,7 @@ $ ..\..\..\target\debug\shared\trivial $ ..\..\..\target\debug\shared\stream
-

Running "ant check" was observed to fail with unexpected exceptions in streamtestcase and datetimedateformattestcase. See LOGCXX-244 +

Running "ant check" was observed to fail with unexpected exceptions in streamtestcase and datetimedateformattestcase. See LOGCXX-244 .

  • Debian:

    Apache APR, APR-Util, Ant and log4j and zip may be installed using:

    Modified: logging/site/trunk/docs/log4cxx/building/autotools.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4cxx/building/autotools.html?rev=642410&r1=642409&r2=642410&view=diff ============================================================================== --- logging/site/trunk/docs/log4cxx/building/autotools.html (original) +++ logging/site/trunk/docs/log4cxx/building/autotools.html Fri Mar 28 15:30:51 2008 @@ -307,7 +307,7 @@ --with-apr-util=/usr/local --with-logchar=wchar_t $ make install
  • -

    Running "make check" was observed to fail with unexpected exceptions in streamtestcase and datetimedateformattestcase. See LOGCXX-244 +

    Running "make check" was observed to fail with unexpected exceptions in streamtestcase and datetimedateformattestcase. See LOGCXX-244 .

    Modified: logging/site/trunk/docs/log4cxx/building/maven.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4cxx/building/maven.html?rev=642410&r1=642409&r2=642410&view=diff ============================================================================== --- logging/site/trunk/docs/log4cxx/building/maven.html (original) +++ logging/site/trunk/docs/log4cxx/building/maven.html Fri Mar 28 15:30:51 2008 @@ -217,11 +217,11 @@

    Building Apache log4cxx with Apache Maven 2

    -

    Apache Maven 2 +

    Apache Maven 2 is used to generate the release assemblies and generate product documentation. It delegates to the Apache Ant build to build and test log4cxx and can be used as an alternate front end to the Ant build process since it can automatically download and use ant-contrib, cpptasks and log4j. The Maven build, like the Ant build, can build APR and APR-Util from source.

    Quick start:

    -
    • Install Apache Maven +
      • Install Apache Maven 2.0.8 or later.
      • Install APR and APR-Util or place source in apr and apr-util directories in same parent directory as log4cxx directory.

        Building and testing log4cxx on a Unix platform with packaged APR and APR-Util.

         sudo apt-get install libapr1.0-dev libaprutil1.0-dev doxygen
        
        Modified: logging/site/trunk/docs/log4cxx/building/vstudio.html
        URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4cxx/building/vstudio.html?rev=642410&r1=642409&r2=642410&view=diff
        ==============================================================================
        --- logging/site/trunk/docs/log4cxx/building/vstudio.html (original)
        +++ logging/site/trunk/docs/log4cxx/building/vstudio.html Fri Mar 28 15:30:51 2008
        @@ -240,7 +240,7 @@
         

        On the Debug Tab of the Project/Settings dialog, set the Working Directory to "../src/test/resources". Individual tests can be specified in Program Arguments and "-v" can be specified to output verbose test results.

        Known Issues

        -
        • APR 1.2.12 has a known issue that will prevent compilation with Visual Studio 6 unless a later Platform SDK is installed. See APR bug 44327 +
          • APR 1.2.12 has a known issue that will prevent compilation with Visual Studio 6 unless a later Platform SDK is installed. See APR bug 44327 . APR 1.2.11 and the corresponding APR-Util 1.2.10 will compile with Visual Studio 6.
          • APR-Util requires later LDAP headers than provided with Visual Studio 6 and will fail to compile. log4cxx does not use LDAP, it can be disabled in apr_ldap.hw.
          • APR-Iconv is problematic and not used by log4cxx, it can be disabled in apu.hw.
          • Modified: logging/site/trunk/docs/log4cxx/building/xcode.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4cxx/building/xcode.html?rev=642410&r1=642409&r2=642410&view=diff ============================================================================== --- logging/site/trunk/docs/log4cxx/building/xcode.html (original) +++ logging/site/trunk/docs/log4cxx/building/xcode.html Fri Mar 28 15:30:51 2008 @@ -235,7 +235,7 @@

        Issues

        The project file generation does does not properly create an entry in the "Link Binary with Libraries" build phase for projects that depend on log4cxx. To work around the problem, open the project in Xcode and in the Groups & Files pane, drag log4cxx.dylib and drop on the "Link Binary with Libraries" folder under Targets.

        -

        See issue LOGCXX-245 +

        See issue LOGCXX-245 for further information.

        Thw generated projects us the Mac OS/X 10.5 SDK which provides APR and APR-Util. To generated XCode projects that do not use Mac OS/X, set up the ant build and then "ant build-projects-xcode".