ILogger
Base class used to interface with the crafttweaker.log file and other loggers (such as the player logger).
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
Methods
Logs a debug message.
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter message | Type string | Description message to be logged. |
Logs an error message.
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter message | Type string | Description message to be logged. |
Logs an info message.
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter message | Type string | Description message to be logged. |
Logs a trace message.
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter message | Type string | Description message to be logged |
Logs a warning message.
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter message | Type string | Description message to be logged. |