⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dynamiclevel.java

📁 pl/sql中记log的函数
💻 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 + -