Table of Contents

Class ExceptionlessSplatLogger

Namespace
Splat.Exceptionless
Assembly
Splat.Exceptionless.dll

Splat logger implementation that wraps Exceptionless functionality.

public sealed class ExceptionlessSplatLogger : ILogger
Inheritance
ExceptionlessSplatLogger
Implements
ILogger
Extension Methods
WhenAnyMixin.WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(TSender?, Expression<Func<TSender, T1>>, Expression<Func<TSender, T2>>, Expression<Func<TSender, T3>>, Expression<Func<TSender, T4>>, Expression<Func<TSender, T5>>, Expression<Func<TSender, T6>>, Expression<Func<TSender, T7>>, Expression<Func<TSender, T8>>, Expression<Func<TSender, T9>>, Expression<Func<TSender, T10>>, Expression<Func<TSender, T11>>, Expression<Func<TSender, T12>>, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, IObservedChange<TSender, T12>, TRet>)
WhenAnyMixin.WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(TSender?, Expression<Func<TSender, T1>>, Expression<Func<TSender, T2>>, Expression<Func<TSender, T3>>, Expression<Func<TSender, T4>>, Expression<Func<TSender, T5>>, Expression<Func<TSender, T6>>, Expression<Func<TSender, T7>>, Expression<Func<TSender, T8>>, Expression<Func<TSender, T9>>, Expression<Func<TSender, T10>>, Expression<Func<TSender, T11>>, Expression<Func<TSender, T12>>, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, IObservedChange<TSender, T12>, TRet>, bool)

Constructors

ExceptionlessSplatLogger(Type, ExceptionlessClient)

Initializes a new instance of the ExceptionlessSplatLogger class.

public ExceptionlessSplatLogger(Type sourceType, ExceptionlessClient exceptionlessClient)

Parameters

sourceType Type

The type that this logger will represent.

exceptionlessClient ExceptionlessClient

The Exceptionless client instance to use.

Properties

Level

Gets the level at which the target will emit messages.

public LogLevel Level { get; }

Property Value

LogLevel

Methods

Write(Exception, string, LogLevel)

Writes a message to the target.

public void Write(Exception exception, string message, LogLevel logLevel)

Parameters

exception Exception

The exception that occurred.

message string

The message to write.

logLevel LogLevel

The severity level of the log message.

Write(Exception, string, Type, LogLevel)

Writes a message to the target.

public void Write(Exception exception, string message, Type type, LogLevel logLevel)

Parameters

exception Exception

The exception that occurred.

message string

The message to write.

type Type

The type associated with the log message.

logLevel LogLevel

The severity level of the log message.

Write(string, LogLevel)

Writes a message to the target.

public void Write(string message, LogLevel logLevel)

Parameters

message string

The message to write.

logLevel LogLevel

The severity level of the log message.

Write(string, Type, LogLevel)

Writes a message to the target.

public void Write(string message, Type type, LogLevel logLevel)

Parameters

message string

The message to write.

type Type

The type associated with the log message.

logLevel LogLevel

The severity level of the log message.