• Listing 2 shows a sample Log4J configuration file that configures a FileAppender.

    清单2给出了一个Log4J的样例配置文件,它负责配置FileAppender

    youdao

  • In this configuration, error messages under the com.ambrosesoft.log.MyClass category are sent to the FileAppender, which in turn writes them to a file called log.txt.

    这种配置中,com.ambrosesoft.log.MyClass中的错误消息发送FileAppender,后者写入一个名为 log.txt 的文件中。

    youdao

  • In this configuration, error messages under the com.ambrosesoft.log.MyClass category are sent to the FileAppender, which in turn writes them to a file called log.txt.

    这种配置中,com.ambrosesoft.log.MyClass中的错误消息发送FileAppender,后者写入一个名为 log.txt 的文件中。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定