Skip to content

Releases: JDiscordBots/NightDream-Logging

fixed bugs where messages but not stacktraces where displayed

04 Sep 15:46
1.1.10
8c55fce
Compare
Choose a tag to compare

Bug fixes

NDSLF4JLogger#*(String,Object,Object) ignored exceptions

If a SLF4J logger method with the parameters String, Object and Object was called and the last object was an exception, the stack trace was not printed before this version.

Low-Level messages with exception passed printed

NDLogger#log(LogType,String,Throwable) logged the text if the log level was too low.

The stack trace was not logged.

correct SLF4J formatting, fixed Win<10

07 Mar 13:56
1.1.9
b537a47
Compare
Choose a tag to compare

Bug fixes

Win<10

An exception was thrown when initializing NDLogger on a windows version lower than 10.
NightDream-Logging will just log without displaying colors in these versions.

SLF4J MessageFormatter instead of String.format

Previously, NightDream-Logging used String.format for format Strings.
MessageFormatter is used since this release.

SLF4J: fixed default type on format

05 Jan 12:57
1.1.8
5ab9564
Compare
Choose a tag to compare

Bug fixes

fixed default type on format

The SLF4J adapter used LogType.DEFAULT if a format String is logged.

For example, info(String,Object) logged at the default level.

Version 1.0.0

07 Sep 09:05
1.0.0
Compare
Choose a tag to compare

Enum for Logging Types:
io.github.jdiscordbots.nightdream.logging.LogType
The Logger:
io.github.jdiscordbots.nightdream.logging.NDLogger

JCDP-4.0.1

31 Dec 14:32
1.1.7
af6526e
Compare
Choose a tag to compare

Dependency Updates

JCDP

JCDP is updated from 3.0.0 to 4.0.1.

References

#3
https://github.com/dialex/JCDP/releases

SLF4J trace is LOG level

23 Dec 15:44
1.1.6
11cd9cb
Compare
Choose a tag to compare

Bug fixes

The trace level of SLF4J is now logged at the LOG level of NightDream Logging.

Previously, it was logged at the INFO level, which was also used for the SLF4J info level.
Also, the INFO level is logged by default which resulted in a spam of messages by default.

SLF4J Support

23 Dec 14:26
1.1.5
a5806f8
Compare
Choose a tag to compare

New features

SLF4J Support

Since this version, NightDream-Logging is SLF4J compatible

Log Level/Module on every line

20 Dec 15:11
1.1.4
33b0e4f
Compare
Choose a tag to compare

changes

Log Level/Module on every line

Previously, if a text containing line breaks is logged, the logging level was logged at the first line and the module after the last line of the text.

Since this release, it the log level and the module will be displayed at every line.

JCDP-3.0.0

18 Dec 14:06
1.1.3
88cad57
Compare
Choose a tag to compare

Dependency Updates

JCDP

JCDP is updated from 2.0.3.1 to 3.0.0.
This does not change the JCDP API or the functionality but the sub-dependencies Jansi and Hamcrest.

References

https://github.com/dialex/JCDP/releases/tag/v3.0.0
#1

timestamps at end of line

27 Nov 14:13
1.1.2
0f40b44
Compare
Choose a tag to compare

Bug fixes

timestamps on every print

Timestamps are appended (if activated) at the end of each log output (after the module).

Previously, it was located at every call of com.diogonunes.jcdp.color.ColoredPrinter#print.