Поделиться через


Semantic Logging

patterns & practices Developer Center

Summary

Semantic Logging can help you to take advantage of comprehensive and informative logging functionality in most types of applications and scenarios. By using the Semantic Logging Application Block, you can quickly and more easily incorporate structured events that conform to known schemas into your applications, and store the information they contain in a variety of logging destinations. This makes it easier to consume logging information—especially when there is a large volume of log data.

Active Release

Previous Release

Overview

The Semantic Logging Application Block can help to minimize the development effort required to implement structured event logging in your applications, and reduce the chances of inconsistency and errors when writing code that conforms to modern practice for generating logs containing semantically useful typed information. Logs of this type make automated log parsing and monitoring much easier and more efficient.

The key scenarios for using the block include logging events to the Console, a disk file, a database, and Azure table storage; correlating events, and sampling and filtering events.

Community

The Semantic Logging Application Block, like many patterns & practices deliverables, is associated with a community site: http://slab.codeplex.com/. On this community site, you can post questions, provide feedback, or connect with other users for sharing ideas. Community members can also help Microsoft plan and test future releases of Unity, and download additional content such as extensions and training material. We also accept and encourage community contributions – see the guidelines.

Related resources