diff --git a/lib/org/ciyam/AT/1.3.5/AT-1.3.5.jar b/lib/org/ciyam/AT/1.3.6/AT-1.3.6.jar similarity index 50% rename from lib/org/ciyam/AT/1.3.5/AT-1.3.5.jar rename to lib/org/ciyam/AT/1.3.6/AT-1.3.6.jar index 45045ad3..d3e341e3 100644 Binary files a/lib/org/ciyam/AT/1.3.5/AT-1.3.5.jar and b/lib/org/ciyam/AT/1.3.6/AT-1.3.6.jar differ diff --git a/lib/org/ciyam/AT/1.3.5/AT-1.3.5.pom b/lib/org/ciyam/AT/1.3.6/AT-1.3.6.pom similarity index 94% rename from lib/org/ciyam/AT/1.3.5/AT-1.3.5.pom rename to lib/org/ciyam/AT/1.3.6/AT-1.3.6.pom index b24b6706..e3b023df 100644 --- a/lib/org/ciyam/AT/1.3.5/AT-1.3.5.pom +++ b/lib/org/ciyam/AT/1.3.6/AT-1.3.6.pom @@ -4,6 +4,6 @@ 4.0.0 org.ciyam AT - 1.3.5 + 1.3.6 POM was created from install:install-file diff --git a/lib/org/ciyam/AT/maven-metadata-local.xml b/lib/org/ciyam/AT/maven-metadata-local.xml index 82cd311a..a60ba88f 100644 --- a/lib/org/ciyam/AT/maven-metadata-local.xml +++ b/lib/org/ciyam/AT/maven-metadata-local.xml @@ -3,11 +3,12 @@ org.ciyam AT - 1.3.5 + 1.3.6 1.3.4 1.3.5 + 1.3.6 - 20200717104214 + 20200810130321 diff --git a/pom.xml b/pom.xml index 32543e24..d18e7a10 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 0.15.5 1.64 ${maven.build.timestamp} - 1.3.5 + 1.3.6 3.6 1.8 1.2.2 diff --git a/src/main/java/org/qortal/at/QortalAtLogger.java b/src/main/java/org/qortal/at/QortalAtLogger.java index 703972a6..6dfdaefc 100644 --- a/src/main/java/org/qortal/at/QortalAtLogger.java +++ b/src/main/java/org/qortal/at/QortalAtLogger.java @@ -691,6 +691,11 @@ public final class QortalAtLogger extends ExtendedLoggerWrapper implements org.c logger.logIfEnabled(FQCN, ERROR, null, msgSupplier, (Throwable) null); } + /** Java 8 version */ + public void error(final java.util.function.Supplier msgSupplier) { + logger.logIfEnabled(FQCN, ERROR, null, () -> msgSupplier.get(), (Throwable) null); + } + /** * Logs a message (only to be constructed if the logging level is the {@code ERROR} * level) including the stack trace of the {@link Throwable} t passed as parameter. @@ -1375,6 +1380,11 @@ public final class QortalAtLogger extends ExtendedLoggerWrapper implements org.c logger.logIfEnabled(FQCN, DEBUG, null, msgSupplier, (Throwable) null); } + /** Java 8 version */ + public void debug(final java.util.function.Supplier msgSupplier) { + logger.logIfEnabled(FQCN, DEBUG, null, () -> msgSupplier.get(), (Throwable) null); + } + /** * Logs a message (only to be constructed if the logging level is the {@code DEBUG} * level) including the stack trace of the {@link Throwable} t passed as parameter. @@ -2059,6 +2069,11 @@ public final class QortalAtLogger extends ExtendedLoggerWrapper implements org.c logger.logIfEnabled(FQCN, ECHO, null, msgSupplier, (Throwable) null); } + /** Java 8 version */ + public void echo(final java.util.function.Supplier msgSupplier) { + logger.logIfEnabled(FQCN, ECHO, null, () -> msgSupplier.get(), (Throwable) null); + } + /** * Logs a message (only to be constructed if the logging level is the {@code ECHO} * level) including the stack trace of the {@link Throwable} t passed as parameter.