mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -176,7 +176,7 @@ public abstract class LogFactory {
|
||||
}
|
||||
|
||||
// 未找到任何可支持的日志库时判断依据:当JDK Logging的配置文件位于classpath中,使用JDK Logging,否则使用Console
|
||||
final URL url = ResourceUtil.getResource("logging.properties");
|
||||
final URL url = ResourceUtil.getResourceUrl("logging.properties");
|
||||
return (null != url) ? new JdkLogFactory() : new ConsoleLogFactory();
|
||||
}
|
||||
// ------------------------------------------------------------------------- Static end
|
||||
|
Reference in New Issue
Block a user