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

com.zxyinfo.logger.logback.support.DefaultLoggerConfigServiceImpl Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
package com.zxyinfo.logger.logback.support;

import java.util.Map;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Service;

/**
 * @author joewee
 * @version 1.0.0
 * @date 2021/10/27 14:20
 */
@Service
@RefreshScope
public class DefaultLoggerConfigServiceImpl implements LoggerConfigService {
  @Value("#{${alert.logger:null}}")
  private Map logger;
  @Override
  public Map getLogger(){
    return logger;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy