Log4j 简明教程

log4j Tutorial

log4j 是一个可靠、快速且灵活的日志记录框架(API),它使用 Java 编写,并在 Apache 软件许可证下发布。log4j 是一个用 Java 编写的流行日志记录软件包。log4j 已移植到 C、C++、C#、Perl、Python、Ruby 和 Eiffel 语言。

log4j is a reliable, fast and flexible logging framework (APIs) written in Java, which is distributed under the Apache Software License. log4j is a popular logging package written in Java. log4j has been ported to the C, C++, C#, Perl, Python, Ruby, and Eiffel languages.

Audience

为帮助初学者理解 log4J 日志记录框架的基本功能,我们准备了此教程。

This tutorial has been prepared for beginners to help them understand the basic functionality of log4J logging framework.

Prerequisites

由于你将在各种基于 Java 的应用程序开发中使用 Log4J 日志记录框架,因此务必深入了解 Java 编程语言非常重要。

As you are going to use Log4J logging framework in various Java-based application development, it is imperative that you should have a good understanding of Java programming language.