亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? slf4jlocationawarelog.java

?? Java開發最新的日志記錄工具slf4j的源碼
?? JAVA
字號:
/*
 * Copyright 2001-2004 The Apache Software Foundation.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.commons.logging.impl;

import java.io.Serializable;

import org.apache.commons.logging.Log;
import org.slf4j.Logger;
import org.slf4j.spi.LocationAwareLogger;

/**
 * Implementation of {@link Log org.apache.commons.logging.Log} interface which 
 * delegates all processing to a wrapped {@link Logger org.slf4j.Logger} instance.
 * 
 * <p>JCL's FATAL level is mapped to ERROR. All other levels map one to one.
 * 
 * @author Ceki G&uuml;lc&uuml;
 */
public class SLF4JLocationAwareLog implements Log, Serializable {

  private static final long serialVersionUID = -2379157579039314822L;
  
  // in both Log4jLogger and Jdk14Logger classes in the original JCL, the 
  // logger instance is transient
  private transient LocationAwareLogger logger;

  private static final String FQCN = SLF4JLocationAwareLog.class.getName();
  
  SLF4JLocationAwareLog(LocationAwareLogger logger) {
    this.logger = logger;
  }

  /**
   * Delegates to the <code>isTraceEnabled<code> method of the wrapped 
   * <code>org.slf4j.Logger</code> instance.
   */
  public boolean isTraceEnabled() {
    return logger.isTraceEnabled();
  }
  
  /**
   * Directly delegates to the wrapped <code>org.slf4j.Logger</code> instance.
   */
  public boolean isDebugEnabled() {
    return logger.isDebugEnabled();
  }
  
  /**
   * Directly delegates to the wrapped <code>org.slf4j.Logger</code> instance.
   */
  public boolean isInfoEnabled() {
    return logger.isInfoEnabled();
  }

  /**
   * Directly delegates to the wrapped <code>org.slf4j.Logger</code> instance.
   */
  public boolean isWarnEnabled() {
    return logger.isWarnEnabled();
  }
  
  /**
   * Directly delegates to the wrapped <code>org.slf4j.Logger</code> instance.
   */
  public boolean isErrorEnabled() {
    return logger.isErrorEnabled();
  }

  /**
   * Delegates to the <code>isErrorEnabled<code> method of the wrapped 
   * <code>org.slf4j.Logger</code> instance.
   */
  public boolean isFatalEnabled() {
    return logger.isErrorEnabled();
  }


  /**
   * Converts the input parameter to String and then delegates to 
   * the debug method of the wrapped <code>org.slf4j.Logger</code> instance.
   * 
   * @param message the message to log. Converted to {@link String}  
   */
  public void trace(Object message) {
    logger.log(null, FQCN, LocationAwareLogger.TRACE_INT, String.valueOf(message), null);
  }

  /**
   * Converts the first input parameter to String and then delegates to 
   * the debug method of the wrapped <code>org.slf4j.Logger</code> instance.
   * 
   * @param message the message to log. Converted to {@link String}  
   * @param t the exception to log
   */
  public void trace(Object message, Throwable t) {
    logger.log(null, FQCN, LocationAwareLogger.TRACE_INT, String.valueOf(message), t);
  }

  /**
   * Converts the input parameter to String and then delegates to the wrapped 
   * <code>org.slf4j.Logger</code> instance.
   * 
   * @param message the message to log. Converted to {@link String} 
   */
  public void debug(Object message) {
    logger.log(null, FQCN, LocationAwareLogger.DEBUG_INT, String.valueOf(message), null);
  }

  /**
   * Converts the first input parameter to String and then delegates to 
   * the wrapped <code>org.slf4j.Logger</code> instance.
   * 
   * @param message the message to log. Converted to {@link String}  
   * @param t the exception to log
   */
  public void debug(Object message, Throwable t) {
    logger.log(null, FQCN, LocationAwareLogger.DEBUG_INT, String.valueOf(message), t);
  }

  /**
   * Converts the input parameter to String and then delegates to the wrapped 
   * <code>org.slf4j.Logger</code> instance.
   * 
   * @param message the message to log. Converted to {@link String} 
   */
  public void info(Object message) {
    logger.log(null, FQCN, LocationAwareLogger.INFO_INT, String.valueOf(message), null);
  }

  /**
   * Converts the first input parameter to String and then delegates to 
   * the wrapped <code>org.slf4j.Logger</code> instance.
   * 
   * @param message the message to log. Converted to {@link String}  
   * @param t the exception to log
   */
  public void info(Object message, Throwable t) {
    logger.log(null, FQCN, LocationAwareLogger.INFO_INT, String.valueOf(message), t);
  }

  /**
   * Converts the input parameter to String and then delegates to the wrapped 
   * <code>org.slf4j.Logger</code> instance.
   * 
   * @param message the message to log. Converted to {@link String}  
   */
  public void warn(Object message) {
    logger.log(null, FQCN, LocationAwareLogger.WARN_INT, String.valueOf(message), null);
  }

  /**
   * Converts the first input parameter to String and then delegates to 
   * the wrapped <code>org.slf4j.Logger</code> instance.
   * 
   * @param message the message to log. Converted to {@link String}  
   * @param t the exception to log
   */
  public void warn(Object message, Throwable t) {
    logger.log(null, FQCN, LocationAwareLogger.WARN_INT, String.valueOf(message), t);
  }

  /**
   * Converts the input parameter to String and then delegates to the wrapped 
   * <code>org.slf4j.Logger</code> instance.
   * 
   * @param message the message to log. Converted to {@link String}  
   */
  public void error(Object message) {
    logger.log(null, FQCN, LocationAwareLogger.ERROR_INT, String.valueOf(message), null);
  }

  /**
   * Converts the first input parameter to String and then delegates to 
   * the wrapped <code>org.slf4j.Logger</code> instance.
   * 
   * @param message the message to log. Converted to {@link String}  
   * @param t the exception to log
   */
  public void error(Object message, Throwable t) {
    logger.log(null, FQCN, LocationAwareLogger.ERROR_INT, String.valueOf(message), t);
  }


 
  /**
   * Converts the input parameter to String and then delegates to 
   * the error method of the wrapped <code>org.slf4j.Logger</code> instance.
   * 
   * @param message the message to log. Converted to {@link String}  
   */
  public void fatal(Object message) {
    logger.log(null, FQCN, LocationAwareLogger.ERROR_INT, String.valueOf(message), null);
  }

