Repository: logging-log4j2
Updated Branches:
  refs/heads/master 070c696ac -> 4992db7be


Move interface from test to main.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/4992db7b
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/4992db7b
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/4992db7b

Branch: refs/heads/master
Commit: 4992db7be14b2b21c81eb598c6f3a43a800ce93c
Parents: 070c696
Author: Gary Gregory <garydgreg...@gmail.com>
Authored: Sat Aug 12 12:17:39 2017 -0600
Committer: Gary Gregory <garydgreg...@gmail.com>
Committed: Sat Aug 12 12:17:39 2017 -0600

----------------------------------------------------------------------
 .../log4j/core/LoggerContextAccessor.java       | 26 ++++++++++++++++++
 .../log4j/junit/LoggerContextAccessor.java      | 28 --------------------
 .../logging/log4j/junit/LoggerContextRule.java  |  1 +
 3 files changed, 27 insertions(+), 28 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/4992db7b/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContextAccessor.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContextAccessor.java
 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContextAccessor.java
new file mode 100644
index 0000000..c46df7c
--- /dev/null
+++ 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContextAccessor.java
@@ -0,0 +1,26 @@
+/*
+ * 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.
+ */
+package org.apache.logging.log4j.core;
+
+/**
+ * Provides access to a Core Logger Context.
+ */
+public interface LoggerContextAccessor {
+
+    LoggerContext getLoggerContext();
+
+}

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/4992db7b/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextAccessor.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextAccessor.java
 
b/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextAccessor.java
deleted file mode 100644
index af34788..0000000
--- 
a/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextAccessor.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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.
- */
-package org.apache.logging.log4j.junit;
-
-import org.apache.logging.log4j.core.LoggerContext;
-
-/**
- * Provides access to a Core Logger Context.
- */
-public interface LoggerContextAccessor {
-
-    LoggerContext getLoggerContext();
-
-}

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/4992db7b/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextRule.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextRule.java
 
b/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextRule.java
index b4ecb7c..c0c0def 100644
--- 
a/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextRule.java
+++ 
b/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextRule.java
@@ -23,6 +23,7 @@ import org.apache.logging.log4j.core.AbstractLifeCycle;
 import org.apache.logging.log4j.core.Appender;
 import org.apache.logging.log4j.core.Logger;
 import org.apache.logging.log4j.core.LoggerContext;
+import org.apache.logging.log4j.core.LoggerContextAccessor;
 import org.apache.logging.log4j.core.config.Configuration;
 import org.apache.logging.log4j.core.config.Configurator;
 import org.apache.logging.log4j.core.selector.ContextSelector;

Reply via email to