Skip to content

IEnableLogger interface

Attributes: [ComVisible(false)]

Defined in

Namespace: Splat Assembly: Splat.Logging.dll Full name: Splat.IEnableLogger Modifiers: public abstract

Summary

Marks a class as eligible for logger injection by supporting frameworks or libraries.

Applies to

net10.0, net9.0, net8.0, net462, net481

Remarks

Implement this interface in your class to get access to the Log() Mixin, which will give you a Logger that includes the class name in the log, indicating that a type can participate in logging infrastructure that relies on marker interfaces.

This interface does not define any members and serves only as a marker for logger enablement.