-
Notifications
You must be signed in to change notification settings - Fork 2
Logging
polyrain edited this page Aug 1, 2021
·
1 revision
Logging is done through SLF4J, and is used for debugging.
There are several debugging levels which filter the type of logs you see.
Set logging preferences in logging.properties
.
Add logging to a class:
public class ExampleClass {
private static final Logger logger = LoggerFactory.getLogger(ExampleClass.class);
public ExampleClass () {
// example of logging something
logger.info("This is how you log something");
}
}
See slf4j's Logger for logging options.
Entities and Components
Interaction System
Unit Testing
Input Handling
UI
Game Screens and Areas
Map Generation
Basic Interactable Objects Design