Skip to content

ExceptionlessSplatLogger class

Attributes: [DebuggerDisplay("Name={_sourceType} Level={Level}")]

Defined in

Namespace: Splat.Exceptionless Assembly: Splat.Exceptionless.dll Full name: Splat.Exceptionless.ExceptionlessSplatLogger Modifiers: public sealed

Summary

View source

        Provides an implementation of the ILogger interface that writes log messages to Exceptionless using the specified
        source type and client configuration.
        

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

Class hierarchy
classDiagram
class ExceptionlessSplatLogger
class ILogger {
    <>
}
ILogger <|.. ExceptionlessSplatLogger

Implements: ILogger

Remarks

This logger maps Splat log levels to Exceptionless log levels and respects the current Exceptionless configuration for log filtering. The effective log level is determined from the Exceptionless client settings and is updated automatically when the configuration changes. Instances of this logger are typically created per source type to provide contextual logging.

Constructors

NameSummary
.ctorInitializes a new instance of the [ExceptionlessSplatLogger](# class.

Properties

NameSummary
LevelGets the level at which the target will emit messages.

Methods

NameSummary
WriteWrites a message to the target.
Inherited members