
com.magictools.log.LogFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of magic-tools-all Show documentation
Show all versions of magic-tools-all Show documentation
magic-tools 是一个小而全的Java工具类库,通过静态方法封装,降低相关API的学习成本,提高工作效率,使Java拥有函数式语言般的优雅,让Java语言也可以“甜甜的”。
The newest version!
package com.magictools.log;
import com.magictools.core.io.resource.ResourceUtil;
import com.magictools.core.lang.caller.CallerUtil;
import com.magictools.core.util.ServiceLoaderUtil;
import com.magictools.log.dialect.console.ConsoleLogFactory;
import com.magictools.log.dialect.jdk.JdkLogFactory;
import java.net.URL;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* 日志工厂类
*
* @author Looly
*/
public abstract class LogFactory {
/**
* 日志框架名,用于打印当前所用日志框架
*/
protected String name;
/**
* 日志对象缓存
*/
private final Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy