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

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

?? logger.java

?? gcc的組建
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
/* Logger.java -- a class for logging messages   Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.This file is part of GNU Classpath.GNU Classpath is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU Classpath is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU Classpath; see the file COPYING.  If not, write to theFree Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA02110-1301 USA.Linking this library statically or dynamically with other modules ismaking a combined work based on this library.  Thus, the terms andconditions of the GNU General Public License cover the wholecombination.As a special exception, the copyright holders of this library give youpermission to link this library with independent modules to produce anexecutable, regardless of the license terms of these independentmodules, and to copy and distribute the resulting executable underterms of your choice, provided that you also meet, for each linkedindependent module, the terms and conditions of the license of thatmodule.  An independent module is a module which is not derived fromor based on this library.  If you modify this library, you may extendthis exception to your version of the library, but you are notobligated to do so.  If you do not wish to do so, delete thisexception statement from your version. */package java.util.logging;import java.util.List;import java.util.MissingResourceException;import java.util.ResourceBundle;/** * A Logger is used for logging information about events. Usually, there * is a seprate logger for each subsystem or component, although there * is a shared instance for components that make only occasional use of * the logging framework. * * <p>It is common to name a logger after the name of a corresponding * Java package.  Loggers are organized into a hierarchical namespace; * for example, the logger <code>"org.gnu.foo"</code> is the * <em>parent</em> of logger <code>"org.gnu.foo.bar"</code>. * * <p>A logger for a named subsystem can be obtained through {@link * java.util.logging.Logger#getLogger(java.lang.String)}.  However, * only code which has been granted the permission to control the * logging infrastructure will be allowed to customize that logger. * Untrusted code can obtain a private, anonymous logger through * {@link #getAnonymousLogger()} if it wants to perform any * modifications to the logger. * * <p>FIXME: Write more documentation. * * @author Sascha Brawer (brawer@acm.org) */public class Logger{  /**   * A logger provided to applications that make only occasional use   * of the logging framework, typically early prototypes.  Serious   * products are supposed to create and use their own Loggers, so   * they can be controlled individually.   */  public static final Logger global = getLogger("global");  /**   * The name of the Logger, or <code>null</code> if the logger is   * anonymous.   *   * <p>A previous version of the GNU Classpath implementation granted   * untrusted code the permission to control any logger whose name   * was null.  However, test code revealed that the Sun J2SE 1.4   * reference implementation enforces the security control for any   * logger that was not created through getAnonymousLogger, even if   * it has a null name.  Therefore, a separate flag {@link   * Logger#anonymous} was introduced.   */  private final String name;  /**   * The name of the resource bundle used for localization.   *   * <p>This variable cannot be declared as <code>final</code>   * because its value can change as a result of calling   * getLogger(String,String).   */  private String resourceBundleName;  /**   * The resource bundle used for localization.   *   * <p>This variable cannot be declared as <code>final</code>   * because its value can change as a result of calling   * getLogger(String,String).   */  private ResourceBundle resourceBundle;  private Filter filter;  private final List handlerList = new java.util.ArrayList(4);  private Handler[] handlers = new Handler[0];  /**   * Indicates whether or not this logger is anonymous.  While   * a LoggingPermission is required for any modifications to   * a normal logger, untrusted code can obtain an anonymous logger   * and modify it according to its needs.   *   * <p>A previous version of the GNU Classpath implementation   * granted access to every logger whose name was null.   * However, test code revealed that the Sun J2SE 1.4 reference   * implementation enforces the security control for any logger   * that was not created through getAnonymousLogger, even   * if it has a null name.   */  private boolean anonymous;  private boolean useParentHandlers;  private Level level;  private Logger parent;  /**   * Constructs a Logger for a subsystem.  Most applications do not   * need to create new Loggers explicitly; instead, they should call   * the static factory methods   * {@link #getLogger(java.lang.String,java.lang.String) getLogger}   * (with ResourceBundle for localization) or   * {@link #getLogger(java.lang.String) getLogger} (without   * ResourceBundle), respectively.   *   * @param name the name for the logger, for example "java.awt"   *             or "com.foo.bar". The name should be based on   *             the name of the package issuing log records   *             and consist of dot-separated Java identifiers.   *   * @param resourceBundleName the name of a resource bundle   *        for localizing messages, or <code>null</code>   *	    to indicate that messages do not need to be localized.   *   * @throws java.util.MissingResourceException if   *         <code>resourceBundleName</code> is not <code>null</code>   *         and no such bundle could be located.   */  protected Logger(String name, String resourceBundleName)    throws MissingResourceException  {    this.name = name;    this.resourceBundleName = resourceBundleName;    if (resourceBundleName == null)      resourceBundle = null;    else      resourceBundle = ResourceBundle.getBundle(resourceBundleName);    level = null;    /* This is null when the root logger is being constructed,     * and the root logger afterwards.     */    parent = LogManager.getLogManager().rootLogger;    useParentHandlers = (parent != null);  }  /**   * Finds a registered logger for a subsystem, or creates one in   * case no logger has been registered yet.   *   * @param name the name for the logger, for example "java.awt"   *             or "com.foo.bar". The name should be based on   *             the name of the package issuing log records   *             and consist of dot-separated Java identifiers.   *   * @throws IllegalArgumentException if a logger for the subsystem   *         identified by <code>name</code> has already been created,   *         but uses a a resource bundle for localizing messages.   *   * @throws NullPointerException if <code>name</code> is   *         <code>null</code>.   *   * @return a logger for the subsystem specified by <code>name</code>   *         that does not localize messages.   */  public static Logger getLogger(String name)  {    return getLogger(name, null);  }      /**   * Finds a registered logger for a subsystem, or creates one in case   * no logger has been registered yet.   *   * <p>If a logger with the specified name has already been   * registered, the behavior depends on the resource bundle that is   * currently associated with the existing logger.   *   * <ul><li>If the existing logger uses the same resource bundle as   * specified by <code>resourceBundleName</code>, the existing logger   * is returned.</li>   *   * <li>If the existing logger currently does not localize messages,   * the existing logger is modified to use the bundle specified by   * <code>resourceBundleName</code>.  The existing logger is then   * returned.  Therefore, all subsystems currently using this logger   * will produce localized messages from now on.</li>   *   * <li>If the existing logger already has an associated resource   * bundle, but a different one than specified by   * <code>resourceBundleName</code>, an   * <code>IllegalArgumentException</code> is thrown.</li></ul>   *   * @param name the name for the logger, for example "java.awt"   *             or "org.gnu.foo". The name should be based on   *             the name of the package issuing log records   *             and consist of dot-separated Java identifiers.   *   * @param resourceBundleName the name of a resource bundle   *        for localizing messages, or <code>null</code>   *	    to indicate that messages do not need to be localized.   *   * @return a logger for the subsystem specified by <code>name</code>.   *   * @throws java.util.MissingResourceException if   *         <code>resourceBundleName</code> is not <code>null</code>   *         and no such bundle could be located.      *   * @throws IllegalArgumentException if a logger for the subsystem   *         identified by <code>name</code> has already been created,   *         but uses a different resource bundle for localizing   *         messages.   *   * @throws NullPointerException if <code>name</code> is   *         <code>null</code>.   */  public static Logger getLogger(String name, String resourceBundleName)  {    LogManager lm = LogManager.getLogManager();    Logger     result;    /* Throw NullPointerException if name is null. */    name.getClass();    /* Without synchronized(lm), it could happen that another thread     * would create a logger between our calls to getLogger and     * addLogger.  While addLogger would indicate this by returning     * false, we could not be sure that this other logger was still     * existing when we called getLogger a second time in order     * to retrieve it -- note that LogManager is only allowed to     * keep weak references to registered loggers, so Loggers     * can be garbage collected at any time in general, and between     * our call to addLogger and our second call go getLogger     * in particular.     *     * Of course, we assume here that LogManager.addLogger etc.     * are synchronizing on the global LogManager object. There     * is a comment in the implementation of LogManager.addLogger     * referring to this comment here, so that any change in     * the synchronization of LogManager will be reflected here.     */    synchronized (lm)    {      result = lm.getLogger(name);      if (result == null)      {	boolean couldBeAdded;	result = new Logger(name, resourceBundleName);	couldBeAdded = lm.addLogger(result);	if (!couldBeAdded)	  throw new IllegalStateException("cannot register new logger");      }      else      {	/* The logger already exists. Make sure it uses	 * the same resource bundle for localizing messages.	 */	String existingBundleName = result.getResourceBundleName();	/* The Sun J2SE 1.4 reference implementation will return the	 * registered logger object, even if it does not have a resource	 * bundle associated with it. However, it seems to change the	 * resourceBundle of the registered logger to the bundle	 * whose name was passed to getLogger.	 */	if ((existingBundleName == null) && (resourceBundleName != null))	{	  /* If ResourceBundle.getBundle throws an exception, the	   * existing logger will be unchanged.  This would be	   * different if the assignment to resourceBundleName	   * came first.	   */	  result.resourceBundle = ResourceBundle.getBundle(resourceBundleName);	  result.resourceBundleName = resourceBundleName;	  return result;	}	if ((existingBundleName != resourceBundleName)	    && ((existingBundleName == null)		|| !existingBundleName.equals(resourceBundleName)))	{	  throw new IllegalArgumentException();	}      }    }    return result;  }    /**   * Creates a new, unnamed logger.  Unnamed loggers are not   * registered in the namespace of the LogManager, and no special   * security permission is required for changing their state.   * Therefore, untrusted applets are able to modify their private   * logger instance obtained through this method.   *   * <p>The parent of the newly created logger will the the root   * logger, from which the level threshold and the handlers are   * inherited.   */  public static Logger getAnonymousLogger()  {    return getAnonymousLogger(null);  }  /**   * Creates a new, unnamed logger.  Unnamed loggers are not   * registered in the namespace of the LogManager, and no special   * security permission is required for changing their state.   * Therefore, untrusted applets are able to modify their private   * logger instance obtained through this method.   *   * <p>The parent of the newly created logger will the the root   * logger, from which the level threshold and the handlers are   * inherited.   *   * @param resourceBundleName the name of a resource bundle   *        for localizing messages, or <code>null</code>   *	    to indicate that messages do not need to be localized.   *   * @throws java.util.MissingResourceException if   *         <code>resourceBundleName</code> is not <code>null</code>   *         and no such bundle could be located.   */  public static Logger getAnonymousLogger(String resourceBundleName)    throws MissingResourceException  {    Logger  result;    result = new Logger(null, resourceBundleName);    result.anonymous = true;    return result;  }  /**   * Returns the name of the resource bundle that is being used for   * localizing messages.   *   * @return the name of the resource bundle used for localizing messages,   *         or <code>null</code> if the parent's resource bundle   *         is used for this purpose.   */  public synchronized String getResourceBundleName()  {    return resourceBundleName;  }  /**

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品色哟哟| 99久久久国产精品| 精品欧美一区二区久久| 日韩精品高清不卡| 日韩欧美一卡二卡| 狠狠色伊人亚洲综合成人| 久久婷婷综合激情| 国产成a人亚洲| 亚洲欧洲精品成人久久奇米网| 91视频.com| 亚洲成人免费影院| 日韩久久久久久| 国产福利91精品| 亚洲特级片在线| 91精品国产综合久久久久久久 | 在线亚洲一区二区| 亚洲电影一级片| 精品噜噜噜噜久久久久久久久试看| 国产毛片一区二区| 亚洲黄色性网站| 日韩欧美综合在线| 丁香婷婷综合激情五月色| 亚洲免费观看高清完整版在线| 欧美日韩一区二区三区不卡| 麻豆视频一区二区| 中文字幕色av一区二区三区| 欧美日韩中文国产| 国产高清精品在线| 亚洲一区二区三区在线| 欧美mv日韩mv国产网站app| 从欧美一区二区三区| 亚洲一区免费在线观看| 26uuu欧美| 欧美视频中文一区二区三区在线观看 | 成人精品一区二区三区中文字幕| 亚洲在线一区二区三区| 欧美成人三级电影在线| 色婷婷综合中文久久一本| 毛片av中文字幕一区二区| 最新久久zyz资源站| 欧美一区二区三区在| 成人18精品视频| 美女视频黄久久| 亚洲夂夂婷婷色拍ww47| 国产欧美一区二区精品性| 欧美日韩亚洲综合在线| 成人永久aaa| 美女视频一区在线观看| 亚洲午夜国产一区99re久久| 国产拍欧美日韩视频二区| 欧美日韩你懂得| 99久久精品国产一区| 狠狠色丁香婷婷综合| 日韩综合一区二区| 亚洲欧美日韩国产手机在线| 久久久亚洲高清| 欧美一卡二卡在线观看| 色狠狠综合天天综合综合| 丁香六月久久综合狠狠色| 免费在线观看一区二区三区| 亚洲国产乱码最新视频| 亚洲日本中文字幕区| 亚洲国产经典视频| 久久久久久久综合色一本| 日韩一区二区三区电影在线观看 | 成人激情av网| 国产99久久久久| 久久99久久99小草精品免视看| 亚洲图片欧美一区| 亚洲一区二区三区四区不卡| 亚洲欧洲制服丝袜| 综合亚洲深深色噜噜狠狠网站| 欧美激情在线观看视频免费| 久久影院午夜片一区| 精品成人佐山爱一区二区| 欧美一三区三区四区免费在线看 | 亚洲九九爱视频| 国产精品免费视频一区| 久久精品欧美日韩精品| 久久精品人人做| 亚洲国产高清在线| 中文字幕中文字幕一区二区| 中文av一区特黄| 亚洲一区二区综合| 五月天欧美精品| 午夜激情综合网| 蜜臀99久久精品久久久久久软件| 日本最新不卡在线| 三级久久三级久久| 美女网站视频久久| 精品一区二区三区蜜桃| 蜜桃一区二区三区在线观看| 六月丁香婷婷久久| 国产乱子伦视频一区二区三区 | 洋洋av久久久久久久一区| 一区二区三区精品视频| 天堂午夜影视日韩欧美一区二区| 亚洲成av人片一区二区| 蜜桃av一区二区在线观看| 极品少妇一区二区三区精品视频| 国产一区二区女| 99热在这里有精品免费| 精品视频免费看| 日韩欧美综合在线| 国产精品私房写真福利视频| 一区二区三区日韩欧美| 三级欧美在线一区| 精品在线一区二区| 99久久综合国产精品| 欧美三级电影在线看| 欧美草草影院在线视频| 国产精品系列在线| 亚洲国产日韩一区二区| 精品一区二区三区免费观看| 99精品视频在线观看免费| 欧美高清视频在线高清观看mv色露露十八 | 欧美草草影院在线视频| 国产精品黄色在线观看| 日韩中文字幕一区二区三区| 国产精品18久久久久久久久| 欧美中文字幕一区二区三区| 久久蜜桃一区二区| 亚洲一区二区三区小说| 国产精品小仙女| 欧美三级欧美一级| 国产日韩v精品一区二区| 亚洲韩国精品一区| 国产在线精品一区二区| 91国模大尺度私拍在线视频| 国产91对白在线观看九色| 97久久人人超碰| 91麻豆精品91久久久久同性| 国产亚洲精品aa| 午夜伊人狠狠久久| 国产精品综合一区二区三区| 色综合久久久久| 欧美疯狂性受xxxxx喷水图片| 国产欧美日韩中文久久| 亚洲国产中文字幕在线视频综合| 精油按摩中文字幕久久| www.av亚洲| 色94色欧美sute亚洲线路一久| 制服.丝袜.亚洲.中文.综合| 国产精品视频免费看| 亚洲成av人片在线观看无码| 蜜臀av性久久久久蜜臀aⅴ| 在线观看国产日韩| 久久久不卡影院| 日韩成人精品视频| www.成人网.com| 国产网站一区二区三区| 日本伊人午夜精品| 一本久久a久久免费精品不卡| 欧美mv日韩mv| 亚洲美女区一区| 国产精品18久久久久久vr| 欧美午夜电影在线播放| 国产精品嫩草影院av蜜臀| 亚洲精品视频一区| 91免费观看在线| 国产婷婷一区二区| 久久99国产精品久久99| 99久久精品费精品国产一区二区| 久久久久久久久伊人| 奇米影视一区二区三区| 色先锋久久av资源部| 中文字幕精品—区二区四季| 丝袜亚洲另类欧美| 欧美在线观看视频一区二区| 国产欧美日韩亚州综合 | wwwwxxxxx欧美| 青青草精品视频| 欧美精品乱人伦久久久久久| 一区二区三区在线免费| 欧洲中文字幕精品| 亚洲三级久久久| 一本大道综合伊人精品热热| 欧美极品另类videosde| 国产伦精一区二区三区| 精品精品国产高清a毛片牛牛| 午夜激情一区二区| 欧美另类久久久品| 首页国产欧美久久| 欧美一区二区视频在线观看2022 | 亚洲.国产.中文慕字在线| 色94色欧美sute亚洲线路一久| 久久久久久久久久久电影| 成人av午夜影院| 国产精品国产三级国产普通话99 | 日本视频一区二区三区| 日韩限制级电影在线观看| 午夜精品福利视频网站| 欧美精品亚洲二区| 一区二区三区中文字幕电影| 欧美午夜精品电影| 日韩激情av在线| 91精品久久久久久久久99蜜臂| 日韩经典中文字幕一区| 国产精品入口麻豆九色| 国产一区二区三区视频在线播放|