You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rm...@apache.org on 2021/11/06 00:43:17 UTC
[logging-log4cxx] 12/20: Made hierarchy ABI stable
This is an automated email from the ASF dual-hosted git repository.
rmiddleton pushed a commit to branch LOGCXX-510
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
commit 09b132ba1fb75de8dd9e2898ae81bac7597f7c7b
Author: Robert Middleton <ro...@rm5248.com>
AuthorDate: Fri Nov 5 18:08:05 2021 -0400
Made hierarchy ABI stable
---
src/main/include/log4cxx/hierarchy.h | 22 ++--------------------
1 file changed, 2 insertions(+), 20 deletions(-)
diff --git a/src/main/include/log4cxx/hierarchy.h b/src/main/include/log4cxx/hierarchy.h
index 5ca5769..0cf6963 100644
--- a/src/main/include/log4cxx/hierarchy.h
+++ b/src/main/include/log4cxx/hierarchy.h
@@ -62,26 +62,8 @@ class LOG4CXX_EXPORT Hierarchy :
public std::enable_shared_from_this<Hierarchy>
{
private:
- log4cxx::helpers::Pool pool;
- mutable std::mutex mutex;
- bool configured;
-
- spi::LoggerFactoryPtr defaultFactory;
- spi::HierarchyEventListenerList listeners;
-
- typedef std::map<LogString, LoggerPtr> LoggerMap;
- std::unique_ptr<LoggerMap> loggers;
-
- typedef std::map<LogString, ProvisionNode> ProvisionNodeMap;
- std::unique_ptr<ProvisionNodeMap> provisionNodes;
-
- LoggerPtr root;
-
- int thresholdInt;
- LevelPtr threshold;
-
- bool emittedNoAppenderWarning;
- bool emittedNoResourceBundleWarning;
+ struct HierarchyPrivate;
+ std::unique_ptr<HierarchyPrivate> m_priv;
public:
DECLARE_ABSTRACT_LOG4CXX_OBJECT(Hierarchy)