?? dynamiclevel.java
字號:
package log4plsql.backgroundProcess;
//import org.apache.log4j.Level;
//import org.apache.log4j.Logger;
/*
* 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.Level;
import org.apache.log4j.Logger;
public class DynamicLevel extends Level {
private static Logger logger = Logger.getLogger("backgroundProcess.ReaderLogDataBase.DynamicLevel");
int dynamicLevelInt = 0 ;
String dynamicLevelStr = "";
int dynamicLevelSyslogEquiv;
public DynamicLevel(int level, String strLevel, int syslogEquiv) {
super(level, strLevel, syslogEquiv);
logger.debug( "Level Creation name:" + strLevel +
" level:" + level +
" syslogEquiv:" + syslogEquiv);
dynamicLevelInt = level;
dynamicLevelStr = strLevel;
dynamicLevelSyslogEquiv = syslogEquiv;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -