The TelnetAppender is a log4cxx appender that specializes in
writing to a read-only socket. The output is provided in a
@@ -131,8 +133,8 @@ servlet.
TelnetAppender(const TelnetAppender&);
TelnetAppender& operator=(const TelnetAppender&);
- typedef log4cxx::helpers::SocketPtr Connection;
- LOG4CXX_LIST_DEF(ConnectionList, Connection);
+
+
void write(log4cxx::helpers::ByteBuffer&);
void writeStatus(const log4cxx::helpers::SocketPtr& socket, const LogString& msg, log4cxx::helpers::Pool& p);
diff -rupN apache-log4cxx-0.10.0\src\main\include\log4cxx\patternlayout.h log4cxx_1\apache-log4cxx-0.10.0\src\main\include\log4cxx\patternlayout.h
--- apache-log4cxx-0.10.0\src\main\include\log4cxx\patternlayout.h Tue Apr 01 06:34:42 2008
+++ log4cxx_1\apache-log4cxx-0.10.0\src\main\include\log4cxx\patternlayout.h Tue Jul 06 19:40:28 2010
@@ -32,7 +32,8 @@
namespace log4cxx
{
-
+ LOG4CXX_LIST_DEF(LoggingEventPatternConverterList, log4cxx::pattern::LoggingEventPatternConverterPtr);
+ LOG4CXX_LIST_DEF(FormattingInfoList, log4cxx::pattern::FormattingInfoPtr);
/**
A flexible layout configurable with pattern string.
@@ -334,13 +335,13 @@ namespace log4cxx
/**
* Pattern converters.
*/
- LOG4CXX_LIST_DEF(LoggingEventPatternConverterList, log4cxx::pattern::LoggingEventPatternConverterPtr);
+
LoggingEventPatternConverterList patternConverters;
/**
* Field widths and alignment corresponding to pattern converters.
*/
- LOG4CXX_LIST_DEF(FormattingInfoList, log4cxx::pattern::FormattingInfoPtr);
+
FormattingInfoList patternFields;
diff -rupN apache-log4cxx-0.10.0\src\main\include\log4cxx\private\log4cxx_private.h log4cxx_1\apache-log4cxx-0.10.0\src\main\include\log4cxx\private\log4cxx_private.h
--- apache-log4cxx-0.10.0\src\main\include\log4cxx\private\log4cxx_private.h Thu Jan 01 08:00:00 1970
+++ log4cxx_1\apache-log4cxx-0.10.0\src\main\include\log4cxx\private\log4cxx_private.h Tue Apr 01 06:34:42 2008
@@ -0,0 +1,84 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#ifndef LOG4CXX_PRIVATE_LOG4CXX_H
+#define LOG4CXX_PRIVATE_LOG4CXX_H
+
+
+/* GENERATED FILE WARNING! DO NOT EDIT log4cxx.h
+ *
+ * You must modify log4cxx.hw instead.
+ *
+ *
+ * This is the Win32 specific version of log4cxx.h.
+ */
+
+#include LoggingEvent instance
@@ -152,7 +153,7 @@ namespace log4cxx
*/
bool getMDC(const LogString& key, LogString& dest) const;
- LOG4CXX_LIST_DEF(KeySet, LogString);
+
/**
* Returns the set of of the key values in the MDC for the event.
* The returned set is unmodifiable by the caller.