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

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

?? loggingevent.java

?? apache的log4j源碼
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.  See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You 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.log4j.spi;import org.apache.log4j.*;import org.apache.log4j.helpers.LogLog;import org.apache.log4j.helpers.Loader;import java.lang.reflect.Method;import java.io.ObjectOutputStream;import java.io.ObjectInputStream;import java.util.Hashtable;import java.util.Set;import java.util.Collections;import java.util.Map;import java.util.HashMap;// Contributors:   Nelson Minar <nelson@monkey.org>//                 Wolf Siberski//                 Anders Kristensen <akristensen@dynamicsoft.com>/**   The internal representation of logging events. When an affirmative   decision is made to log then a <code>LoggingEvent</code> instance   is created. This instance is passed around to the different log4j   components.   <p>This class is of concern to those wishing to extend log4j.   @author Ceki G&uuml;lc&uuml;   @author James P. Cakalic   @since 0.8.2 */public class LoggingEvent implements java.io.Serializable {  private static long startTime = System.currentTimeMillis();  /** Fully qualified name of the calling category class. */  transient public final String fqnOfCategoryClass;  /**    * The category of the logging event. This field is not serialized   * for performance reasons.   *   * <p>It is set by the LoggingEvent constructor or set by a remote   * entity after deserialization.   *    * @deprecated This field will be marked as private or be completely   * removed in future releases. Please do not use it.   * */  transient private Category logger;  /**    * <p>The category (logger) name.   *      * @deprecated This field will be marked as private in future   * releases. Please do not access it directly. Use the {@link   * #getLoggerName} method instead.   * */  final public String categoryName;  /**    * Level of logging event. Level cannot be serializable because it   * is a flyweight.  Due to its special seralization it cannot be   * declared final either.   *      * <p> This field should not be accessed directly. You shoud use the   * {@link #getLevel} method instead.   *   * @deprecated This field will be marked as private in future   * releases. Please do not access it directly. Use the {@link   * #getLevel} method instead.   * */  transient public Priority level;  /** The nested diagnostic context (NDC) of logging event. */  private String ndc;  /** The mapped diagnostic context (MDC) of logging event. */  private Hashtable mdcCopy;  /** Have we tried to do an NDC lookup? If we did, there is no need   *  to do it again.  Note that its value is always false when   *  serialized. Thus, a receiving SocketNode will never use it's own   *  (incorrect) NDC. See also writeObject method. */  private boolean ndcLookupRequired = true;  /** Have we tried to do an MDC lookup? If we did, there is no need   *  to do it again.  Note that its value is always false when   *  serialized. See also the getMDC and getMDCCopy methods.  */  private boolean mdcCopyLookupRequired = true;  /** The application supplied message of logging event. */  transient private Object message;  /** The application supplied message rendered through the log4j      objet rendering mechanism.*/  private String renderedMessage;  /** The name of thread in which this logging event was generated. */  private String threadName;  /** This      variable contains information about this event's throwable  */  private ThrowableInformation throwableInfo;  /** The number of milliseconds elapsed from 1/1/1970 until logging event      was created. */  public final long timeStamp;  /** Location information for the caller. */  private LocationInfo locationInfo;  // Serialization  static final long serialVersionUID = -868428216207166145L;  static final Integer[] PARAM_ARRAY = new Integer[1];  static final String TO_LEVEL = "toLevel";  static final Class[] TO_LEVEL_PARAMS = new Class[] {int.class};  static final Hashtable methodCache = new Hashtable(3); // use a tiny table  /**     Instantiate a LoggingEvent from the supplied parameters.     <p>Except {@link #timeStamp} all the other fields of     <code>LoggingEvent</code> are filled when actually needed.     <p>     @param logger The logger generating this event.     @param level The level of this event.     @param message  The message of this event.     @param throwable The throwable of this event.  */  public LoggingEvent(String fqnOfCategoryClass, Category logger,		      Priority level, Object message, Throwable throwable) {    this.fqnOfCategoryClass = fqnOfCategoryClass;    this.logger = logger;    this.categoryName = logger.getName();    this.level = level;    this.message = message;    if(throwable != null) {      this.throwableInfo = new ThrowableInformation(throwable);    }    timeStamp = System.currentTimeMillis();  }  /**     Instantiate a LoggingEvent from the supplied parameters.     <p>Except {@link #timeStamp} all the other fields of     <code>LoggingEvent</code> are filled when actually needed.     <p>     @param logger The logger generating this event.     @param timeStamp the timestamp of this logging event     @param level The level of this event.     @param message  The message of this event.     @param throwable The throwable of this event.  */  public LoggingEvent(String fqnOfCategoryClass, Category logger,		      long timeStamp, Priority level, Object message,		      Throwable throwable) {    this.fqnOfCategoryClass = fqnOfCategoryClass;    this.logger = logger;    this.categoryName = logger.getName();    this.level = level;    this.message = message;    if(throwable != null) {      this.throwableInfo = new ThrowableInformation(throwable);    }    this.timeStamp = timeStamp;  }    /**       Create new instance.       @since 1.2.15       @param fqnOfCategoryClass Fully qualified class name                 of Logger implementation.       @param logger The logger generating this event.       @param timeStamp the timestamp of this logging event       @param level The level of this event.       @param message  The message of this event.       @param threadName thread name       @param throwable The throwable of this event.       @param ndc Nested diagnostic context       @param info Location info       @param properties MDC properties     */    public LoggingEvent(final String fqnOfCategoryClass,                        final Category logger,                        final long timeStamp,                        final Level level,                        final Object message,                        final String threadName,                        final ThrowableInformation throwable,                        final String ndc,                        final LocationInfo info,                        final java.util.Map properties) {      super();      this.fqnOfCategoryClass = fqnOfCategoryClass;      this.logger = logger;      if (logger != null) {          categoryName = logger.getName();      } else {          categoryName = null;      }      this.level = level;      this.message = message;      if(throwable != null) {        this.throwableInfo = throwable;      }      this.timeStamp = timeStamp;      this.threadName = threadName;      ndcLookupRequired = false;      this.ndc = ndc;      this.locationInfo = info;      mdcCopyLookupRequired = false;      if (properties != null) {        mdcCopy = new java.util.Hashtable(properties);      }    }  /**     Set the location information for this logging event. The collected     information is cached for future use.   */  public LocationInfo getLocationInformation() {    if(locationInfo == null) {      locationInfo = new LocationInfo(new Throwable(), fqnOfCategoryClass);    }    return locationInfo;  }  /**   * Return the level of this event. Use this form instead of directly   * accessing the <code>level</code> field.  */  public Level getLevel() {    return (Level) level;  }  /**   * Return the name of the logger. Use this form instead of directly   * accessing the <code>categoryName</code> field.     */  public String getLoggerName() {    return categoryName;  }    /**     * Gets the logger of the event.     * Use should be restricted to cloning events.     * @since 1.2.15     */    public Category getLogger() {      return logger;    }  /**     Return the message for this logging event.     <p>Before serialization, the returned object is the message     passed by the user to generate the logging event. After     serialization, the returned value equals the String form of the     message possibly after object rendering.     @since 1.1 */  public  Object getMessage() {    if(message != null) {      return message;    } else {      return getRenderedMessage();    }  }  /**   * This method returns the NDC for this event. It will return the   * correct content even if the event was generated in a different   * thread or even on a different machine. The {@link NDC#get} method   * should <em>never</em> be called directly.  */  public  String getNDC() {    if(ndcLookupRequired) {      ndcLookupRequired = false;      ndc = NDC.get();

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
秋霞电影一区二区| 精品播放一区二区| 欧美一区二区三区免费观看视频 | 国产精品久久久久久久久免费丝袜 | 亚洲男人都懂的| 婷婷丁香激情综合| 国产在线播精品第三| 99久久综合国产精品| 欧美日韩国产一区| 精品999在线播放| 亚洲激情五月婷婷| 黄色日韩网站视频| 97se狠狠狠综合亚洲狠狠| 51久久夜色精品国产麻豆| 国产拍揄自揄精品视频麻豆| 亚洲在线视频网站| 国产高清精品网站| 欧美视频自拍偷拍| 国产亚洲精品7777| 五月开心婷婷久久| 成人午夜激情视频| 日韩欧美国产成人一区二区| 专区另类欧美日韩| 韩日欧美一区二区三区| 欧美性三三影院| 欧美韩国日本综合| 日韩国产欧美在线播放| 97se亚洲国产综合自在线不卡| 日韩精品专区在线| 一区二区三区欧美日| 国产很黄免费观看久久| 91麻豆精品久久久久蜜臀| 亚洲欧美怡红院| 国产剧情一区二区三区| 欧美日韩视频在线第一区| 中文字幕一区二区三区不卡在线 | 91精品国产一区二区三区香蕉| 中文一区二区在线观看| 精品中文字幕一区二区小辣椒| 在线视频国内自拍亚洲视频| 国产日韩欧美精品一区| 免费高清视频精品| 欧美日韩中文另类| 亚洲卡通欧美制服中文| 国产91丝袜在线播放| 久久综合久久综合久久| 日韩av一二三| 欧美日韩国产综合一区二区三区| 亚洲天堂av老司机| 成人国产在线观看| 亚洲五码中文字幕| 成人一区二区视频| 国产亚洲精品资源在线26u| 麻豆国产91在线播放| 欧美乱妇15p| 亚洲成人免费视频| 欧美性xxxxxx少妇| 亚洲一级二级在线| 日本韩国精品在线| 一区二区三区高清| 色哟哟一区二区| 亚洲美女区一区| 91女厕偷拍女厕偷拍高清| 国产精品久久久久久久久快鸭| 成人免费高清在线观看| 国产精品人人做人人爽人人添| 国产精品香蕉一区二区三区| 国产午夜精品久久久久久久| 国产乱码精品一区二区三区忘忧草| 日韩欧美一级特黄在线播放| 麻豆精品在线播放| 日韩精品一区二| 久久 天天综合| 精品91自产拍在线观看一区| 九九在线精品视频| 久久久久国产一区二区三区四区| 蜜臀91精品一区二区三区 | 国产一区二区不卡老阿姨| 精品少妇一区二区三区在线视频| 美女视频网站黄色亚洲| 精品国产欧美一区二区| 国内不卡的二区三区中文字幕 | 成人综合在线视频| 国产精品久久久久aaaa| 91在线国内视频| 亚洲一区二区三区四区的| 欧美人妇做爰xxxⅹ性高电影| 视频一区中文字幕| 国产精品嫩草久久久久| 国产精品国产三级国产aⅴ入口| 国产精品亚洲一区二区三区妖精 | 国产精品一区二区在线看| 中文字幕欧美区| 91玉足脚交白嫩脚丫在线播放| 一区二区三区精品视频| 欧美日韩成人综合| 国内精品国产三级国产a久久| 国产日韩欧美一区二区三区乱码 | 亚洲成人免费av| 日韩精品一区二| 成人动漫在线一区| 亚洲制服欧美中文字幕中文字幕| 欧美精品99久久久**| 九色综合国产一区二区三区| 国产精品久久久久久户外露出 | 全部av―极品视觉盛宴亚洲| 久久青草国产手机看片福利盒子| 不卡电影免费在线播放一区| 亚洲超丰满肉感bbw| 亚洲精品大片www| 欧美精品777| 欧美精品乱码久久久久久| 成人在线综合网站| 亚洲欧美日韩国产中文在线| 欧美图区在线视频| 精品一区二区三区的国产在线播放 | 中文字幕不卡一区| 在线观看亚洲精品视频| 久久精品国产网站| 亚洲视频香蕉人妖| 欧美一区二区三区四区五区| 成人黄色免费短视频| 香蕉乱码成人久久天堂爱免费| 久久久99免费| 欧美日韩激情一区二区| 国产 欧美在线| 日本sm残虐另类| 亚洲欧美日韩成人高清在线一区| 欧美电影免费观看高清完整版| 99国产精品视频免费观看| 秋霞午夜av一区二区三区| 亚洲欧美激情在线| 精品欧美乱码久久久久久 | 午夜国产不卡在线观看视频| 久久久久97国产精华液好用吗| 欧美日韩国产综合一区二区| 成人激情综合网站| 久久精品国产免费看久久精品| 亚洲一区二区视频| 久久久久久毛片| 色婷婷一区二区三区四区| 久久99精品久久久久久动态图| 亚洲色图制服诱惑| 国产欧美一区二区精品忘忧草 | 亚洲免费高清视频在线| 2021国产精品久久精品| 色偷偷久久一区二区三区| 国产精品1024| 久久不见久久见免费视频7| 亚洲电影在线免费观看| 亚洲欧美怡红院| 国产日韩在线不卡| 精品国产乱码久久久久久浪潮| 欧美日韩精品欧美日韩精品一 | 午夜电影网一区| 中文字幕亚洲综合久久菠萝蜜| 精品日韩欧美在线| 97久久精品人人澡人人爽| 亚洲精品综合在线| 久久久亚洲综合| 717成人午夜免费福利电影| 日本高清视频一区二区| 成人免费看片app下载| 国产乱码字幕精品高清av | 久久久久久久综合色一本| 日韩美女一区二区三区| 91精品麻豆日日躁夜夜躁| 欧美又粗又大又爽| 色94色欧美sute亚洲13| 欧美高清激情brazzers| 在线观看日韩国产| 色猫猫国产区一区二在线视频| 99久久婷婷国产| 成人免费视频一区| 国产成a人亚洲精品| 国产盗摄女厕一区二区三区| 国产精品综合在线视频| 精品一区二区三区在线观看| 久久国产精品免费| 久久99久久久久| 国内不卡的二区三区中文字幕| 精品一区二区三区av| 国产在线播放一区三区四| 国产九色精品成人porny| 成熟亚洲日本毛茸茸凸凹| 成人一区二区在线观看| 成人va在线观看| 91免费版在线| 91成人免费电影| 欧美日韩另类一区| 91精选在线观看| 日韩欧美一级精品久久| 亚洲电影在线免费观看| 国产网红主播福利一区二区| 久久综合九色综合97_久久久| 日韩欧美在线影院| 精品乱人伦小说| 久久久久久久久久久久久女国产乱 | 中文字幕一区二区三区四区不卡| 亚洲色图在线播放|