Table of Contents

Class LogHost

Namespace
Splat
Assembly
Splat.dll

Contains helper methods to get access to the Default IFullLogger.

public static class LogHost
Inheritance
LogHost

Properties

Default

Gets the default IFullLogger registered within the Locator.

public static IStaticFullLogger Default { get; }

Property Value

IStaticFullLogger

Methods

Log<T>(T)

Call this method to write log entries on behalf of the current class.

public static IFullLogger Log<T>(this T logClassInstance) where T : IEnableLogger

Parameters

logClassInstance T

The class we are getting the logger for.

Returns

IFullLogger

The IFullLogger for the class type.

Type Parameters

T

The type to get the IFullLogger for.