LogHost class¶
Defined in
Namespace: Splat Assembly: Splat.Logging.dll Full name: Splat.LogHost Modifiers: public static
Summary¶
View source (opens in a new tab)
Provides access to logging facilities and helpers for obtaining loggers associated with specific types or the
application as a whole.
Applies to
net11.0, net10.0, net47, net471, net472, net48, 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¶
| Name | Summary |
|---|---|
| static Default | Gets the default [IFullLogger](#Splat.IFullLogger) registered within the [IReadonlyDependencyResolver](# |
Inherited members
System.Object.Equals(System.Object)(opens in a new tab)System.Object.Equals(System.Object,System.Object)(opens in a new tab)System.Object.GetHashCode(opens in a new tab)System.Object.GetType(opens in a new tab)System.Object.MemberwiseClone(opens in a new tab)System.Object.ReferenceEquals(System.Object,System.Object)(opens in a new tab)System.Object.ToString(opens in a new tab)