Now uses Version instead of String.
This commit is contained in:
parent
0dd31d3529
commit
93f18c0191
|
@ -8,5 +8,6 @@
|
|||
<orderEntry type="jdk" jdkName="1.6" jdkType="JavaSDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="logging slf4j-api" level="application" />
|
||||
<orderEntry type="module" module-name="Utilities" />
|
||||
</component>
|
||||
</module>
|
|
@ -19,10 +19,13 @@
|
|||
*/
|
||||
package com.esotericsoftware.minlog;
|
||||
|
||||
import dorkbox.util.Version;
|
||||
|
||||
/**
|
||||
* A low overhead, lightweight logging system.
|
||||
* @author Nathan Sweet <misc@n4te.com>
|
||||
*/
|
||||
@SuppressWarnings({"unused", "WeakerAccess"})
|
||||
public class Log {
|
||||
/** No logging at all. */
|
||||
public static final int LEVEL_NONE = 6;
|
||||
|
@ -58,8 +61,8 @@ public class Log {
|
|||
* Gets the version number.
|
||||
*/
|
||||
public static
|
||||
String getVersion() {
|
||||
return "1.9";
|
||||
Version getVersion() {
|
||||
return new Version("1.9");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue