亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
日韩欧美黄色影院| 久久精品国产一区二区三| 婷婷开心久久网| 东方aⅴ免费观看久久av| 欧美性xxxxx极品少妇| 日本一区二区视频在线| 日韩激情视频网站| 97超碰欧美中文字幕| 精品美女一区二区三区| 亚洲国产成人av网| av福利精品导航| 久久久99精品久久| 麻豆精品国产91久久久久久| 欧美午夜精品久久久久久孕妇| 国产欧美日韩三级| 国产一区亚洲一区| 欧美电影免费观看高清完整版在线 | 天堂久久一区二区三区| www.亚洲精品| 亚洲国产精品成人综合色在线婷婷 | 欧美性感一类影片在线播放| 亚洲欧洲精品天堂一级| 成人免费毛片嘿嘿连载视频| 精品国产亚洲在线| 国产在线视视频有精品| 欧美成人一区二区三区片免费 | 99久久精品免费| 最新不卡av在线| 91在线视频官网| **欧美大码日韩| 色婷婷久久99综合精品jk白丝 | 色八戒一区二区三区| 亚洲视频小说图片| 色综合视频一区二区三区高清| 国产精品免费久久| 91一区二区三区在线观看| 亚洲婷婷综合色高清在线| 日本高清不卡视频| 亚洲午夜久久久久| 日韩欧美视频一区| 国产伦精品一区二区三区视频青涩 | 日日夜夜精品视频天天综合网| 欧美日韩在线一区二区| 日韩精品亚洲一区| 久久久一区二区三区捆绑**| 丰满白嫩尤物一区二区| 亚洲视频在线观看一区| 欧美午夜精品一区二区蜜桃| 视频一区视频二区中文| 精品国产一区久久| 成人av网址在线观看| 亚洲另类一区二区| 日韩欧美一区在线观看| 高清不卡一区二区| 亚洲一区二区四区蜜桃| 日韩欧美亚洲国产另类| 99精品久久只有精品| 亚洲国产精品久久久久婷婷884| 日韩一区二区免费在线电影| 国产福利精品导航| 一区二区三区在线影院| 精品美女在线观看| 色999日韩国产欧美一区二区| 日韩高清欧美激情| 欧美激情一区二区三区全黄| 在线亚洲一区观看| 国产东北露脸精品视频| 亚欧色一区w666天堂| 国产亚洲欧美一区在线观看| 欧洲一区二区三区免费视频| 国模冰冰炮一区二区| 一区二区免费在线| 久久精品亚洲精品国产欧美| 欧美在线你懂得| 懂色av一区二区三区蜜臀| 日韩va欧美va亚洲va久久| 国产精品国产三级国产三级人妇| 欧美老肥妇做.爰bbww视频| 丁香另类激情小说| 久久精品国内一区二区三区| 一级女性全黄久久生活片免费| 欧美mv日韩mv国产网站app| 91国在线观看| 成人精品电影在线观看| 激情图片小说一区| 日韩精品一卡二卡三卡四卡无卡| 国产精品色哟哟网站| 精品日韩99亚洲| 制服丝袜亚洲色图| 色综合天天狠狠| 不卡av电影在线播放| 国产麻豆视频一区二区| 免费成人av在线| 婷婷久久综合九色综合绿巨人| 国产精品另类一区| 国产亚洲欧美一级| 26uuu欧美| 久久欧美中文字幕| 久久久久久免费网| 精品国产乱码久久久久久久久| 欧美精品久久一区二区三区| 欧美性大战久久久久久久蜜臀| 99久久精品国产观看| 国产91精品久久久久久久网曝门| 日本欧美在线看| 亚洲国产激情av| 国产女人水真多18毛片18精品视频| 精品少妇一区二区三区视频免付费| 欧美一区二区三区公司| 欧美精选在线播放| 欧美一区二区三区在| 欧美一区在线视频| 日韩一区二区三区四区| 日韩一本二本av| 欧美男男青年gay1069videost| 欧美日韩免费一区二区三区| 欧美日韩亚洲综合一区| 欧美日韩国产欧美日美国产精品| 在线视频国内自拍亚洲视频| 欧美日韩亚洲综合一区| 91精品欧美综合在线观看最新 | 亚洲丝袜自拍清纯另类| 国产精品成人免费在线| 椎名由奈av一区二区三区| 亚洲欧美色图小说| 亚洲超碰精品一区二区| 免费看欧美美女黄的网站| 日本三级韩国三级欧美三级| 精品一区二区免费| 波多野结衣中文一区| 一本到高清视频免费精品| 欧美三区在线观看| 日韩女优电影在线观看| 日本一区二区三区dvd视频在线| 中文字幕一区二区三| 午夜精品成人在线| 狠狠色伊人亚洲综合成人| 成人一级片网址| 欧美男生操女生| 国产欧美日韩三区| 香蕉av福利精品导航| 国产精品一卡二卡在线观看| 色老汉av一区二区三区| 日韩精品一区二区三区三区免费| 中文字幕欧美激情| 天天综合网 天天综合色| 国产精品99久久久久久宅男| 91久久久免费一区二区| 精品久久久久久无| 一区二区三区在线高清| 免费看日韩a级影片| 99精品视频一区| 欧美成人一区二区三区在线观看| ㊣最新国产の精品bt伙计久久| 秋霞av亚洲一区二区三| 99久久精品免费看| 精品国产sm最大网站| 亚洲国产三级在线| 成人黄色电影在线| 日韩久久久久久| 亚洲国产一区二区a毛片| 大桥未久av一区二区三区中文| 91麻豆精品国产91久久久久| 亚洲色图色小说| 国产乱妇无码大片在线观看| 欧美精品777| 一区二区三区精品视频| 成人a区在线观看| 久久综合网色—综合色88| 日韩成人一级片| 欧美综合亚洲图片综合区| 中文字幕精品三区| 麻豆一区二区99久久久久| 在线观看国产91| 国产精品久久一卡二卡| 极品美女销魂一区二区三区| 777午夜精品免费视频| 亚洲一区视频在线| 99久久精品国产精品久久| 亚洲国产精品二十页| 国产一区在线精品| 日韩欧美国产一区二区在线播放 | 国内精品久久久久影院色| 欧美日韩精品一区视频| 一区二区三区在线免费视频| 成人听书哪个软件好| 日本一区二区三区电影| 国产精品综合在线视频| 久久中文娱乐网| 国产在线视频一区二区| 久久综合久久综合亚洲| 国内一区二区在线| 久久久高清一区二区三区| 国产综合成人久久大片91| 欧美哺乳videos| 国产真实乱子伦精品视频| 久久亚洲一区二区三区明星换脸| 狠狠色狠狠色综合| 日本一区二区免费在线观看视频 | 国产精品久久久久久久浪潮网站|