Skip to content

LogHost class

Defined in

Namespace: Splat Assembly: Splat.Logging.dll Full name: Splat.LogHost Modifiers: public static

Summary

View source

        Provides access to logging facilities and helpers for obtaining loggers associated with specific types or the
        application as a whole.
        

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

Remarks

The LogHost class serves as a central entry point for acquiring loggers in applications that use dependency injection and logging abstractions. It enables consistent logger retrieval for classes implementing IEnableLogger and provides a default static logger for general use. All members are static and thread-safe.

Properties

NameSummary
static DefaultGets the default [IFullLogger](# registered within the [IReadonlyDependencyResolver](#
Inherited members