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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? patternlayout.cs

?? 詳細(xì)講述了數(shù)據(jù)庫編程
?? CS
?? 第 1 頁 / 共 3 頁
字號:
#region Copyright & License
//
// Copyright 2001-2006 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.
//
#endregion

using System;
using System.Collections;
using System.IO;

using log4net.Core;
using log4net.Layout.Pattern;
using log4net.Util;

namespace log4net.Layout
{
	/// <summary>
	/// A flexible layout configurable with pattern string.
	/// </summary>
	/// <remarks>
	/// <para>
	/// The goal of this class is to <see cref="PatternLayout.Format"/> a 
	/// <see cref="LoggingEvent"/> as a string. The results
	/// depend on the <i>conversion pattern</i>.
	/// </para>
	/// <para>
	/// 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
	/// <i>conversion specifiers</i>.
	/// </para>
	/// <para>
	/// <i>You are free to insert any literal text within the conversion
	/// pattern.</i>
	/// </para>
	/// <para>
	/// Each conversion specifier starts with a percent sign (%) and is
	/// followed by optional <i>format modifiers</i> and a <i>conversion
	/// pattern name</i>. The conversion pattern name specifies the type of
	/// data, e.g. logger, level, date, thread name. The format
	/// modifiers control such things as field width, padding, left and
	/// right justification. The following is a simple example.
	/// </para>
	/// <para>
	/// Let the conversion pattern be <b>"%-5level [%thread]: %message%newline"</b> and assume
	/// that the log4net environment was set to use a PatternLayout. Then the
	/// statements
	/// </para>
	/// <code lang="C#">
	/// ILog log = LogManager.GetLogger(typeof(TestApp));
	/// log.Debug("Message 1");
	/// log.Warn("Message 2");   
	/// </code>
	/// <para>would yield the output</para>
	/// <code>
	/// DEBUG [main]: Message 1
	/// WARN  [main]: Message 2  
	/// </code>
	/// <para>
	/// 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>%-5level</b> means the level of the logging event should be left
	/// justified to a width of five characters.
	/// </para>
	/// <para>
	/// The recognized conversion pattern names are:
	/// </para>
	/// <list type="table">
	///     <listheader>
	///         <term>Conversion Pattern Name</term>
	///         <description>Effect</description>
	///     </listheader>
	///     <item>
	///         <term>a</term>
	///         <description>Equivalent to <b>appdomain</b></description>
	///     </item>
	///     <item>
	///         <term>appdomain</term>
	///         <description>
	///				Used to output the friendly name of the AppDomain where the 
	///				logging event was generated. 
	///         </description>
	///     </item>
	///     <item>
	///         <term>c</term>
	///         <description>Equivalent to <b>logger</b></description>
	///     </item>
	///     <item>
	///         <term>C</term>
	///         <description>Equivalent to <b>type</b></description>
	///     </item>
	///     <item>
	///         <term>class</term>
	///         <description>Equivalent to <b>type</b></description>
	///     </item>
	///     <item>
	///         <term>d</term>
	///         <description>Equivalent to <b>date</b></description>
	///     </item>
	///     <item>
	///			<term>date</term> 
	///			<description>
	/// 			<para>
	/// 			Used to output the date of the logging event in the local time zone. 
	/// 			To output the date in universal time use the <c>%utcdate</c> pattern.
	/// 			The date conversion 
	/// 			specifier may be followed by a <i>date format specifier</i> enclosed 
	/// 			between braces. For example, <b>%date{HH:mm:ss,fff}</b> or
	/// 			<b>%date{dd MMM yyyy HH:mm:ss,fff}</b>.  If no date format specifier is 
	/// 			given then ISO8601 format is
	/// 			assumed (<see cref="log4net.DateFormatter.Iso8601DateFormatter"/>).
	/// 			</para>
	/// 			<para>
	/// 			The date format specifier admits the same syntax as the
	/// 			time pattern string of the <see cref="DateTime.ToString(string)"/>.
	/// 			</para>
	/// 			<para>
	/// 			For better results it is recommended to use the log4net date
	/// 			formatters. These can be specified using one of the strings
	/// 			"ABSOLUTE", "DATE" and "ISO8601" for specifying 
	/// 			<see cref="log4net.DateFormatter.AbsoluteTimeDateFormatter"/>, 
	/// 			<see cref="log4net.DateFormatter.DateTimeDateFormatter"/> and respectively 
	/// 			<see cref="log4net.DateFormatter.Iso8601DateFormatter"/>. For example, 
	/// 			<b>%date{ISO8601}</b> or <b>%date{ABSOLUTE}</b>.
	/// 			</para>
	/// 			<para>
	/// 			These dedicated date formatters perform significantly
	/// 			better than <see cref="DateTime.ToString(string)"/>.
	/// 			</para>
	///			</description>
	///		</item>
	///		<item>
	///			<term>exception</term>
	///			<description>
	///				<para>
	///				Used to output the exception passed in with the log message.
	///				</para>
	///				<para>
	/// 			If an exception object is stored in the logging event
	/// 			it will be rendered into the pattern output with a
	/// 			trailing newline.
	/// 			If there is no exception then nothing will be output
	/// 			and no trailing newline will be appended.
	/// 			It is typical to put a newline before the exception
	/// 			and to have the exception as the last data in the pattern.
	///				</para>
	///			</description>
	///		</item>
	///     <item>
	///         <term>F</term>
	///         <description>Equivalent to <b>file</b></description>
	///     </item>
	///		<item>
	///			<term>file</term>
	///			<description>
	///				<para>
	///				Used to output the file name where the logging request was
	///				issued.
	///				</para>
	///				<para>
	///				<b>WARNING</b> Generating caller location information is
	///				extremely slow. Its use should be avoided unless execution speed
	///				is not an issue.
	///				</para>
	/// 			<para>
	/// 			See the note below on the availability of caller location information.
	/// 			</para>
	///			</description>
	///		</item>
	///		<item>
	///			<term>identity</term>
	///			<description>
	///				<para>
	///				Used to output the user name for the currently active user
	///				(Principal.Identity.Name).
	///				</para>
	///				<para>
	///				<b>WARNING</b> Generating caller information is
	///				extremely slow. Its use should be avoided unless execution speed
	///				is not an issue.
	///				</para>
	///			</description>
	///		</item>
	///     <item>
	///         <term>l</term>
	///         <description>Equivalent to <b>location</b></description>
	///     </item>
	///     <item>
	///         <term>L</term>
	///         <description>Equivalent to <b>line</b></description>
	///     </item>
	///		<item>
	///			<term>location</term>
	///			<description>
	/// 			<para>
	/// 			Used to output location information of the caller which generated
	/// 			the logging event.
	/// 			</para>
	/// 			<para>
	/// 			The location information depends on the CLI 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.
	/// 			</para>
	/// 			<para>
	/// 			The location information can be very useful. However, its
	/// 			generation is <b>extremely</b> slow. Its use should be avoided
	/// 			unless execution speed is not an issue.
	/// 			</para>
	/// 			<para>
	/// 			See the note below on the availability of caller location information.
	/// 			</para>
	///			</description>
	///		</item>
	///		<item>
	///			<term>level</term>
	///			<description>
	/// 			<para>
	/// 			Used to output the level of the logging event.
	/// 			</para>
	///			</description>
	///		</item>
	///		<item>
	///			<term>line</term>
	///			<description>
	///				<para>
	///				Used to output the line number from where the logging request
	///				was issued.
	///				</para>
	///				<para>
	///				<b>WARNING</b> Generating caller location information is
	///				extremely slow. Its use should be avoided unless execution speed
	///				is not an issue.
	///				</para>
	/// 			<para>
	/// 			See the note below on the availability of caller location information.
	/// 			</para>
	///			</description>
	///		</item>
	///     <item>
	///         <term>logger</term>
	///         <description>
	///             <para>
	///				Used to output the logger of the logging event. The
	/// 			logger conversion specifier can be optionally followed by
	/// 			<i>precision specifier</i>, that is a decimal constant in
	/// 			brackets.
	///             </para>
	/// 			<para>
	/// 			If a precision specifier is given, then only the corresponding
	/// 			number of right most components of the logger name will be
	/// 			printed. By default the logger name is printed in full.
	/// 			</para>
	/// 			<para>
	/// 			For example, for the logger name "a.b.c" the pattern
	/// 			<b>%logger{2}</b> will output "b.c".
	/// 			</para>
	///         </description>
	///     </item>
	///     <item>
	///         <term>m</term>
	///         <description>Equivalent to <b>message</b></description>
	///     </item>
	///     <item>
	///         <term>M</term>
	///         <description>Equivalent to <b>method</b></description>
	///     </item>
	///		<item>
	///			<term>message</term>
	///			<description>
	/// 			<para>
	/// 			Used to output the application supplied message associated with 
	/// 			the logging event.
	/// 			</para>
	///			</description>
	///		</item>
	///		<item>
	///			<term>mdc</term>
	///			<description>
	/// 			<para>
	/// 			The MDC (old name for the ThreadContext.Properties) is now part of the
	/// 			combined event properties. This pattern is supported for compatibility
	/// 			but is equivalent to <b>property</b>.
	/// 			</para>
	///			</description>
	///		</item>
	///		<item>
	///			<term>method</term>
	///			<description>
	///				<para>
	///				Used to output the method name where the logging request was
	///				issued.
	///				</para>
	///				<para>
	///				<b>WARNING</b> Generating caller location information is
	///				extremely slow. Its use should be avoided unless execution speed
	///				is not an issue.
	///				</para>
	/// 			<para>
	/// 			See the note below on the availability of caller location information.
	/// 			</para>
	///			</description>
	///		</item>
	///     <item>
	///         <term>n</term>
	///         <description>Equivalent to <b>newline</b></description>
	///     </item>
	///		<item>
	///			<term>newline</term>
	///			<description>
	/// 			<para>
	/// 			Outputs the platform dependent line separator character or
	/// 			characters.
	/// 			</para>
	/// 			<para>
	/// 			This conversion pattern offers 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.
	/// 			</para> 
	///			</description>
	///		</item>
	///		<item>
	///			<term>ndc</term>
	///			<description>
	/// 			<para>
	/// 			Used to output the NDC (nested diagnostic context) associated
	/// 			with the thread that generated the logging event.
	/// 			</para>
	///			</description>
	///		</item>
	///     <item>
	///         <term>p</term>
	///         <description>Equivalent to <b>level</b></description>
	///     </item>
	///     <item>
	///         <term>P</term>
	///         <description>Equivalent to <b>property</b></description>
	///     </item>
	///     <item>
	///         <term>properties</term>
	///         <description>Equivalent to <b>property</b></description>
	///     </item>
	///		<item>
	///			<term>property</term>
	///			<description>
	/// 			<para>
	/// 			Used to output the an event specific property. The key to 
	/// 			lookup must be specified within braces and directly following the
	/// 			pattern specifier, e.g. <b>%property{user}</b> would include the value
	/// 			from the property that is keyed by the string 'user'. Each property value
	/// 			that is to be included in the log must be specified separately.
	/// 			Properties are added to events by loggers or appenders. By default 
	/// 			the <c>log4net:HostName</c> property is set to the name of machine on 
	/// 			which the event was originally logged.
	/// 			</para>
	/// 			<para>
	/// 			If no key is specified, e.g. <b>%property</b> then all the keys and their

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美乱妇一区二区三区不卡视频| 精品国产乱码久久久久久牛牛| 欧洲激情一区二区| 91精品国产综合久久蜜臀| 国产欧美日韩不卡免费| 亚洲va中文字幕| 国产精品亚洲а∨天堂免在线| 欧美精品三级在线观看| 国产精品免费丝袜| 偷拍自拍另类欧美| 日本高清免费不卡视频| 国产丝袜在线精品| 免费精品视频在线| 91国在线观看| 国产精品热久久久久夜色精品三区 | 国产精品911| 欧美精品粉嫩高潮一区二区| 亚洲女人小视频在线观看| 久久精品国产亚洲a| 91精品国产综合久久久久久久| 亚洲日本va在线观看| 国产成人自拍高清视频在线免费播放| 欧美日韩精品福利| 亚洲成人激情社区| 色噜噜狠狠色综合欧洲selulu| 久久久久高清精品| 国产一区二区日韩精品| 日韩欧美国产综合在线一区二区三区 | 2021国产精品久久精品| 日本不卡123| 欧美另类变人与禽xxxxx| 亚洲精品久久7777| 一本久久综合亚洲鲁鲁五月天| 国产精品传媒视频| 波多野结衣中文字幕一区二区三区| www国产精品av| 黄色日韩三级电影| 久久久久久黄色| 成人高清免费观看| 亚洲日本电影在线| 欧美年轻男男videosbes| 亚洲自拍欧美精品| 7777精品伊人久久久大香线蕉的 | 国产在线精品视频| 久久九九久久九九| av资源网一区| 一区二区三区资源| 欧美精品一卡二卡| 精品一区二区三区在线播放视频| 26uuu欧美日本| 懂色av一区二区三区蜜臀| 国产精品福利在线播放| 日本韩国欧美在线| 男人的j进女人的j一区| 精品久久久久久久久久久久包黑料| 黑人巨大精品欧美一区| 欧美日韩精品一区二区在线播放| 美女脱光内衣内裤视频久久影院| av电影在线观看完整版一区二区| 中文字幕一区av| 在线精品亚洲一区二区不卡| 日韩经典中文字幕一区| 欧美r级电影在线观看| 9i在线看片成人免费| 五月天欧美精品| 久久青草国产手机看片福利盒子| av亚洲精华国产精华精| 亚洲成人免费影院| 国产欧美一区二区精品性色| 91久久香蕉国产日韩欧美9色| 欧美aaaaaa午夜精品| 国产精品久久久久精k8| 欧美人xxxx| 成人av影视在线观看| 日韩专区一卡二卡| 国产精品剧情在线亚洲| 91精品国产欧美一区二区| 国产麻豆精品95视频| 亚洲一区电影777| 精品国产一区二区三区忘忧草| 色偷偷一区二区三区| 国产在线精品一区二区不卡了| 亚洲综合色噜噜狠狠| 久久久久国产精品人| 欧美精品 日韩| 色偷偷成人一区二区三区91 | 亚洲三级小视频| 欧美一区二区精品在线| 99精品欧美一区二区蜜桃免费| 青青草精品视频| 亚洲毛片av在线| 国产精品区一区二区三区| 欧美成人综合网站| 精品视频123区在线观看| 成人国产精品视频| 韩国v欧美v日本v亚洲v| 日本中文字幕不卡| 亚洲成人精品一区| 亚洲精品一二三区| 国产精品天干天干在线综合| 日韩美女在线视频| 日韩一区二区三区免费观看| 欧洲另类一二三四区| 不卡一区二区在线| 国产精品亚洲一区二区三区妖精| 日韩成人免费在线| 天天色综合天天| 天涯成人国产亚洲精品一区av| 亚洲欧美精品午睡沙发| 亚洲视频精选在线| 17c精品麻豆一区二区免费| 久久久www免费人成精品| 日韩视频在线永久播放| 日韩欧美亚洲另类制服综合在线| 欧美精品第1页| 欧美夫妻性生活| 日韩免费成人网| 精品理论电影在线观看| 精品国偷自产国产一区| 欧美大片一区二区三区| 日韩欧美资源站| 精品国产不卡一区二区三区| 欧美变态tickle挠乳网站| 日韩一级成人av| 精品国产91九色蝌蚪| 精品久久久久久久久久久久久久久久久 | 日本精品裸体写真集在线观看| 色94色欧美sute亚洲线路一ni| 91免费视频网址| 欧美日韩精品一区二区在线播放 | 久久久美女艺术照精彩视频福利播放| 日韩免费在线观看| 久久中文字幕电影| 久久综合九色综合97婷婷女人| 国产午夜精品一区二区三区嫩草| 久久精品夜色噜噜亚洲aⅴ| 国产欧美一区二区在线| 中文字幕在线播放不卡一区| 亚洲精品午夜久久久| 亚洲成年人影院| 奇米777欧美一区二区| 国产精品一区久久久久| a4yy欧美一区二区三区| 91麻豆精品国产91久久久更新时间| 日韩女同互慰一区二区| 中文字幕一区二区三区av| 亚洲成a人片综合在线| 久久国产精品72免费观看| 成人丝袜18视频在线观看| 欧美视频一区二区三区四区 | 欧美巨大另类极品videosbest | 国产精品灌醉下药二区| 亚洲综合偷拍欧美一区色| 免费在线一区观看| 国产精品88888| 欧美日韩大陆在线| 久久网站热最新地址| 亚洲综合久久av| 国产一区二区视频在线播放| 91网上在线视频| 日韩欧美国产成人一区二区| 国产精品九色蝌蚪自拍| 免费成人深夜小野草| 99精品视频一区| 久久久久久久综合狠狠综合| 午夜亚洲福利老司机| 国产福利精品导航| 日韩午夜中文字幕| 亚洲欧美精品午睡沙发| 国产精品自拍一区| 91精品婷婷国产综合久久| 中文字幕一区二区三区四区| 精品午夜久久福利影院| 欧美性大战xxxxx久久久| 国产精品毛片大码女人| 日本欧洲一区二区| 欧美影片第一页| 一区视频在线播放| 国产电影一区二区三区| 欧美xxxx在线观看| 日本美女视频一区二区| 欧美影视一区在线| 亚洲免费观看高清| 成人黄色免费短视频| 久久久.com| 久久精品国内一区二区三区| 欧美久久婷婷综合色| 亚洲一区二区三区爽爽爽爽爽 | 综合久久国产九一剧情麻豆| 国产一区在线不卡| 日韩免费成人网| 久久精品72免费观看| 欧美一级日韩一级| 日韩专区一卡二卡| 日韩一区二区三区在线| 丝袜美腿亚洲综合| 91精品福利在线一区二区三区 | 91美女片黄在线| 国产精品夫妻自拍| 成人激情免费网站|