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

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

?? patternlayout.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;import org.apache.log4j.Layout;import org.apache.log4j.spi.LoggingEvent;import org.apache.log4j.helpers.PatternParser;import org.apache.log4j.helpers.PatternConverter;// Contributors:   Nelson Minar <nelson@monkey.org>//                 Anders Kristensen <akristensen@dynamicsoft.com>/**   A flexible layout configurable with pattern string.   <p>The goal of this class is to {@link #format format} a {@link   LoggingEvent} and return the results as a String. The results   depend on the <em>conversion pattern</em>.   <p>The conversion pattern is closely related to the conversion   pattern of the printf function in C. A conversion pattern is   composed of literal text and format control expressions called   <em>conversion specifiers</em>.   <p><i>You are free to insert any literal text within the conversion   pattern.</i>   <p>Each conversion specifier starts with a percent sign (%) and is   followed by optional <em>format modifiers</em> and a <em>conversion   character</em>. The conversion character specifies the type of   data, e.g. category, priority, date, thread name. The format   modifiers control such things as field width, padding, left and   right justification. The following is a simple example.   <p>Let the conversion pattern be <b>"%-5p [%t]: %m%n"</b> and assume   that the log4j environment was set to use a PatternLayout. Then the   statements   <pre>   Category root = Category.getRoot();   root.debug("Message 1");   root.warn("Message 2");   </pre>   would yield the output   <pre>   DEBUG [main]: Message 1   WARN  [main]: Message 2   </pre>   <p>Note that there is no explicit separator between text and   conversion specifiers. The pattern parser knows when it has reached   the end of a conversion specifier when it reads a conversion   character. In the example above the conversion specifier   <b>%-5p</b> means the priority of the logging event should be left   justified to a width of five characters.   The recognized conversion characters are   <p>   <table border="1" CELLPADDING="8">   <th>Conversion Character</th>   <th>Effect</th>   <tr>     <td align=center><b>c</b></td>     <td>Used to output the category of the logging event. The     category conversion specifier can be optionally followed by     <em>precision specifier</em>, that is a decimal constant in     brackets.     <p>If a precision specifier is given, then only the corresponding     number of right most components of the category name will be     printed. By default the category name is printed in full.     <p>For example, for the category name "a.b.c" the pattern     <b>%c{2}</b> will output "b.c".     </td>   </tr>   <tr>     <td align=center><b>C</b></td>     <td>Used to output the fully qualified class name of the caller     issuing the logging request. This conversion specifier     can be optionally followed by <em>precision specifier</em>, that     is a decimal constant in brackets.     <p>If a precision specifier is given, then only the corresponding     number of right most components of the class name will be     printed. By default the class name is output in fully qualified form.     <p>For example, for the class name "org.apache.xyz.SomeClass", the     pattern <b>%C{1}</b> will output "SomeClass".     <p><b>WARNING</b> Generating the caller class information is     slow. Thus, it's use should be avoided unless execution speed is     not an issue.     </td>     </tr>   <tr> <td align=center><b>d</b></td> <td>Used to output the date of	 the logging event. The date conversion specifier may be	 followed by a <em>date format specifier</em> enclosed between	 braces. For example, <b>%d{HH:mm:ss,SSS}</b> or	 <b>%d{dd&nbsp;MMM&nbsp;yyyy&nbsp;HH:mm:ss,SSS}</b>.  If no	 date format specifier is given then ISO8601 format is	 assumed.	 <p>The date format specifier admits the same syntax as the	 time pattern string of the {@link	 java.text.SimpleDateFormat}. Although part of the standard	 JDK, the performance of <code>SimpleDateFormat</code> is	 quite poor.	 <p>For better results it is recommended to use the log4j date	 formatters. These can be specified using one of the strings	 "ABSOLUTE", "DATE" and "ISO8601" for specifying {@link	 org.apache.log4j.helpers.AbsoluteTimeDateFormat	 AbsoluteTimeDateFormat}, {@link	 org.apache.log4j.helpers.DateTimeDateFormat DateTimeDateFormat}	 and respectively {@link	 org.apache.log4j.helpers.ISO8601DateFormat	 ISO8601DateFormat}. For example, <b>%d{ISO8601}</b> or	 <b>%d{ABSOLUTE}</b>.	 <p>These dedicated date formatters perform significantly	 better than {@link java.text.SimpleDateFormat}.     </td>   </tr>   <tr>   <td align=center><b>F</b></td>   <td>Used to output the file name where the logging request was   issued.   <p><b>WARNING</b> Generating caller location information is   extremely slow. It's use should be avoided unless execution speed   is not an issue.   </tr>   <tr>   <td align=center><b>l</b></td>     <td>Used to output location information of the caller which generated     the logging event.     <p>The location information depends on the JVM implementation but     usually consists of the fully qualified name of the calling     method followed by the callers source the file name and line     number between parentheses.     <p>The location information can be very useful. However, it's     generation is <em>extremely</em> slow. It's use should be avoided     unless execution speed is not an issue.     </td>   </tr>   <tr>   <td align=center><b>L</b></td>   <td>Used to output the line number from where the logging request   was issued.   <p><b>WARNING</b> Generating caller location information is   extremely slow. It's use should be avoided unless execution speed   is not an issue.   </tr>   <tr>     <td align=center><b>m</b></td>     <td>Used to output the application supplied message associated with     the logging event.</td>   </tr>   <tr>   <td align=center><b>M</b></td>   <td>Used to output the method name where the logging request was   issued.   <p><b>WARNING</b> Generating caller location information is   extremely slow. It's use should be avoided unless execution speed   is not an issue.   </tr>   <tr>     <td align=center><b>n</b></td>     <td>Outputs the platform dependent line separator character or     characters.     <p>This conversion character offers practically the same     performance as using non-portable line separator strings such as     "\n", or "\r\n". Thus, it is the preferred way of specifying a     line separator.   </tr>   <tr>     <td align=center><b>p</b></td>     <td>Used to output the priority of the logging event.</td>   </tr>   <tr>     <td align=center><b>r</b></td>     <td>Used to output the number of milliseconds elapsed from the construction      of the layout until the creation of the logging event.</td>   </tr>   <tr>     <td align=center><b>t</b></td>     <td>Used to output the name of the thread that generated the     logging event.</td>   </tr>   <tr>     <td align=center><b>x</b></td>     <td>Used to output the NDC (nested diagnostic context) associated     with the thread that generated the logging event.     </td>   </tr>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美午夜视频网站| 日韩av电影天堂| 午夜精品久久久久久久久| 久久91精品久久久久久秒播| 成人av影视在线观看| 日韩视频在线你懂得| 18欧美乱大交hd1984| 精品一区二区三区视频在线观看| 国产福利91精品| 欧美一区二区二区| 一区二区三区精品| 91小视频在线免费看| 国产丝袜在线精品| 久久66热re国产| 欧美大尺度电影在线| 亚洲成人激情自拍| 欧美日韩一区二区在线视频| 亚洲精品国产第一综合99久久| 国产精品一区二区在线播放| 精品国产免费视频| 免费在线成人网| 欧美一级免费大片| 日韩黄色免费网站| 欧美日韩大陆一区二区| 国产日韩欧美一区二区三区乱码| 亚洲一区二区欧美日韩| 91女人视频在线观看| 国产精品三级视频| 国产精品99久久久久| 亚洲精品一区二区三区香蕉| 久久se这里有精品| 久久尤物电影视频在线观看| 精品一二三四区| 久久久亚洲国产美女国产盗摄 | 在线观看中文字幕不卡| 自拍偷拍欧美激情| 91亚洲男人天堂| 亚洲人精品午夜| 日本精品视频一区二区三区| 一区二区激情小说| 91精品国产综合久久香蕉麻豆| 天堂av在线一区| 精品乱人伦小说| 国产成人综合亚洲网站| 中文字幕欧美一| 欧美综合在线视频| 日产精品久久久久久久性色| 精品久久国产字幕高潮| 国产露脸91国语对白| 中文字幕永久在线不卡| 欧洲一区在线电影| 蜜臀a∨国产成人精品| 久久免费电影网| kk眼镜猥琐国模调教系列一区二区| 亚洲精品中文在线影院| 欧美日韩成人综合天天影院 | 久久久久久黄色| 91影院在线免费观看| 亚洲女女做受ⅹxx高潮| 欧美日本一区二区三区| 国产综合成人久久大片91| 国产精品视频九色porn| 欧美色成人综合| 国产在线视频一区二区三区| 国产精品久久久久久久久果冻传媒 | 99re成人在线| 蜜桃av噜噜一区| 亚洲人成网站精品片在线观看 | 久久久激情视频| 91福利区一区二区三区| 韩国欧美一区二区| 一区二区成人在线视频| 精品国产一区二区三区av性色| 99久久精品国产精品久久| 日韩影院精彩在线| 最近中文字幕一区二区三区| 精品日韩99亚洲| 欧美专区日韩专区| eeuss鲁片一区二区三区 | 91影视在线播放| 久久国产精品99久久人人澡| 椎名由奈av一区二区三区| 欧美成人乱码一区二区三区| 欧美亚洲动漫精品| 成人h版在线观看| 日本女人一区二区三区| 亚洲影视在线播放| 综合网在线视频| 国产网站一区二区| 日韩免费成人网| 欧美久久婷婷综合色| 色8久久人人97超碰香蕉987| 成人免费va视频| 国内精品久久久久影院色| 日韩精品电影一区亚洲| 亚洲一区二区三区影院| 国产精品久线在线观看| 久久综合九色综合97婷婷| 欧美日本精品一区二区三区| 97久久精品人人澡人人爽| 国产成a人亚洲精| 国产一区二区看久久| 日本伊人色综合网| 日本视频一区二区三区| 日韩和欧美的一区| 午夜视频一区二区三区| 中文字幕字幕中文在线中不卡视频| 国产拍揄自揄精品视频麻豆| 精品国产乱码久久久久久闺蜜| 欧美一卡二卡三卡四卡| 制服丝袜亚洲网站| 欧美一区二区在线视频| 在线成人午夜影院| 在线成人av影院| 欧美一级在线免费| 欧美一区2区视频在线观看| 日韩欧美成人一区| 26uuu另类欧美亚洲曰本| 日韩一级视频免费观看在线| 欧美一区二区久久| www国产精品av| 国产欧美日韩精品a在线观看| 欧美经典三级视频一区二区三区| 欧美激情在线一区二区| 中文字幕一区二区三区不卡| 中文字幕一区二区三区蜜月| 一区二区在线观看免费| 日日摸夜夜添夜夜添国产精品 | 国产精品18久久久久久久久久久久| 国产一二精品视频| 亚洲一区二区三区三| 国产老肥熟一区二区三区| 国内精品国产成人国产三级粉色 | 一本色道久久综合亚洲aⅴ蜜桃| 一本久久综合亚洲鲁鲁五月天| 欧美在线观看视频在线| 91精品蜜臀在线一区尤物| 精品国产区一区| 国产精品人成在线观看免费| 一区二区三区高清不卡| 肉肉av福利一精品导航| 国产精品99久久不卡二区| 一本一道久久a久久精品| 日韩一区二区精品| 中文一区二区完整视频在线观看 | 欧美精品777| 久久久精品日韩欧美| **欧美大码日韩| 日韩二区三区在线观看| 国产91富婆露脸刺激对白| 在线视频你懂得一区| 久久综合狠狠综合久久激情 | 亚洲精品一线二线三线无人区| 日本一区二区综合亚洲| 天堂一区二区在线免费观看| 国产不卡免费视频| 欧美肥妇bbw| 1024精品合集| 国内精品国产成人国产三级粉色| 一本高清dvd不卡在线观看| 日韩午夜在线观看视频| 亚洲码国产岛国毛片在线| 奇米888四色在线精品| 91在线高清观看| 久久综合九色欧美综合狠狠| 亚洲va在线va天堂| 成人黄色国产精品网站大全在线免费观看 | 成人爽a毛片一区二区免费| 日韩免费一区二区| 国产美女娇喘av呻吟久久| 色婷婷精品大在线视频| 精品欧美久久久| 午夜精品国产更新| 菠萝蜜视频在线观看一区| 日韩免费在线观看| 国产日韩欧美精品一区| 日韩av中文在线观看| 日韩欧美不卡在线观看视频| 欧美xxx久久| 中文字幕亚洲在| 91在线视频免费观看| 樱桃国产成人精品视频| 欧美午夜在线一二页| 日韩电影在线免费看| 日韩欧美123| 成人一区在线观看| 亚洲天堂av一区| 欧美色手机在线观看| 青青草成人在线观看| 久久蜜桃av一区精品变态类天堂| 成熟亚洲日本毛茸茸凸凹| ㊣最新国产の精品bt伙计久久| 91麻豆视频网站| 肉色丝袜一区二区| 国产无遮挡一区二区三区毛片日本| 成人国产亚洲欧美成人综合网| 亚洲综合另类小说| 欧美精品欧美精品系列| 精品一二三四在线| 亚洲精品国产第一综合99久久 |