You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by ts...@apache.org on 2015/10/08 18:22:46 UTC
svn commit: r1707579 -
/incubator/log4cxx/trunk/src/main/include/log4cxx/appenderskeleton.h
Author: tschoening
Date: Thu Oct 8 16:22:46 2015
New Revision: 1707579
URL: http://svn.apache.org/viewvc?rev=1707579&view=rev
Log:
Foxed some lines with broken code style, comments where not properly associated to their methods and such.
Modified:
incubator/log4cxx/trunk/src/main/include/log4cxx/appenderskeleton.h
Modified: incubator/log4cxx/trunk/src/main/include/log4cxx/appenderskeleton.h
URL: http://svn.apache.org/viewvc/incubator/log4cxx/trunk/src/main/include/log4cxx/appenderskeleton.h?rev=1707579&r1=1707578&r2=1707579&view=diff
==============================================================================
--- incubator/log4cxx/trunk/src/main/include/log4cxx/appenderskeleton.h (original)
+++ incubator/log4cxx/trunk/src/main/include/log4cxx/appenderskeleton.h Thu Oct 8 16:22:46 2015
@@ -78,6 +78,13 @@ namespace log4cxx
log4cxx::helpers::Pool pool;
log4cxx::helpers::Mutex mutex;
+ /**
+ Subclasses of <code>AppenderSkeleton</code> should implement this
+ method to perform actual logging. See also AppenderSkeleton::doAppend
+ method.
+ */
+ virtual void append(const spi::LoggingEventPtr& event, log4cxx::helpers::Pool& p) = 0;
+
public:
DECLARE_ABSTRACT_LOG4CXX_OBJECT(AppenderSkeleton)
BEGIN_LOG4CXX_CAST_MAP()
@@ -110,18 +117,10 @@ namespace log4cxx
*/
void addFilter(const spi::FilterPtr& newFilter) ;
- /**
- Subclasses of <code>AppenderSkeleton</code> should implement this
- method to perform actual logging. See also AppenderSkeleton::doAppend
- method.
- */
- protected:
- virtual void append(const spi::LoggingEventPtr& event, log4cxx::helpers::Pool& p) = 0;
-
+ public:
/**
Clear the filters chain.
*/
- public:
void clearFilters();
/**