📄 testlog4j.java
字号:
package log4plsql.backgroundProcess;
/*
* Copyright (C) LOG4PLSQL project team. All rights reserved.
*
* This software is published under the terms of the The LOG4PLSQL
* Software License, a copy of which has been included with this
* distribution in the LICENSE.txt file.
* see: <http://log4plsql.sourceforge.net> */
import org.apache.log4j.Logger;
import org.apache.log4j.Level;
import org.apache.log4j.BasicConfigurator;
/**
* Not use it's only a sample test program for a http://jakarta.apache.org/log4j <br>
* who use by log4plsql
* @author guillaume Moulard
* @version 1.0
* @since LOG4PLSQL V2.0b
*
*/
public class TestLog4j
{
static Logger logger = Logger.getLogger("gg");
public static void main(String[] args)
{
TestLog4j testLog4j = new TestLog4j();
BasicConfigurator.configure();
logger.log( Level.DEBUG, "Log a Level.INFO for test");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -