如果想生成基於模式的特定格式的日誌信息,那麼可以使用org.apache.log4j.PatternLayout 格式化日誌信息。 PatternLayout類擴展抽象org.apache.log4j.
確定! 回上一頁