  /**
   * Converts the first input parameter to String and then delegates to 
   * the error method of the wrapped <code>org.slf4j.Logger</code> instance.
   * 
   * @param message the message to log. Converted to {@link String}  
   * @param t the exception to log
   */
  public void fatal(Object message, Throwable t) {
    logger.log(null, FQCN, LocationAwareLogger.ERROR_INT, String.valueOf(message), t);
  }

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲午夜精品17c| 精品福利视频一区二区三区| 《视频一区视频二区| 粉嫩欧美一区二区三区高清影视| 欧美大片在线观看一区| 极品少妇xxxx精品少妇偷拍| 久久久国产精品不卡| 国产一区二区三区在线观看免费 | 精品国产乱码久久久久久免费 | 成人精品亚洲人成在线| 国产精品传媒入口麻豆| 一本大道久久a久久精品综合| 亚洲一区二区中文在线| 在线播放欧美女士性生活| 久久成人av少妇免费| 日本一区二区免费在线| 欧美亚洲尤物久久| 久久99久久99| 中文字幕一区二区三中文字幕| 色94色欧美sute亚洲线路二| 五月天精品一区二区三区| 精品免费日韩av| 一本色道**综合亚洲精品蜜桃冫| 日韩高清国产一区在线| 国产欧美一区二区精品仙草咪| 日本精品视频一区二区三区| 美女视频免费一区| 国产精品久久久久久亚洲伦| 欧美美女网站色| 国产·精品毛片| 亚洲一区二区av电影| 国产色爱av资源综合区| 欧美性猛交xxxx乱大交退制版 | 亚洲国产成人高清精品| 亚洲精品在线一区二区| 97国产一区二区| 蜜桃一区二区三区在线观看| 亚洲欧洲日本在线| 久久综合av免费| 欧美日韩视频一区二区| 福利一区二区在线| 男男视频亚洲欧美| 亚洲精品免费播放| 国产欧美一区二区三区在线老狼 | 欧美一区二区福利视频| 91社区在线播放| 国产精品一区一区| 青青草精品视频| 亚洲午夜久久久久久久久久久| 国产欧美日本一区视频| 日韩欧美在线综合网| 欧美三级资源在线| 成人午夜视频免费看| 久久精品国产99国产精品| 亚洲国产精品人人做人人爽| 国产精品美女久久久久久久久久久 | 精品福利视频一区二区三区| 欧美男人的天堂一二区| 91麻豆国产精品久久| 国产99久久久国产精品免费看| 美女mm1313爽爽久久久蜜臀| 日韩av在线发布| 亚洲成人av资源| 一区二区三区中文字幕电影 | 自拍av一区二区三区| 久久久久久电影| 久久午夜色播影院免费高清| 日韩一区二区三区四区| 欧美情侣在线播放| 欧美三级电影精品| 色婷婷亚洲综合| 91福利在线看| 在线观看亚洲精品视频| 一本大道久久a久久综合| 91一区二区三区在线观看| 成人高清视频在线| 成人白浆超碰人人人人| 99久久精品免费看国产免费软件| 成人v精品蜜桃久久一区| 成人精品一区二区三区中文字幕| a4yy欧美一区二区三区| 99精品久久只有精品| 色综合久久66| 欧美日韩精品是欧美日韩精品| 欧美猛男男办公室激情| 91精品国产手机| 日韩视频国产视频| 久久综合成人精品亚洲另类欧美| 久久影院视频免费| 国产精品蜜臀av| 亚洲精品视频在线看| 午夜不卡在线视频| 免费欧美高清视频| 国产成人免费在线观看不卡| 91在线观看美女| 欧美日韩国产一区二区三区地区| 欧美一区二区三区视频免费| 日韩免费在线观看| 国产人伦精品一区二区| 亚洲欧美日韩久久| 亚洲不卡一区二区三区| 国内精品久久久久影院一蜜桃| 成人一道本在线| 在线免费精品视频| www日韩大片| 国产精品国产三级国产aⅴ原创 | 久久精品视频免费| 中文字幕视频一区| 亚洲国产精品久久久久秋霞影院| 久久av老司机精品网站导航| 国产乱子轮精品视频| 91蜜桃网址入口| 制服丝袜中文字幕一区| 国产亚洲福利社区一区| 亚洲成人av一区二区| 国产成a人无v码亚洲福利| 在线中文字幕不卡| 337p粉嫩大胆噜噜噜噜噜91av | 国产成人免费在线视频| 欧美精品一卡二卡| 欧美—级在线免费片| 亚洲午夜日本在线观看| 成人午夜激情视频| 91麻豆精品国产91久久久资源速度| 久久精品人人做人人综合| 性欧美疯狂xxxxbbbb| 国产91精品一区二区麻豆网站 | 国产91丝袜在线18| 欧美一级视频精品观看| 亚洲欧美视频在线观看| 狠狠色狠狠色综合系列| 欧美区视频在线观看| 中文字幕一区二区不卡| 韩国视频一区二区| 在线播放/欧美激情| 亚洲免费av观看| 成人黄色小视频| 久久久久久久电影| 蜜桃在线一区二区三区| 欧美揉bbbbb揉bbbbb| 亚洲欧洲av在线| 国产一区二区三区av电影| 51精品视频一区二区三区| 亚洲午夜精品久久久久久久久| 成人高清av在线| 国产日本欧美一区二区| 激情深爱一区二区| 91精品国产综合久久香蕉的特点| 一区二区三区在线免费播放| av资源网一区| 亚洲国产精品成人综合| 国产综合久久久久影院| 制服丝袜亚洲色图| 亚洲成人免费在线观看| 欧美伊人久久久久久久久影院 | 26uuu国产电影一区二区| 日本欧美加勒比视频| 欧美精品一二三区| 曰韩精品一区二区| 欧美性一级生活| 亚洲最新在线观看| 色婷婷久久久综合中文字幕| 国产精品九色蝌蚪自拍| 97久久精品人人做人人爽| 国产精品理论片| www.久久久久久久久| 中文字幕一区二区三区色视频| www.成人网.com| 亚洲免费观看高清在线观看| 一本久久精品一区二区| 亚洲综合成人在线| 欧美日韩国产一级片| 日韩不卡一区二区三区| 日韩美一区二区三区| 久久国产视频网| 日本一区二区三区四区| bt7086福利一区国产| 一级日本不卡的影视| 欧美日韩一区二区三区四区| 日韩电影在线一区二区三区| 69av一区二区三区| 国产在线不卡视频| 国产欧美精品一区aⅴ影院| www.亚洲人| 亚洲国产精品自拍| 日韩视频国产视频| 成人深夜福利app| 亚洲综合在线免费观看| 欧美放荡的少妇| 国产真实乱子伦精品视频| 国产日产亚洲精品系列| 日本道精品一区二区三区 | 久久国产剧场电影| 中文成人综合网| 欧美亚洲一区二区三区四区| 日韩电影在线一区| 中文字幕成人在线观看| 91久久人澡人人添人人爽欧美| 日韩综合小视频| 国产亚洲精品资源在线26u|