I'm trying the Lombok @Flogger feature which is supposed to add the below when annotating the class with @Flogger.
private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingClass();
See the little documentation on it. https://projectlombok.org/features/log
I added the below log to a method:
log.atInfo().log("This is my info message");
And the output that I see in the console is:
Mar 21, 2019 7:35:05 PM net.domain.Class myMethod
INFO: This is my info message
I'd prefer a "YYYY-MM-DD HH:MM:SS.mmm" with 24-hour time format. Is there way to configure this? I don't have to use the Lombok annotation, it just seemed simpler.
Also, I wasn't able to find the flogger tag for this post.