mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Made logging a bit more useful
This commit is contained in:
parent
21ddc83da8
commit
0690b30c02
3 changed files with 23 additions and 1 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue