3
0
mirror of https://github.com/Qortal/qortal.git synced 2025-02-11 17:55:50 +00:00

Update CIYAM-AT to v1.3.6 to make use of lambda-based logging

This commit is contained in:
catbref 2020-08-10 14:05:42 +01:00
parent a83d8bf1d5
commit 02966bf39a
5 changed files with 20 additions and 4 deletions

View File

@ -4,6 +4,6 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.ciyam</groupId>
<artifactId>AT</artifactId>
<version>1.3.5</version>
<version>1.3.6</version>
<description>POM was created from install:install-file</description>
</project>

View File

@ -3,11 +3,12 @@
<groupId>org.ciyam</groupId>
<artifactId>AT</artifactId>
<versioning>
<release>1.3.5</release>
<release>1.3.6</release>
<versions>
<version>1.3.4</version>
<version>1.3.5</version>
<version>1.3.6</version>
</versions>
<lastUpdated>20200717104214</lastUpdated>
<lastUpdated>20200810130321</lastUpdated>
</versioning>
</metadata>

View File

@ -9,7 +9,7 @@
<bitcoinj.version>0.15.5</bitcoinj.version>
<bouncycastle.version>1.64</bouncycastle.version>
<build.timestamp>${maven.build.timestamp}</build.timestamp>
<ciyam-at.version>1.3.5</ciyam-at.version>
<ciyam-at.version>1.3.6</ciyam-at.version>
<commons-net.version>3.6</commons-net.version>
<commons-text.version>1.8</commons-text.version>
<dagger.version>1.2.2</dagger.version>

View File

@ -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<String> 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} <code>t</code> 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<String> 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} <code>t</code> 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<String> 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} <code>t</code> passed as parameter.