mirror of
https://github.com/alibaba/testable-mock.git
synced 2026-08-19 09:43:29 +08:00
always print out context path of testable agent
This commit is contained in:
@@ -44,6 +44,14 @@ public class LogUtil {
|
||||
write(text);
|
||||
}
|
||||
|
||||
public static void info(String msg, Object... args) {
|
||||
String text = String.format("[INFO] " + msg + "\n", args);
|
||||
if (currentLogLevel.level >= LogLevel.DEFAULT.level) {
|
||||
System.out.print(text);
|
||||
}
|
||||
write(text);
|
||||
}
|
||||
|
||||
public static void warn(String msg, Object... args) {
|
||||
String text = String.format("[WARN] " + msg + "\n", args);
|
||||
if (currentLogLevel.level >= LogLevel.DEFAULT.level) {
|
||||
|
||||
Reference in New Issue
Block a user