Model Xtractor - Online Class Diagram Editor
Model Xtractor - Online Class Diagram Editor User Account   
    RSS Posts | Model Xtractor
  • Diagrams
  • Metadata
  • Blog
  • Support
  • Tutorial

Commons Logging Assembly

Leave a Comment » Sep 15, 2010
Categories: Modeling

The Commons Logging assembly (Common.Logging v1.2) is a bridge between different logging implementations. A library that uses the commons-logging API can be used with any logging implementation at runtime. Commons Logging comes with support for a number of popular logging implementations, and writing adapters for others is a reasonably simple task. Using Commons Logging allows an application to change to a different logging implementation without recompiling code.

Follow this link for all Model Xtractor diagrams using this product. Most diagrams are public and unrestricted, using unprotected metadata.

We start with a high level view at the Commons Logging product, its single assembly, the two namespaces and all types within. As well as component dependencies on the .NET Framework assemblies. Imported version depends on .NET 2.0, but this translates identical on other framework versions:

Click for the published entry of the diagram
EditViewPrint

Common.Logging namespace contains main types. The object model is described here:

Click for the published entry of the diagram
EditViewPrint

Common.Logging.Simple is the second namespace of the assembly, with sample implementations of ILog-based logger types TraceLogger, NoOpLogger and ConsoleOutLogger, and the related ILoggerFactoryAdapter-based adapter types TraceLoggerFactoryAdapter, NoOpLoggerFactoryAdapter and ConsoleOutLoggerFactoryAdapter. An adapter calls the GetLogger method to instantiate and return the logger:

Click for the published entry of the diagram
EditViewPrint

A different view of the previous diagram focus on the implemented ILog and ILoggerFactoryAdapter interfaces, expanded and linked to the Common.Logging.Simple loggers and adapters through realization connectors. This diagram is protected and fully accessible only by the subscribers. Click on the thumbnail to go to the published diagram page, and eventually see its real size image:

Model Xtractor Diagram

Leave a Comment

Accepts [code lang=".."] .. [/code], where lang is one of: csharp/vbnet/java/js/c/cpp/xml/sql/as3/php/ruby

E d i t   D i a g r a m s   O n l i n e !
Advertisement
Last Recommended Diagrams
  • SharePoint 2010 Server Object Model
  • Top Hierarchy in SharePoint
  • WCF Binding
  • Membership (System.Web.Security Namespace)
  • System.ServiceModel.Syndication Namespace
  • System.Configuration: Sections and Groups
  • System.Configuration: Specific Sections
  • mx.utils
  • mx.preloaders
  • mx.controls.menuClasses
Last Recommended Diagram
SharePoint 2010 Server Object Model
SharePoint 2010 Server Object Model
© 2010 Model-Xtractor.com - All Rights Reserved.
  • Terms of Use
  • Privacy Policy
  • News
  • About Us
  • Contact Us