Package com.burchard36.api.utils
Class Logger
java.lang.Object
com.burchard36.api.utils.Logger
The API's logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Logs a debug message, if the API is in debug modestatic void
Logs an error to the server, supports ampersand symbols for coloringstatic void
Logs a message to the server, supports ampersand symbols for coloringstatic void
Warns the server, supports ampersand symbols
-
Constructor Details
-
Logger
public Logger()
-
-
Method Details
-
debug
Logs a debug message, if the API is in debug mode- Parameters:
message
- AString
to debug, supports ampersand symbols
-
log
Logs a message to the server, supports ampersand symbols for coloring- Parameters:
message
- AString
, supports ampersand symbols for coloring
-
warn
Warns the server, supports ampersand symbols- Parameters:
message
- AString
to warn to the server, supports ampersand symbols for coloring
-
error
Logs an error to the server, supports ampersand symbols for coloring- Parameters:
message
- AString
to log as an error, supports ampersand symbols for coloring
-