Now uses Version instead of String.

This commit is contained in:
nathan 2017-07-22 14:51:41 +02:00
parent 0dd31d3529
commit 93f18c0191
2 changed files with 6 additions and 2 deletions

View File

@ -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>

View File

@ -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");
}
/**