# Class LoggerFactory

java.lang.Object
com.university.bookstore.utils.LoggerFactory

public final class LoggerFactory extends Object
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

  Modifier and Type
  Method
  Description
  `static org.slf4j.Logger`
  `getLogger(Class<?> clazz)`
  Creates a logger for the specified class.
  `static org.slf4j.Logger`
  `getLogger(String name)`
  Creates a logger with the specified name.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getLogger

    public static org.slf4j.Logger getLogger(Class<?> clazz)
    Creates a logger for the specified class.
    Parameters:
      `clazz` - the class for which to create a logger
    Returns:
      the configured logger

  - ### getLogger

    public static org.slf4j.Logger getLogger(String name)
    Creates a logger with the specified name.
    Parameters:
      `name` - the name for the logger
    Returns:
      the configured logger