All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.xtazxz.base.common.log.SecurityLoggerFactory Maven / Gradle / Ivy

The newest version!
package io.github.xtazxz.base.common.log;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 日志工厂.
 */
public class SecurityLoggerFactory {

  private SecurityLoggerFactory() {
  }

  public static SecurityLogger getLogger(Class clazz) {
    Logger logger = LoggerFactory.getLogger(clazz);
    return new SecurityLogger(logger);
  }

  public static SecurityLogger getLogger(String name) {
    Logger logger = LoggerFactory.getLogger(name);
    return new SecurityLogger(logger);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy