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

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

?? loggingevent.cs

?? 詳細講述了數據庫編程
?? CS
?? 第 1 頁 / 共 4 頁
字號:
#region Copyright & License
//
// Copyright 2001-2005 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.Runtime.Serialization;
using System.Collections;
using System.IO;
#if (!NETCF)
using System.Security.Principal;
#endif

using log4net.Util;
using log4net.Repository;

namespace log4net.Core
{
	/// <summary>
	/// Portable data structure used by <see cref="LoggingEvent"/>
	/// </summary>
	/// <remarks>
	/// <para>
	/// Portable data structure used by <see cref="LoggingEvent"/>
	/// </para>
	/// </remarks>
	/// <author>Nicko Cadell</author>
	public struct LoggingEventData
	{
		#region Public Instance Fields

		/// <summary>
		/// The logger name.
		/// </summary>
		/// <remarks>
		/// <para>
		/// The logger name.
		/// </para>
		/// </remarks>
		public string LoggerName;

		/// <summary>
		/// Level of logging event.
		/// </summary>
		/// <remarks>
		/// <para>
		/// Level of logging event. Level cannot be Serializable
		/// because it is a flyweight.  Due to its special serialization it
		/// cannot be declared final either.
		/// </para>
		/// </remarks>
		public Level Level;

		/// <summary>
		/// The application supplied message.
		/// </summary>
		/// <remarks>
		/// <para>
		/// The application supplied message of logging event.
		/// </para>
		/// </remarks>
		public string Message;

		/// <summary>
		/// The name of thread
		/// </summary>
		/// <remarks>
		/// <para>
		/// The name of thread in which this logging event was generated
		/// </para>
		/// </remarks>
		public string ThreadName;

		/// <summary>
		/// The time the event was logged
		/// </summary>
		/// <remarks>
		/// <para>
		/// The TimeStamp is stored in the local time zone for this computer.
		/// </para>
		/// </remarks>
		public DateTime TimeStamp;

		/// <summary>
		/// Location information for the caller.
		/// </summary>
		/// <remarks>
		/// <para>
		/// Location information for the caller.
		/// </para>
		/// </remarks>
		public LocationInfo LocationInfo;

		/// <summary>
		/// String representation of the user
		/// </summary>
		/// <remarks>
		/// <para>
		/// String representation of the user's windows name,
		/// like DOMAIN\username
		/// </para>
		/// </remarks>
		public string UserName;

		/// <summary>
		/// String representation of the identity.
		/// </summary>
		/// <remarks>
		/// <para>
		/// String representation of the current thread's principal identity.
		/// </para>
		/// </remarks>
		public string Identity;

		/// <summary>
		/// The string representation of the exception
		/// </summary>
		/// <remarks>
		/// <para>
		/// The string representation of the exception
		/// </para>
		/// </remarks>
		public string ExceptionString;

		/// <summary>
		/// String representation of the AppDomain.
		/// </summary>
		/// <remarks>
		/// <para>
		/// String representation of the AppDomain.
		/// </para>
		/// </remarks>
		public string Domain;

		/// <summary>
		/// Additional event specific properties
		/// </summary>
		/// <remarks>
		/// <para>
		/// A logger or an appender may attach additional
		/// properties to specific events. These properties
		/// have a string key and an object value.
		/// </para>
		/// </remarks>
		public PropertiesDictionary Properties;

		#endregion Public Instance Fields
	}

	/// <summary>
	/// Flags passed to the <see cref="LoggingEvent.Fix"/> property
	/// </summary>
	/// <remarks>
	/// <para>
	/// Flags passed to the <see cref="LoggingEvent.Fix"/> property
	/// </para>
	/// </remarks>
	/// <author>Nicko Cadell</author>
	[Flags] public enum FixFlags
	{
		/// <summary>
		/// Fix the MDC
		/// </summary>
		[Obsolete("Replaced by composite Properties")]
		Mdc = 0x01,

		/// <summary>
		/// Fix the NDC
		/// </summary>
		Ndc = 0x02,

		/// <summary>
		/// Fix the rendered message
		/// </summary>
		Message = 0x04,

		/// <summary>
		/// Fix the thread name
		/// </summary>
		ThreadName = 0x08,

		/// <summary>
		/// Fix the callers location information
		/// </summary>
		/// <remarks>
		/// CAUTION: Very slow to generate
		/// </remarks>
		LocationInfo = 0x10,

		/// <summary>
		/// Fix the callers windows user name
		/// </summary>
		/// <remarks>
		/// CAUTION: Slow to generate
		/// </remarks>
		UserName = 0x20,

		/// <summary>
		/// Fix the domain friendly name
		/// </summary>
		Domain = 0x40,

		/// <summary>
		/// Fix the callers principal name
		/// </summary>
		/// <remarks>
		/// CAUTION: May be slow to generate
		/// </remarks>
		Identity = 0x80,

		/// <summary>
		/// Fix the exception text
		/// </summary>
		Exception = 0x100,

		/// <summary>
		/// Fix the event properties
		/// </summary>
		Properties = 0x200,

		/// <summary>
		/// No fields fixed
		/// </summary>
		None = 0x0,

		/// <summary>
		/// All fields fixed
		/// </summary>
		All = 0xFFFFFFF,

		/// <summary>
		/// Partial fields fixed
		/// </summary>
		/// <remarks>
		/// <para>
		/// This set of partial fields gives good performance. The following fields are fixed:
		/// </para>
		/// <list type="bullet">
		/// <item><description><see cref="Message"/></description></item>
		/// <item><description><see cref="ThreadName"/></description></item>
		/// <item><description><see cref="Exception"/></description></item>
		/// <item><description><see cref="Domain"/></description></item>
		/// <item><description><see cref="Properties"/></description></item>
		/// </list>
		/// </remarks>
		Partial = Message | ThreadName | Exception | Domain | Properties,
	}

