mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix log bug
This commit is contained in:
@@ -120,6 +120,7 @@ public class ConsoleLog extends AbstractLog {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
final Dict dict = Dict.create()
|
||||
.set("date", DateUtil.now())
|
||||
.set("level", level.toString())
|
||||
|
@@ -116,7 +116,7 @@ public class TinyLog extends AbstractLog {
|
||||
if(null == t){
|
||||
t = getLastArgumentIfThrowable(arguments);
|
||||
}
|
||||
LogEntryForwarder.forward(DEPTH, level, t, format, arguments);
|
||||
LogEntryForwarder.forward(DEPTH, level, t, StrUtil.toString(format), arguments);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user