mirror of
https://github.com/Estom/notes.git
synced 2026-02-06 12:04:05 +08:00
Java内容重新整理删除过期的东西
This commit is contained in:
18
Java/JavaDemo/codedemo/util/LogUtil.java
Normal file
18
Java/JavaDemo/codedemo/util/LogUtil.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package cn.aofeng.demo.util;
|
||||
|
||||
/**
|
||||
* 日志工具类。
|
||||
*
|
||||
* @author <a href="mailto:aofengblog@163.com">聂勇</a>
|
||||
*/
|
||||
public class LogUtil {
|
||||
|
||||
public static void log(String msg) {
|
||||
System.out.println(msg);
|
||||
}
|
||||
|
||||
public static void log(String msg, Object... param) {
|
||||
log( String.format(msg, param) );
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user