Log Class

NSG Library Logger

Log Class

A Sandcastle Documented Class Library
Make the log a singleton and globally available. Early in the application
Examples

public void Configuration(IAppBuilder app)
{
    ...
    // Globally configure logging and replace default List-Logger
    // with SQL-Logger.
    NSG.Library.Logger.Log.Logger = new WebSrv.Models.SQLLogger(
        ApplicationDbContext.Create(),
        WebSrv.Models.Constants.ApplicationLoggerName);
}
Inheritance Hierarchy

SystemObject  NSG.Library.LoggerLog

Namespace:  NSG.Library.Logger
Assembly:  NSG.Library.Logger (in NSG.Library.Logger.dll) Version: 1.0.1.17 (1.0.1.17)
Syntax

public static class Log
Public NotInheritable Class Log
public ref class Log abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Log =  class end

The Log type exposes the following members.

Properties

  NameDescription
Public propertyStatic memberLogger
The globally-shared logger.
Top
See Also

Reference