LoggerFactory.getLogger(SchedulerImp.class)
时间: 2024-04-26 21:26:08 浏览: 68
引用和引用提供了关于使用Logger的代码示例。这些代码示例展示了如何使用LoggerFactory.getLogger()方法来获取一个Logger实例。具体来说,LoggerFactory.getLogger()方法接受一个参数,用于指定要创建Logger实例的类。在这些示例中,LoggerTest和SchedulerImp分别作为参数传递给getLogger()方法。因此,对于问题中的代码LoggerFactory.getLogger(SchedulerImp.class),它将返回一个与SchedulerImp类相关联的Logger实例。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [LoggerFactory.getLogger的用法](https://blog.csdn.net/qq_43842093/article/details/122787106)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文