add thread-name. (#2209)
This commit is contained in:
parent
b5b69000ca
commit
5914a2b582
|
|
@ -67,6 +67,7 @@ public class EasyLogger implements ILog {
|
|||
String format(LogLevel level, String message, Throwable t) {
|
||||
return StringUtil.join(' ', level.name(),
|
||||
new SimpleDateFormat("yyyy-MM-dd HH:mm:ss:SSS").format(new Date()),
|
||||
Thread.currentThread().getName(),
|
||||
targetClass.getSimpleName(),
|
||||
": ",
|
||||
message,
|
||||
|
|
|
|||
Loading…
Reference in New Issue