[logback-dev] svn commit: r1825 - logback/trunk/logback-classic/src/main/java/org/slf4j/impl
noreply.ceki at qos.ch
noreply.ceki at qos.ch
Wed Oct 8 00:30:58 CEST 2008
Author: ceki
Date: Wed Oct 8 00:30:57 2008
New Revision: 1825
Modified:
logback/trunk/logback-classic/src/main/java/org/slf4j/impl/StaticLoggerBinder.java
Log:
- SLF4J need version information.
Modified: logback/trunk/logback-classic/src/main/java/org/slf4j/impl/StaticLoggerBinder.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/org/slf4j/impl/StaticLoggerBinder.java (original)
+++ logback/trunk/logback-classic/src/main/java/org/slf4j/impl/StaticLoggerBinder.java Wed Oct 8 00:30:57 2008
@@ -46,6 +46,14 @@
* The unique instance of this class.
*/
public static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder();
+
+ /**
+ * Version tag used to check compatibility. The value of this field is
+ * modified with each release.
+ */
+ //to avoid constant folding by the compiler, VERSION field should *not* be final
+ public static String VERSION = "1.5.4-SNAPSHOT";
+
private static final String loggerFactoryClassStr = ContextSelector.class
.getName();
More information about the logback-dev
mailing list