	/// <summary>
	/// The internal representation of logging events. 
	/// </summary>
	/// <remarks>
	/// <para>
	/// When an affirmative decision is made to log then a 
	/// <see cref="LoggingEvent"/> instance is created. This instance 
	/// is passed around to the different log4net components.
	/// </para>
	/// <para>
	/// This class is of concern to those wishing to extend log4net.
	/// </para>
	/// <para>
	/// Some of the values in instances of <see cref="LoggingEvent"/>
	/// are considered volatile, that is the values are correct at the
	/// time the event is delivered to appenders, but will not be consistent
	/// at any time afterwards. If an event is to be stored and then processed
	/// at a later time these volatile values must be fixed by calling
	/// <see cref="FixVolatileData()"/>. There is a performance penalty
	/// for incurred by calling <see cref="FixVolatileData()"/> but it
	/// is essential to maintaining data consistency.
	/// </para>
	/// </remarks>
	/// <author>Nicko Cadell</author>
	/// <author>Gert Driesen</author>
	/// <author>Douglas de la Torre</author>
	/// <author>Daniel Cazzulino</author>
#if !NETCF
	[Serializable]
#endif
	public class LoggingEvent 
#if !NETCF
		: ISerializable
#endif
	{
		#region Public Instance Constructors

		/// <summary>
		/// Initializes a new instance of the <see cref="LoggingEvent" /> class
		/// from the supplied parameters.
		/// </summary>
		/// <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
		/// the stack boundary into the logging system for this call.</param>
		/// <param name="repository">The repository this event is logged in.</param>
		/// <param name="loggerName">The name of the logger of this event.</param>
		/// <param name="level">The level of this event.</param>
		/// <param name="message">The message of this event.</param>
		/// <param name="exception">The exception for this event.</param>
		/// <remarks>
		/// <para>
		/// Except <see cref="TimeStamp"/>, <see cref="Level"/> and <see cref="LoggerName"/>, 
		/// all fields of <c>LoggingEvent</c> are filled when actually needed. Call
		/// <see cref="FixVolatileData()"/> to cache all data locally
		/// to prevent inconsistencies.
		/// </para>
		/// <para>This method is called by the log4net framework
		/// to create a logging event.
		/// </para>
		/// </remarks>
		public LoggingEvent(Type callerStackBoundaryDeclaringType, log4net.Repository.ILoggerRepository repository, string loggerName, Level level, object message, Exception exception) 
		{
			m_callerStackBoundaryDeclaringType = callerStackBoundaryDeclaringType;
			m_message = message;
			m_repository = repository;
			m_thrownException = exception;

			m_data.LoggerName = loggerName;
			m_data.Level = level;

			// Store the event creation time
			m_data.TimeStamp = DateTime.Now;
		}

		/// <summary>
		/// Initializes a new instance of the <see cref="LoggingEvent" /> class 
		/// using specific data.
		/// </summary>
		/// <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
		/// the stack boundary into the logging system for this call.</param>
		/// <param name="repository">The repository this event is logged in.</param>
		/// <param name="data">Data used to initialize the logging event.</param>
		/// <param name="fixedData">The fields in the <paranref name="data"/> struct that have already been fixed.</param>
		/// <remarks>
		/// <para>
		/// This constructor is provided to allow a <see cref="LoggingEvent" />
		/// to be created independently of the log4net framework. This can
		/// be useful if you require a custom serialization scheme.
		/// </para>
		/// <para>
		/// Use the <see cref="GetLoggingEventData(FixFlags)"/> method to obtain an 
		/// instance of the <see cref="LoggingEventData"/> class.
		/// </para>
		/// <para>
		/// The <paramref name="fixedData"/> parameter should be used to specify which fields in the
		/// <paramref name="data"/> struct have been preset. Fields not specified in the <paramref name="fixedData"/>
		/// will be captured from the environment if requested or fixed.
		/// </para>
		/// </remarks>
		public LoggingEvent(Type callerStackBoundaryDeclaringType, log4net.Repository.ILoggerRepository repository, LoggingEventData data, FixFlags fixedData) 
		{
			m_callerStackBoundaryDeclaringType = callerStackBoundaryDeclaringType;
			m_repository = repository;

			m_data = data;
			m_fixFlags = fixedData;
		}

		/// <summary>
		/// Initializes a new instance of the <see cref="LoggingEvent" /> class 
		/// using specific data.
		/// </summary>
		/// <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
		/// the stack boundary into the logging system for this call.</param>
		/// <param name="repository">The repository this event is logged in.</param>
		/// <param name="data">Data used to initialize the logging event.</param>
		/// <remarks>
		/// <para>
		/// This constructor is provided to allow a <see cref="LoggingEvent" />
		/// to be created independently of the log4net framework. This can
		/// be useful if you require a custom serialization scheme.
		/// </para>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产亚洲精品超碰| 日韩主播视频在线| 日日夜夜免费精品视频| 国产精品一二三四五| 91啪在线观看| 久久新电视剧免费观看| 亚洲国产视频一区二区| 成人免费观看男女羞羞视频| 色综合色综合色综合色综合色综合| 欧美日本视频在线| 国产精品成人免费精品自在线观看| 婷婷夜色潮精品综合在线| 成人av免费网站| 欧美www视频| 日韩国产精品91| 在线观看网站黄不卡| 欧美国产日产图区| 国产精品一品二品| 精品久久久三级丝袜| 日韩中文欧美在线| 欧美性一区二区| 亚洲免费视频中文字幕| 豆国产96在线|亚洲| 亚洲精品一线二线三线| 日韩黄色在线观看| 欧美日韩国产不卡| 亚洲成人7777| 欧美视频在线播放| 亚洲一区在线播放| 欧美在线|欧美| 亚洲一区二区三区中文字幕| 成人午夜在线播放| 欧美韩日一区二区三区四区| 狠狠狠色丁香婷婷综合久久五月| 欧美丰满少妇xxxxx高潮对白 | 色婷婷激情综合| 中文字幕免费在线观看视频一区| 国产精品一级黄| 日本一区二区三区免费乱视频 | 亚洲一区在线观看免费| 欧美亚洲国产怡红院影院| 一级做a爱片久久| 在线免费观看一区| 日本aⅴ亚洲精品中文乱码| 91精品国产综合久久久久久| 日本aⅴ免费视频一区二区三区| 欧美一区二区三区在线观看| 美脚の诱脚舐め脚责91| 精品日韩av一区二区| 国产米奇在线777精品观看| 久久久亚洲精品石原莉奈| 国产成人av一区二区三区在线| 中文字幕av一区二区三区| 91丨九色丨黑人外教| 一区二区三区四区不卡在线| 欧美日韩国产高清一区二区三区| 久久精品国产**网站演员| 久久久另类综合| 91在线免费看| 日韩成人精品视频| 国产精品情趣视频| 欧美日韩一区二区三区在线看| 免费观看成人鲁鲁鲁鲁鲁视频| 久久久久久久久久久久久女国产乱| 国产成+人+日韩+欧美+亚洲| 夜夜爽夜夜爽精品视频| 欧美一级一区二区| 成人午夜激情在线| 亚洲v日本v欧美v久久精品| 日韩精品专区在线影院观看| 国产.欧美.日韩| 亚洲成av人片| 亚洲国产高清在线观看视频| 欧美高清视频在线高清观看mv色露露十八| 男人的j进女人的j一区| 中文字幕不卡三区| 欧美久久久久久久久中文字幕| 国产一区二区不卡在线| 一区二区三区影院| 久久综合一区二区| 欧美日本国产视频| 成人精品免费视频| 日本不卡视频一二三区| 亚洲欧美一区二区三区久本道91| 日韩午夜精品视频| av在线综合网| 国产美女精品人人做人人爽| 亚洲一区二区在线视频| 国产精品美女久久久久av爽李琼| 欧美一区二区三区性视频| 不卡视频一二三| 国产一区二区三区av电影| 日本午夜精品一区二区三区电影| 亚洲裸体xxx| 中文字幕欧美区| 精品剧情v国产在线观看在线| 欧美日韩一二区| 一本到不卡免费一区二区| 狠狠色综合播放一区二区| 日韩精品亚洲专区| 亚洲激情中文1区| 自拍偷拍欧美精品| 国产精品久久精品日日| www日韩大片| 精品久久人人做人人爰| 欧美xxxx老人做受| 欧美一级理论片| 欧美另类videos死尸| 欧美探花视频资源| 欧美三级韩国三级日本三斤| 成人av资源网站| 成人免费av资源| 成人av影院在线| 国产91精品精华液一区二区三区| 国产做a爰片久久毛片| 久久精品国产秦先生| 免费观看91视频大全| 青青草一区二区三区| 蜜臀va亚洲va欧美va天堂| 免费观看一级特黄欧美大片| 麻豆精品一区二区三区| 男女男精品网站| 国产一区二区三区久久久| 粉嫩嫩av羞羞动漫久久久| 成人免费视频国产在线观看| 成人精品免费网站| 91国产免费观看| 欧美日韩精品一区二区在线播放| 欧美日韩极品在线观看一区| 欧美另类videos死尸| 精品欧美一区二区久久| 欧美激情资源网| 一区二区三区国产精品| 亚洲一区二区三区在线看| 免费在线观看精品| 成人永久免费视频| 一本色道久久综合精品竹菊| 欧美日韩视频不卡| 精品乱人伦小说| 日韩一区欧美小说| 亚洲午夜电影网| 毛片一区二区三区| 成人毛片视频在线观看| 色婷婷综合久久久中文一区二区| 欧美日韩一区成人| 精品国产一区二区三区忘忧草 | 国内精品伊人久久久久影院对白| 国内一区二区视频| 91免费观看国产| 日韩欧美亚洲一区二区| 国产精品嫩草影院av蜜臀| 亚洲成人你懂的| 国产一区二区在线电影| 91久久国产最好的精华液| 日韩欧美一级二级三级| 亚洲色欲色欲www| 视频一区视频二区中文| 成人性视频免费网站| 欧美日韩一级视频| 国产精品欧美一区喷水| 午夜电影一区二区三区| youjizz国产精品| 日韩午夜电影av| 亚洲综合视频网| 成人性色生活片| 91精品国产一区二区| 亚洲人成在线观看一区二区| 日韩高清国产一区在线| 91丨九色丨黑人外教| 久久精品夜色噜噜亚洲aⅴ| 亚洲一卡二卡三卡四卡无卡久久| 国产一区二三区| 欧美一区二区三区在线观看| 亚洲欧美一区二区三区孕妇| 国产一区二区三区四区在线观看| 欧美性感一类影片在线播放| 中文无字幕一区二区三区| 青娱乐精品视频| 欧美性猛交一区二区三区精品| 国产精品网站一区| 久久精品国产亚洲高清剧情介绍| 欧洲亚洲精品在线| 国产精品欧美极品| 国产一区二区三区精品欧美日韩一区二区三区 | 亚洲黄色在线视频| 国产不卡一区视频| 欧美不卡一区二区| 亚洲福利国产精品| 91官网在线观看| 亚洲欧美日韩小说| 波多野结衣在线一区| 久久久99久久| 激情综合亚洲精品| 日韩女优电影在线观看| 日日夜夜免费精品视频| 欧美老女人在线| 蜜乳av一区二区| 在线综合视频播放| 蜜臀精品久久久久久蜜臀| 日韩一区二区在线看|