log4j2 動態修改日誌級別

  • Configurator.setAllLevels(String, Level)
  • Configurator.setLevel(Map<String, Level>)
  • Configurator.setLevel(String, Level)
  • Configurator.setRootLevel(Level)

參考


鏈接:https://www.jianshu.com/p/2b7991ae66e6
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章