【翻譯】【中英對(duì)照】【企業(yè)庫(kù)6】動(dòng)手實(shí)驗(yàn) Hands-On Lab 日志應(yīng)用程序塊索引頁(yè)
Logging application Block Hands-On Lab for EnterPRise Library 企業(yè)庫(kù)的日志應(yīng)用程序塊動(dòng)手實(shí)驗(yàn)

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.這個(gè)預(yù)先安排好的過(guò)程將充當(dāng)你學(xué)習(xí)企業(yè)庫(kù)日志應(yīng)用程序塊的向?qū)?,并讓你練?xí)在各種應(yīng)用程序環(huán)境中使用它的能力。
After completing this lab, you will be able to do the following: 在完成這個(gè)實(shí)驗(yàn)之后,你將學(xué)會(huì)做下面的事情:
- You will be able to use the Enterprise Library Logging Application Block to implement logging in an application. 你將會(huì)使用企業(yè)庫(kù)日志應(yīng)用程序塊在程序中實(shí)現(xiàn)日志記錄。
- You will be able to use the Logging Application Block to log messages asynchronously. 你將會(huì)使用日志應(yīng)用程序塊來(lái)異步的記錄消息。
- You will be able to dynamically reconfigure logging while the application is running. 你可以在程序運(yùn)行時(shí)動(dòng)態(tài)地重新配置日志。
- You will be able to create and use custom trace listeners. 你將會(huì)創(chuàng)建和使用自定義的trace監(jiān)聽(tīng)器。
- You will be able to create and use custom log formatters. 你將會(huì)創(chuàng)建和使用自定義日志格式器。

This hands-on lab includes the following five labs: 這個(gè)動(dòng)手實(shí)驗(yàn)包含下列五個(gè)實(shí)驗(yàn):
- Lab 1: Add Logging to an Application實(shí)驗(yàn)1:添加日志到程序中
- Lab 2: Create and Use an Asynchronous Trace Listener實(shí)驗(yàn)2:創(chuàng)建和使用異步Trace監(jiān)聽(tīng)器
- Lab 3: Reconfigure Logging at Run Time實(shí)驗(yàn)3:在運(yùn)行中重新配置日志
- Lab 4: Create and Use a Custom Trace Listener實(shí)驗(yàn)4:創(chuàng)建和使用自定義的Trace監(jiān)聽(tīng)器
- Lab 5: Create and Use a Custom Log Formatter實(shí)驗(yàn)5:創(chuàng)建和使用自定義的日志格式器
The estimated completion for this lab is 45 minutes. 估計(jì)完成這個(gè)實(shí)驗(yàn)需要45分鐘。
Authors 作者
These Hands-On Labs were produced by the following individuals: 這些動(dòng)手實(shí)驗(yàn)是有下面的人提供的:
- 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)翻譯的。文中任何問(wèn)題歡迎指正。