diff options
author | Ceki Gulcu <ceki@qos.ch> | 2015-03-26 17:40:22 +0100 |
---|---|---|
committer | Ceki Gulcu <ceki@qos.ch> | 2015-03-26 17:40:22 +0100 |
commit | a0ebd0a43bbf07dd0b5560e8eb4a62929e06efaf (patch) | |
tree | e3ac47d97123980ee09d1e4ad8f2b76b32f41ec7 | |
parent | 410dc2d1e71f45c591ce3adabe7e0180848b91ae (diff) | |
download | slf4j-a0ebd0a43bbf07dd0b5560e8eb4a62929e06efaf.tar.gz |
add Category.getAppender(String) method fixing SLF4J-231, merge release 1.7.11 into 1.7.12
-rw-r--r-- | log4j-over-slf4j/src/main/java/org/apache/log4j/Category.java | 4 | ||||
-rwxr-xr-x | slf4j-site/src/site/pages/news.html | 8 |
2 files changed, 11 insertions, 1 deletions
diff --git a/log4j-over-slf4j/src/main/java/org/apache/log4j/Category.java b/log4j-over-slf4j/src/main/java/org/apache/log4j/Category.java index 8ed11ff8..0d29fbe9 100644 --- a/log4j-over-slf4j/src/main/java/org/apache/log4j/Category.java +++ b/log4j-over-slf4j/src/main/java/org/apache/log4j/Category.java @@ -81,6 +81,10 @@ public class Category { return name; } + public Appender getAppender(String name) { + return null; + } + public Enumeration getAllAppenders() { return NullEnumeration.getInstance(); } diff --git a/slf4j-site/src/site/pages/news.html b/slf4j-site/src/site/pages/news.html index c8e3bd42..36d4b338 100755 --- a/slf4j-site/src/site/pages/news.html +++ b/slf4j-site/src/site/pages/news.html @@ -29,7 +29,7 @@ <hr noshade="noshade" size="1"/> - <h3>March 26th, 2015 - Release of SLF4J 1.7.11</h3> + <h3>March 26th, 2015 - Release of SLF4J 1.7.12</h3> <p>All java files have been reformatted to with the code formatter style defined in <i>codeStyle.xml</i>. This style uses 4 spaces for @@ -45,6 +45,12 @@ href="http://jira.qos.ch/browse/SLF4J-321">SLF4J-231</a> by Nikolas Falco who also provided the the appropriate pull request. </p> + <p>Added <code>getAppender(String)</code> method in + <code>Category</code> class in the log4j-over-slf4j module. This + addition was requested by Ramon Gordillo in <a + href="http://jira.qos.ch/browse/SLF4J-319">SLF4J-319</a>. + </p> + <p>Added <code>setThreshold</code> method in <code>AppenderSkeleton</code> class in the log4j-over-slf4j module. This addition was requested by Dimitrios Liapis who also |