亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
国产精品99久久久久久久女警| 久久99精品久久久久久国产越南 | 亚洲综合久久久| 日韩一区二区三区精品视频| 国产成人精品影视| 亚洲福中文字幕伊人影院| 久久久久久综合| 欧美人牲a欧美精品| a级高清视频欧美日韩| 老司机精品视频导航| 伊人性伊人情综合网| 久久嫩草精品久久久精品一| 精品视频在线视频| jvid福利写真一区二区三区| 国产一区在线不卡| 日本aⅴ精品一区二区三区| 一区二区三区资源| 国产精品久线在线观看| 久久精品亚洲精品国产欧美| 日韩欧美色综合| 欧美日韩一区二区三区高清 | 久久99精品国产麻豆婷婷| 亚洲国产sm捆绑调教视频| 亚洲三级免费电影| 久久久久国产精品厨房| 精品国产91洋老外米糕| 日韩精品中文字幕在线不卡尤物 | 成人精品在线视频观看| 国产一区二区三区免费在线观看| 日韩高清在线电影| 视频一区二区三区入口| 亚洲成av人影院在线观看网| 一级精品视频在线观看宜春院| 中文字幕一区二区视频| 国产精品精品国产色婷婷| 国产亚洲一区二区三区四区| 久久久一区二区三区| 亚洲精品一线二线三线无人区| 日韩欧美你懂的| 日韩欧美高清在线| 日韩欧美精品在线| 精品成人一区二区三区四区| 欧美va亚洲va香蕉在线| 欧美精品一区二区三区久久久| 精品国产电影一区二区| 欧美一区二区人人喊爽| 精品日韩一区二区| 国产欧美一区二区三区在线看蜜臀| 2020日本不卡一区二区视频| 久久嫩草精品久久久精品一| 国产精品丝袜黑色高跟| 国产精品国产三级国产普通话99 | 精品999久久久| 国产亚洲综合av| 国产精品久久久久精k8| 美女视频黄久久| 狠狠色综合播放一区二区| 国产成人在线电影| 97se亚洲国产综合自在线不卡 | 久久精品一二三| 国产精品乱子久久久久| 亚洲欧美一区二区三区孕妇| 亚洲国产成人精品视频| 激情综合色综合久久| 国产成人免费视频网站高清观看视频| 成人av在线一区二区三区| 一本大道久久a久久精二百 | 最新国产の精品合集bt伙计| 一区二区三区中文在线观看| 日日骚欧美日韩| 国产一区二区三区在线观看免费视频| 成人免费视频网站在线观看| 91黄色激情网站| 欧美成人官网二区| 亚洲特级片在线| 蜜臀av性久久久久蜜臀aⅴ流畅| 国产一区二区三区免费播放| 91色视频在线| 日韩三级av在线播放| 国产精品你懂的| 手机精品视频在线观看| 成人午夜电影久久影院| 欧美日韩一级片在线观看| 久久女同互慰一区二区三区| 亚洲伊人伊色伊影伊综合网| 国产一区二区免费在线| 欧洲精品中文字幕| 久久日一线二线三线suv| 亚洲三级免费电影| 国产精品影视网| 欧美日韩三级在线| 欧美国产一区二区在线观看| 视频一区在线播放| proumb性欧美在线观看| 欧美一区二区在线观看| 亚洲色图欧美激情| 国产精品综合av一区二区国产馆| 欧美做爰猛烈大尺度电影无法无天| 久久综合九色综合欧美就去吻| 洋洋av久久久久久久一区| 国产老肥熟一区二区三区| 欧美日韩高清一区| 亚洲男同性恋视频| 国产馆精品极品| 91精品国产丝袜白色高跟鞋| 亚洲精品乱码久久久久久黑人 | 成人精品一区二区三区中文字幕| 91精品国产综合久久久久久| 综合激情成人伊人| 国产91丝袜在线观看| 日韩免费观看高清完整版| 亚洲欧洲综合另类| 成人a免费在线看| 久久久蜜臀国产一区二区| 日本亚洲视频在线| 欧美男女性生活在线直播观看| 中文字幕一区二区三区在线播放 | 欧美日韩国产免费| 亚洲欧美福利一区二区| 丁香桃色午夜亚洲一区二区三区| 日韩片之四级片| 日韩av一区二区在线影视| 91精品福利在线| 亚洲欧美中日韩| 岛国av在线一区| 国产免费成人在线视频| 韩国成人精品a∨在线观看| 日韩欧美国产三级| 久久精品99国产精品日本| 日韩精品一区在线观看| 免费在线一区观看| 日韩一区二区三区在线视频| 日韩精品亚洲一区二区三区免费| 欧美日韩综合一区| 亚洲va欧美va人人爽午夜| 欧美性大战xxxxx久久久| 亚洲国产精品自拍| 欧美人体做爰大胆视频| 日韩高清一级片| 欧美一区二区三区思思人| 日本少妇一区二区| 日韩欧美一级特黄在线播放| 蜜臀av在线播放一区二区三区| 日韩一区二区三区电影| 久久精品国产秦先生| 欧美tk—视频vk| 国产91综合一区在线观看| 日韩一区欧美小说| 精品入口麻豆88视频| 久久99精品国产.久久久久久| 精品免费日韩av| 国产成人午夜高潮毛片| 国产精品白丝在线| 在线观看欧美精品| 日韩精品欧美精品| 亚洲精品一区二区三区四区高清| 国产永久精品大片wwwapp | 一区二区三区在线免费| 欧美在线视频全部完| 日本成人在线看| 久久婷婷国产综合精品青草| 不卡av在线免费观看| 一区二区在线免费观看| 欧美一级久久久| 国产成人av一区二区三区在线| 中文字幕高清一区| 欧美视频在线一区二区三区| 日本一道高清亚洲日美韩| 欧美经典三级视频一区二区三区| 91蝌蚪porny成人天涯| 偷拍日韩校园综合在线| 久久免费偷拍视频| 91丝袜美腿高跟国产极品老师 | 精品一区二区日韩| 欧美国产综合一区二区| 欧美视频中文字幕| 国产一区视频导航| 一区二区三区四区蜜桃| 欧美大白屁股肥臀xxxxxx| 成人国产精品免费观看动漫| 日韩中文字幕亚洲一区二区va在线| 久久亚洲免费视频| 色哟哟一区二区在线观看| 激情都市一区二区| 一区二区三区不卡视频| 久久综合久久鬼色| 欧美日韩一区国产| 国产+成+人+亚洲欧洲自线| 亚洲.国产.中文慕字在线| 欧美激情一区二区| 欧美精品99久久久**| 懂色av一区二区夜夜嗨| 日日噜噜夜夜狠狠视频欧美人 | av不卡在线观看| 免费观看在线综合色| 亚洲色图一区二区| 国产三级精品三级在线专区| 欧美日韩国产另类一区| 99这里只有精品| 国产成人久久精品77777最新版本|