How to log FATAL (or any custom log level) with SLF4J and Log4j2

前端 未结 6 1686
粉色の甜心
粉色の甜心 2021-02-05 15:18

I have those specific requirements :

  • Need to be able to log in FATAL level
  • Need to use SLF4J<
6条回答
  •  情歌与酒
    2021-02-05 15:31

    I know the question is for log4j. I found this page when looking in relation to logback. Here's what sl4j recommends: https://www.slf4j.org/faq.html#fatal.

提交回复
热议问题