Class LoggerFactory
java.lang.Object
com.university.bookstore.utils.LoggerFactory
Factory for creating SLF4J loggers with consistent configuration.
This utility class provides a centralized way to create loggers
throughout the application.
- Since:
- 2025-09-07
- Version:
- 1.0
- Author:
- Security Team
-
Method Summary
-
Method Details
-
getLogger
Creates a logger for the specified class.- Parameters:
clazz- the class for which to create a logger- Returns:
- the configured logger
-
getLogger
Creates a logger with the specified name.- Parameters:
name- the name for the logger- Returns:
- the configured logger
-