【翻译】【中英对照】【企业库6】动手实验 Hands-On Lab 日志应用程序块索引页
Logging Application Block Hands-On Lab for Enterprise Library 企业库的日志应用程序块动手实验

This walkthrough should act as your guide for learning about the Enterprise Library Logging Application Block and will allow you to practice employing its capabilities in various application contexts.这个预先安排好的过程将充当你学习企业库日志应用程序块的向导,并让你练习在各种应用程序环境中使用它的能力。
After completing this lab, you will be able to do the following: 在完成这个实验之后,你将学会做下面的事情:
- You will be able to use the Enterprise Library Logging Application Block to implement logging in an application. 你将会使用企业库日志应用程序块在程序中实现日志记录。
- You will be able to use the Logging Application Block to log messages asynchronously. 你将会使用日志应用程序块来异步的记录消息。
- You will be able to dynamically reconfigure logging while the application is running. 你可以在程序运行时动态地重新配置日志。
- You will be able to create and use custom trace listeners. 你将会创建和使用自定义的trace监听器。
- You will be able to create and use custom log formatters. 你将会创建和使用自定义日志格式器。

This hands-on lab includes the following five labs: 这个动手实验包含下列五个实验:
- Lab 1: Add Logging to an Application实验1:添加日志到程序中
- Lab 2: Create and Use an Asynchronous Trace Listener实验2:创建和使用异步Trace监听器
- Lab 3: Reconfigure Logging at Run Time实验3:在运行中重新配置日志
- Lab 4: Create and Use a Custom Trace Listener实验4:创建和使用自定义的Trace监听器
- Lab 5: Create and Use a Custom Log Formatter实验5:创建和使用自定义的日志格式器
The estimated completion for this lab is 45 minutes. 估计完成这个实验需要45分钟。
Authors 作者
These Hands-On Labs were produced by the following individuals: 这些动手实验是有下面的人提供的:
- Program Management: Grigori Melnik and Madalyn Parker (Microsoft Corporation)
- Development/Testing: Fernando Simonazzi (Clarius Consulting), Chris Tavares, Grigori Melnik,
Mike Sampson and Cim Ryan (Microsoft Corporation), Erik Renaud (nVentive Inc.), Mariano Grande (Digit Factory), and Naveen Pitipornvivat (Adecco)
- Documentation: Fernando Simonazzi (Clarius Consulting), Grigori Melnik, Alex Homer, Nelly Delgado and RoAnn Corbisier (Microsoft Corporation)
译者
本文是由Arnu(Arnu@live.cn)翻译的。文中任何问题欢迎指正。
【翻译】【中英对照】【企业库6】动手实验 Hands-On Lab 日志应用程序块索引页的更多相关文章
- 谷歌MapReduce经典论文翻译(中英对照)
MapReduce: Simplified Data Processing on Large Clusters(MapReduce: 简化大型集群下的数据处理) 作者:Jeffrey Dean and ...
- webstorm快捷键 webstorm keymap内置快捷键英文翻译、中英对照说明
20160114参考网络上的快捷键,整理自己常用的: 查找/代替shift+shift 快速搜索所有文件,简便ctrl+shift+N 通过文件名快速查找工程内的文件(必记)ctrl+shift+al ...
- 【论文翻译】NIN层论文中英对照翻译--(Network In Network)
[论文翻译]NIN层论文中英对照翻译--(Network In Network) [开始时间]2018.09.27 [完成时间]2018.10.03 [论文翻译]NIN层论文中英对照翻译--(Netw ...
- [中英对照]Introduction to DPDK: Architecture and Principles | DPDK概论: 体系结构与实现原理
[中英对照]Introduction to DPDK: Architecture and Principles | DPDK概论: 体系结构与实现原理 Introduction to DPDK: ...
- HALCON中的算子大全(中英对照)
HALCON中的算子大全(中英对照) Chapter 1 :Classification1.1 Gaussian-Mixture-Models1.add_sample_class_gmm功能:把一个训 ...
- eclipse菜单解释及中英对照《二》
上篇文章主要介绍了eclipse中每个大的标题下的中英文及其用法. 感谢http://blog.csdn.net/li_jinjian2005/article/details/2831641这个博主. ...
- eclipse菜单解释及中英对照
在使用Eclipse作为开发工具的时候,建议使用英文版本的(直接百度从官网下就行,这里不详细描述,如果有问题,咱们私聊).虽然中文版本的对于和我一样对英文是小白的看起来特别爽,但是公司大多是英文版本的 ...
- [转]从普通DLL中导出C++类 – dllexport和dllimport的使用方法(中英对照、附注解)
这几天写几个小程序练手,在准备将一个类导出时,发现还真不知道如果不用MFC的扩展DLL,是怎么导出的.但我知道dllexport可以导出函数和变量,而且MFC扩展DLL就算是使用了MFC的功能,但 ...
- 知识:CSS 词汇表(中英对照)_CSS Vocabulary
注释(Comment) 语句(Statement) 规则集(Rule-set) At 规则(At-rule) 媒体查询(Media query) 媒体查询列表(Media query list) 媒体 ...
随机推荐
- 《JavaScript+DOM编程艺术》的摘要(一)---基本知识点
保持良好的编程习惯:在同一脚本中,保持引号的一致性,都用单引 var mood = "don\"t worry";alert(mood); 数组:var arr=Arra ...
- Ubuntu14下LAMP环境的安装以及yaf扩展的安装
前段时间在ubuntu下安装了lamp环境,记录一下安装过程方便以后查阅. 安装lamp环境 ① 安装apache sudo apt-get install apache2 系统会弹出如图所示的提示, ...
- Course(简单的字符串处理问题)
Course 时间限制:1000 ms | 内存限制:65535 KB [问题描述] There is such a policy in Sichuan University that if yo ...
- 经常使用的时间同步server地址
转载出处http://www.minunix.com/2013/03/ntpserver/ 感谢原作者,一切的权利都属于原作者,假设有所不适,我会马上删除 中国大概能用的NTP时间server地址 s ...
- poj 3624 Charm Bracelet 01背包问题
题目链接:poj 3624 这是最基础的背包问题,特点是:每种物品仅有一件,可以选择放或不放. 用子问题定义状态:即F [i, v]表示前i件物品恰放入一个容量为v 的背包可以 ...
- c/c++测试程序运行时间
算法分析中需要对各种算法进行性能测试,下面介绍两种通用的测试方法,由于只用到标准c语言函数,所以在各种平台和编译器下都能使用. 方法1: clock()函数 开始计时:start = clock() ...
- Nhibernate初入门基本配置(一)
文章出处:http://www.cnblogs.com/GoodHelper/archive/2011/02/14/nhiberante_01.html 一.NHibernate简介 什么是?NHib ...
- HTML技术简介
1.DHTML:"Dynamic HTML"动态HTML技术的简称.DHTML并不是一项新技术,而是HTML,CSS,JavaScript技术组合的术语.DHTML背后的含义是: ...
- 下载文件 ,调用系统的方法(UIDocumentInteractionController) 查看
- 关于反射的一个小问题---.NetFrameWork版本不一样导致不同的系统的问题
背景: 近期项目中用到发射,本人的电脑上是安装了.NetFrameWork 4.5,然后用着发射蛮顺溜的,啪啪,三下五除二,项目完成了,然后提交测试了,测试的电脑是虚拟机上安装了xp系统,然后.Net ...