Closed mdhtr closed 4 years ago
Logback configuration tutorial
Code for trying out log levels:
private static void printLog() {
log.debug("Debug Message");
log.warn("Warn Message");
log.error("Error Message");
log.info("Info Message");
log.trace("Trace Message");
}
Regarding the dependencies:
slf4j-simple
was needed to be used with the annotation, but it's included in logback-classic
, so it was removed.
with logback