Last active
April 4, 2021 09:31
-
-
Save mehmetcemyucel/5ad13e9fe9f5a00b235c4b623bf44ed1 to your computer and use it in GitHub Desktop.
sb-slf4j-log4j2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Controller | |
public class SpringBean { | |
private static Logger log = LoggerFactory.getLogger(SpringBean.class); | |
@PostConstruct | |
public void log() { | |
log.debug("debug"); | |
log.info("info"); | |
log.error("error"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment