This commit is contained in:
parent
b174c581e9
commit
28286f5389
@ -20,7 +20,7 @@ public class Logger
|
|||||||
// objects that we need to have for a properly formatted message
|
// objects that we need to have for a properly formatted message
|
||||||
private String className;
|
private String className;
|
||||||
private final String format = "[%date% %time%] [%class%] %message%";
|
private final String format = "[%date% %time%] [%class%] %message%";
|
||||||
private final DateTimeFormatter dateFormatter = DateTimeFormatter.ofPattern("YYYY-MM-dd");
|
private final DateTimeFormatter dateFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
||||||
private final DateTimeFormatter timeFormatter = DateTimeFormatter.ofPattern("HH:mm:ss");
|
private final DateTimeFormatter timeFormatter = DateTimeFormatter.ofPattern("HH:mm:ss");
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user