1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2026-01-06 15:41:50 +00:00

Made logging a bit more useful

This commit is contained in:
Tim203
2019-09-15 09:57:02 +02:00
parent 21ddc83da8
commit 0690b30c02
3 changed files with 23 additions and 1 deletions

View File

@@ -34,6 +34,11 @@ public interface Logger {
*/
void severe(String message);
/**
* Logs a severe message and an exception to console
*/
void severe(String message, Throwable error);
/**
* Logs an error message to console
*
@@ -41,6 +46,11 @@ public interface Logger {
*/
void error(String message);
/**
* Logs an error message and an exception to console
*/
void error(String message, Throwable error);
/**
* Logs a warning message to console
*