1. Introduction The SLF4J library provides the Logger interface and LoggerFactory utility class to create a logger instance for a…