Skip to content

Latest commit

 

History

History
47 lines (41 loc) · 2.09 KB

README.MD

File metadata and controls

47 lines (41 loc) · 2.09 KB

NightDream Logging

Build Status Quality Gate Status

a simple, colorful Logging Library

use Nightdream Logging standalone

  • Add Nightdream Logging to the dependencies section of your pom.xml (replace VERSION with Maven Central):
<dependencies>
	<dependency>
		<groupId>io.github.jdiscordbots</groupId>
		<artifactId>nightdream-logging</artifactId>
		<version>VERSION</version>
		<scope>compile</scope>
	</dependency>
</dependencies>

Limitations

NightDream-Logging does not support coloring on Windows versions lower than 10.

This is because older windows versions do not support native ANSI escape codes.

NightDream-Logging will just display the Logs without colering in those versions.

use Nightdream Logging with SLF4J

  • Add Nightdream Logging and slf4j-api to the dependencies section of your pom.xml (replace NDL-VERSION with Maven Central and SLF4J-VERSION with Maven Central ):
<dependencies>
	<dependency>
		<groupId>io.github.jdiscordbots</groupId>
		<artifactId>nightdream-logging</artifactId>
		<version>NDL-VERSION</version>
		<scope>compile</scope>
	</dependency>
	<dependency>
		<groupId>org.slf4j</groupId>
		<artifactId>slf4j-api</artifactId>
		<version>SLF4J-VERSION</version>
	</dependency>
</dependencies>