Class LoggingUtils
java.lang.Object
dev.jcputney.elearning.parser.util.LoggingUtils
Utility class for logging-related capability.
This class provides utility methods for obtaining loggers and defines guidelines for consistent logging throughout the codebase.
Log levels should be used as follows:
- ERROR: For errors that prevent the app from functioning correctly
- WARN: For potentially harmful situations that don't prevent the app from functioning
- INFO: For informational messages about the app's state
- DEBUG: For detailed information useful for debugging
- TRACE: For very detailed information, typically only enabled during development
-
Method Summary
-
Method Details
-
getLogger
Gets a logger for the specified class.- Parameters:
clazz- The class to get a logger for- Returns:
- A logger instance for the specified class
-