-
Notifications
You must be signed in to change notification settings - Fork 1
Logging
Anastasia Laczko edited this page Jun 11, 2021
·
3 revisions
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.
Design Choices
Utilities
Animals
Menus/screens
Character
- Character Animations
- Character's Inventory On Display
- Character's Inventory System
- Character's HealthBar
- Character's Interaction with Items
- Character achievements
- Saving Character
- Player-(and-other-NPC)-invincibility-frames
- Player Factory
- Scoring System
- Test Plan for Inventory System
- Test Plan for Player's Interaction with Items
- Test Plan for Player's Inventory Display
- Test Plan for Saving Character State
- Test Plan for Scoring System
Map
Weapon
- Weapon Overview
- Weapon Types
- Weapon Structure
- Weapon Stats Display
- Testing Plan for Weapon Factory
- Testing Plan for Firing Controller Component
- Testing Plan for Position Tracker Component
- Testing Plan for Weapon Animation Controller component
- Testing Plan for Concrete Melee Weapon class
- Testing Plan for Concrete Ranged Weapon class