mirror of https://github.com/qos-ch/slf4j
- addded links to projects using slf4j in index.html
- fixed http://bugzilla.slf4j.org/show_bug.cgi?id=168
This commit is contained in:
parent
25120e32fd
commit
99c9eb8a75
|
|
@ -31,8 +31,7 @@ import org.slf4j.spi.LocationAwareLogger;
|
|||
* Log4j's <code>trace</code>, <code>debug()</code>, <code>info()</code>,
|
||||
* <code>warn()</code>, <code>error()</code> printing methods are directly
|
||||
* mapped to their SLF4J equivalents. Log4j's <code>fatal()</code> printing
|
||||
* method is mapped to SLF4J's <code>error()</code> method with a FATAL
|
||||
* marker.
|
||||
* method is mapped to SLF4J's <code>error()</code> method with a FATAL marker.
|
||||
*
|
||||
* @author Sébastien Pennec
|
||||
* @author Ceki Gülcü
|
||||
|
|
@ -148,7 +147,7 @@ public class Category {
|
|||
* SLF4J equivalent, except for FATAL which is mapped as ERROR.
|
||||
*
|
||||
* @param p
|
||||
* the priority to check against
|
||||
* the priority to check against
|
||||
* @return true if this logger is enabled for the given level, false
|
||||
* otherwise.
|
||||
*/
|
||||
|
|
@ -281,30 +280,22 @@ public class Category {
|
|||
LocationAwareLogger.ERROR_INT, message, t);
|
||||
}
|
||||
|
||||
|
||||
// See also http://bugzilla.slf4j.org/show_bug.cgi?id=168
|
||||
public void log(String FQCN, Priority p, Object msg, Throwable t) {
|
||||
int levelInt = priorityToLevelInt(p);
|
||||
if (locationAwareLogger != null) {
|
||||
locationAwareLogger.log(null, FQCN, levelInt, convertToString(msg), t);
|
||||
} else {
|
||||
throw new UnsupportedOperationException("The logger [" + slf4jLogger
|
||||
+ "] does not seem to be location aware.");
|
||||
}
|
||||
differentiatedLog(null, FQCN, levelInt, msg, t);
|
||||
}
|
||||
|
||||
public void log(Priority p, Object message, Throwable t) {
|
||||
int levelInt = priorityToLevelInt(p);
|
||||
differentiatedLog(null, CATEGORY_FQCN, levelInt,
|
||||
message, t);
|
||||
differentiatedLog(null, CATEGORY_FQCN, levelInt, message, t);
|
||||
}
|
||||
|
||||
public void log(Priority p, Object message) {
|
||||
int levelInt = priorityToLevelInt(p);
|
||||
differentiatedLog(null, CATEGORY_FQCN, levelInt,
|
||||
message, null);
|
||||
differentiatedLog(null, CATEGORY_FQCN, levelInt, message, null);
|
||||
}
|
||||
|
||||
|
||||
private int priorityToLevelInt(Priority p) {
|
||||
switch (p.level) {
|
||||
case Level.TRACE_INT:
|
||||
|
|
|
|||
|
|
@ -46,6 +46,110 @@
|
|||
href="legacy.html">legacy APIs</a>.
|
||||
</p>
|
||||
|
||||
<h3>Projects depending on SLF4J</h3>
|
||||
|
||||
<p>Here is a non-exhaustive list of projects known to depend on
|
||||
SLF4J, in alphabetical order:
|
||||
</p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<ul>
|
||||
<li><a href="http://arhiva.apache.org/">Apache Archiva</a></li>
|
||||
<li><a href="http://directory.apache.org/">Apache Directory</a></li>
|
||||
<li><a href="http://mina.apache.org/ftpserver/">Apache FTPServer</a></li>
|
||||
<li><a href="http://geronimo.apache.org/">Apache Geronimo</a></li>
|
||||
<li><a href="http://incubator.apache.org/graffito/">Apache Graffito</a></li>
|
||||
<li><a href="http://jackrabbit.apache.org/">Apache Jackrabbit</a></li>
|
||||
<li><a href="http://mina.apache.org/">Apache Mina</a></li>
|
||||
<li><a href="http://cwiki.apache.org/qpid/">Apache Qpid</a></li>
|
||||
<li><a href="http://incubator.apache.org/sling/site/index.html">Apache Sling</a></li>
|
||||
<li><a href="http://lucene.apache.org/solr/">Apache Solr</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
|
||||
<td valign="top">
|
||||
<ul>
|
||||
<li><a href="http://tapestry.apache.org/">Apache Tapestry</a></li>
|
||||
<li><a href="http://incubator.apache.org/wicket/">Apache Wicket</a></li>
|
||||
<li><a href="http://aperture.sourceforge.net/">Aperture</a></li>
|
||||
<li><a href="http://apogee.nuxeo.org/">Apogee</a></li>
|
||||
<li><a href="http://www.jfrog.org/sites/artifactory/latest/">Artifactory</a></li>
|
||||
<li><a href="http://docs.safehaus.org/display/ASYNCWEB/Home">AsyncWeb</a></li>
|
||||
<li><a href="http://www.bitronix.be/">Bitronix</a></li>
|
||||
<li><a href="http://www.dbunit.org/">DbUnit</a></li>
|
||||
<li><a href="http://displaytag.sourceforge.net/11/">Display tag</a></li>
|
||||
<li><a href="http://groovy.codehaus.org/GMaven">GMaven</a></li>
|
||||
</ul>
|
||||
|
||||
</td>
|
||||
|
||||
<td valign="top">
|
||||
<ul>
|
||||
<li><a href="http://www.gradle.org/">Gradle</a></li>
|
||||
<li><a href="http://www.icegreen.com/greenmail/">GreenMail</a></li>
|
||||
<li><a href="http://gumtree.codehaus.org/">GumTree</a></li>
|
||||
<li><a href="http://www.h2database.com/">H2 Database</a></li>
|
||||
<li><a href="http://ha-jdbc.sourceforge.net/">HA-JDBC</a></li>
|
||||
<li><a href="http://www.hibernate.org/">Hibernate</a></li>
|
||||
<li><a href="http://code.google.com/p/igenko/">Igenko</a></li>
|
||||
<li><a href="http://jabsorb.org/">Jabsorb</a></li>
|
||||
<li><a href="http://jetty.mortbay.org/">Jetty v6</a></li>
|
||||
<li><a href="http://www.topmind.biz/html/index.php">jLynx</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td valign="top">
|
||||
<ul>
|
||||
<li><a href="http://code.google.com/p/jmesa/">JMesa</a></li>
|
||||
<li><a href="http://www.artofsolving.com/opensource/jodconverter">JODConverter</a></li>
|
||||
<li><a href="http://jtrac.info/dependencies.html">JTrac</a></li>
|
||||
<li><a href="http://jwebunit.sourceforge.net/2.x/">JWebUnit 2.x</a></li>
|
||||
<li><a href="http://www.jquantlib.org/index.php/Main_Page">JQuantLib</a></li>
|
||||
<li><a href="http://www.liferay.com/web/guest/home">LIFERAY</a></li>
|
||||
<li><a href="http://liftweb.net/">Lift</a></li>
|
||||
<li><a href="http://log4jdbc.sourceforge.net">log4jdbc</a></li>
|
||||
<li><a href="http://www.magnolia.info/en/magnolia.html">Magnolia</a></li>
|
||||
<li><a href="http://mrcp4j.sourceforge.net/">MRCP4J</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
|
||||
|
||||
<td valign="top">
|
||||
<ul>
|
||||
<li><a href="http://www.mindquarry.com/">Mindquarry</a></li>
|
||||
<li><a href="http://mugshot.org/">Mugshot</a></li>
|
||||
<li><a href="http://mule.codehaus.org/display/MULE/Home">Mule</a></li>
|
||||
<li><a href="http://nexus.sonatype.org/repository.html">Nexus</a></li>
|
||||
<li><a href="http://www.novocode.com/naf/">Novocode</a></li>
|
||||
<li><a href="http://www.unidata.ucar.edu/software/netcdf-java/">NetCDF</a></li>
|
||||
<li><a href="http://code.google.com/p/openmeetings/">OpenMeetings</a></li>
|
||||
<li><a href="http://www.openrdf.org/">OpenRDF</a></li>
|
||||
<li><a href="http://docs.safehaus.org/display/PENROSE/Home">Penrose</a></li>
|
||||
<li><a href="http://sonar.codehaus.org/">Sonar</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
|
||||
<td valign="top">
|
||||
<ul>
|
||||
<li><a href="http://pzfilereader.sourceforge.net/">PZFileReader</a></li>
|
||||
<li><a href="http://www.quickfixj.org/">QuickFIX/J</a></li>
|
||||
<li><a href="http://smsj.sourceforge.net/dependencies.html">SMSJ</a></li>
|
||||
<li><a href="http://www.springframework.org/osgi">Spring-OSGi</a></li>
|
||||
<li><a href="http://static.springsource.org/s2-dmserver/2.0.x/user-guide/htmlsingle/user-guide.html">SpringSource dm Server™</a></li>
|
||||
<li><a href="http://streambase.com/">StreamBase</a></li>
|
||||
<li><a href="http://www.timefinder.de/">TimeFinder</a></li>
|
||||
<li><a href="http://www.wtfigo.org/index.html">WTFIGO</a></li>
|
||||
<li><a href="http://yaslibrary.sourceforge.net/index.shtml">YASL</a></li>
|
||||
<li><a href="http://xooctory.xoocode.org/">Xooctory</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<script src="templates/footer.js" type="text/javascript"></script>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -25,6 +25,19 @@
|
|||
announce</a> mailing list.
|
||||
</p>
|
||||
|
||||
<hr noshade="noshade" size="1"/>
|
||||
|
||||
<h3>March xx, 2010 - Release of SLF4J 1.5.11</h3>
|
||||
|
||||
<p>Fixed <a href="http://bugzilla.slf4j.org/show_bug.cgi?id=168">bug
|
||||
168</a>. In case log4j-over-slf4j is used and a logback appender
|
||||
requires a third party library which depends on log4j, the
|
||||
<code>log(String FQCN, Priority p, Object msg, Throwable t)</code>
|
||||
method in log4j-over-slf4j's Categotry class would throw an
|
||||
<code>UnsupportedOperationException</code>. Problem reported by Seth
|
||||
Call.</p>
|
||||
|
||||
|
||||
<hr noshade="noshade" size="1"/>
|
||||
|
||||
<h3>December 3rd, 2009 - Release of SLF4J 1.5.10</h3>
|
||||
|
|
|
|||
Loading…
Reference in New Issue