Table of Contents

Interface IStaticFullLogger

Namespace
Splat
Assembly
Splat.dll

Represents the logging interface for the Static Default Logger.

public interface IStaticFullLogger
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>)
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>)

Properties

Level

Gets the level at which the target will emit messages.

LogLevel Level { get; }

Property Value

LogLevel

Methods

Debug(Exception, string, string?)

Emits a debug log message with an exception.

void Debug(Exception exception, string message, string? callerMemberName = null)

Parameters

exception Exception

The exception.

message string

The message.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Debug(string, string?)

Emits a message to the debug log.

void Debug(string message, string? callerMemberName = null)

Parameters

message string

A non-localizable message to send to the log.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Debug<TArgument>(IFormatProvider, string, TArgument, string?)

Emits a message using formatting to the debug log.

void Debug<TArgument>(IFormatProvider formatProvider, string message, TArgument argument, string? callerMemberName = null)

Parameters

formatProvider IFormatProvider

The format provider to use.

message string

A message to emit to the log which includes the standard formatting tags.

argument TArgument

The argument for formatting purposes.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

TArgument

The type of the argument which is used in the formatting.

Debug<T>(string, string?)

Emits a message to the debug log.

void Debug<T>(string message, string? callerMemberName = null)

Parameters

message string

A non-localizable message to send to the log.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

T

The calling type.

Debug<TArgument1, TArgument2>(IFormatProvider, string, TArgument1, TArgument2, string?)

Emits a message using formatting to the debug log.

void Debug<TArgument1, TArgument2>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, string? callerMemberName = null)

Parameters

formatProvider IFormatProvider

The format provider to use.

message string

A message to emit to the log which includes the standard formatting tags.

argument1 TArgument1

The first argument for formatting purposes.

argument2 TArgument2

The second argument for formatting purposes.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

TArgument1

The type of the first argument which is used in the formatting.

TArgument2

The type of the second argument which is used in the formatting.

Debug<TArgument1, TArgument2, TArgument3>(IFormatProvider, string, TArgument1, TArgument2, TArgument3, string?)

Emits a message using formatting to the debug log.

void Debug<TArgument1, TArgument2, TArgument3>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, string? callerMemberName = null)

Parameters

formatProvider IFormatProvider

The format provider to use.

message string

A message to emit to the log which includes the standard formatting tags.

argument1 TArgument1

The first argument for formatting purposes.

argument2 TArgument2

The second argument for formatting purposes.

argument3 TArgument3

The third argument for formatting purposes.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

TArgument1

The type of the first argument which is used in the formatting.

TArgument2

The type of the second argument which is used in the formatting.

TArgument3

The type of the third argument which is used in the formatting.

Error(Exception, string, string?)

Emits a error log message with exception. This will emit details about a exception. This type of logging is not able to be localized.

void Error(Exception exception, string message, string? callerMemberName = null)

Parameters

exception Exception

The exception which to emit in the log.

message string

A message to emit.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Error(string, string?)

Emits a message to the error log.

void Error(string message, string? callerMemberName = null)

Parameters

message string

A non-localizable message to send to the log.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Error<TArgument>(IFormatProvider, string, TArgument, string?)

Emits a message using formatting to the error log.

void Error<TArgument>(IFormatProvider formatProvider, string message, TArgument argument, string? callerMemberName = null)

Parameters

formatProvider IFormatProvider

The format provider to use.

message string

A message to emit to the log which includes the standard formatting tags.

argument TArgument

The argument for formatting purposes.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

TArgument

The type of the argument which is used in the formatting.

Error<T>(string, string?)

Emits a message to the error log.

void Error<T>(string message, string? callerMemberName = null)

Parameters

message string

A non-localizable message to send to the log.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

T

The calling type.

Error<TArgument1, TArgument2>(IFormatProvider, string, TArgument1, TArgument2, string?)

Emits a message using formatting to the error log.

void Error<TArgument1, TArgument2>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, string? callerMemberName = null)

Parameters

formatProvider IFormatProvider

The format provider to use.

message string

A message to emit to the log which includes the standard formatting tags.

argument1 TArgument1

The first argument for formatting purposes.

argument2 TArgument2

The second argument for formatting purposes.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

TArgument1

The type of the first argument which is used in the formatting.

TArgument2

The type of the second argument which is used in the formatting.

Error<TArgument1, TArgument2, TArgument3>(IFormatProvider, string, TArgument1, TArgument2, TArgument3, string?)

Emits a message using formatting to the error log.

void Error<TArgument1, TArgument2, TArgument3>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, string? callerMemberName = null)

Parameters

formatProvider IFormatProvider

The format provider to use.

message string

A message to emit to the log which includes the standard formatting tags.

argument1 TArgument1

The first argument for formatting purposes.

argument2 TArgument2

The second argument for formatting purposes.

argument3 TArgument3

The third argument for formatting purposes.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

TArgument1

The type of the first argument which is used in the formatting.

TArgument2

The type of the second argument which is used in the formatting.

TArgument3

The type of the third argument which is used in the formatting.

Fatal(Exception, string, string?)

Emits a fatal log message with exception. This will emit details about a exception. This type of logging is not able to be localized.

void Fatal(Exception exception, string message, string? callerMemberName = null)

Parameters

exception Exception

The exception which to emit in the log.

message string

A message to emit.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Fatal(string, string?)

Emits a message to the fatal log.

void Fatal(string message, string? callerMemberName = null)

Parameters

message string

A non-localizable message to send to the log.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Fatal<TArgument>(IFormatProvider, string, TArgument, string?)

Emits a message using formatting to the fatal log.

void Fatal<TArgument>(IFormatProvider formatProvider, string message, TArgument argument, string? callerMemberName = null)

Parameters

formatProvider IFormatProvider

The format provider to use.

message string

A message to emit to the log which includes the standard formatting tags.

argument TArgument

The argument for formatting purposes.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

TArgument

The type of the argument which is used in the formatting.

Fatal<T>(string, string?)

Emits a message to the fatal log.

void Fatal<T>(string message, string? callerMemberName = null)

Parameters

message string

A non-localizable message to send to the log.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

T

The calling type.

Fatal<TArgument1, TArgument2>(IFormatProvider, string, TArgument1, TArgument2, string?)

Emits a message using formatting to the fatal log.

void Fatal<TArgument1, TArgument2>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, string? callerMemberName = null)

Parameters

formatProvider IFormatProvider

The format provider to use.

message string

A message to emit to the log which includes the standard formatting tags.

argument1 TArgument1

The first argument for formatting purposes.

argument2 TArgument2

The second argument for formatting purposes.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

TArgument1

The type of the first argument which is used in the formatting.

TArgument2

The type of the second argument which is used in the formatting.

Fatal<TArgument1, TArgument2, TArgument3>(IFormatProvider, string, TArgument1, TArgument2, TArgument3, string?)

Emits a message using formatting to the fatal log.

void Fatal<TArgument1, TArgument2, TArgument3>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, string? callerMemberName = null)

Parameters

formatProvider IFormatProvider

The format provider to use.

message string

A message to emit to the log which includes the standard formatting tags.

argument1 TArgument1

The first argument for formatting purposes.

argument2 TArgument2

The second argument for formatting purposes.

argument3 TArgument3

The third argument for formatting purposes.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

TArgument1

The type of the first argument which is used in the formatting.

TArgument2

The type of the second argument which is used in the formatting.

TArgument3

The type of the third argument which is used in the formatting.

Info(Exception, string, string?)

Emits a info log message with exception. This will emit details about a exception. This type of logging is not able to be localized.

void Info(Exception exception, string message, string? callerMemberName = null)

Parameters

exception Exception

The exception which to emit in the log.

message string

A message to emit.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Info(string, string?)

Emits a message to the info log.

void Info(string message, string? callerMemberName = null)

Parameters

message string

A non-localizable message to send to the log.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Info<TArgument>(IFormatProvider, string, TArgument, string?)

Emits a message using formatting to the info log.

void Info<TArgument>(IFormatProvider formatProvider, string message, TArgument argument, string? callerMemberName = null)

Parameters

formatProvider IFormatProvider

The format provider to use.

message string

A message to emit to the log which includes the standard formatting tags.

argument TArgument

The argument for formatting purposes.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

TArgument

The type of the argument which is used in the formatting.

Info<T>(string, string?)

Emits a message to the info log.

void Info<T>(string message, string? callerMemberName = null)

Parameters

message string

A non-localizable message to send to the log.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

T

The calling type.

Info<TArgument1, TArgument2>(IFormatProvider, string, TArgument1, TArgument2, string?)

Emits a message using formatting to the info log.

void Info<TArgument1, TArgument2>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, string? callerMemberName = null)

Parameters

formatProvider IFormatProvider

The format provider to use.

message string

A message to emit to the log which includes the standard formatting tags.

argument1 TArgument1

The first argument for formatting purposes.

argument2 TArgument2

The second argument for formatting purposes.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

TArgument1

The type of the first argument which is used in the formatting.

TArgument2

The type of the second argument which is used in the formatting.

Info<TArgument1, TArgument2, TArgument3>(IFormatProvider, string, TArgument1, TArgument2, TArgument3, string?)

Emits a message using formatting to the info log.

void Info<TArgument1, TArgument2, TArgument3>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, string? callerMemberName = null)

Parameters

formatProvider IFormatProvider

The format provider to use.

message string

A message to emit to the log which includes the standard formatting tags.

argument1 TArgument1

The first argument for formatting purposes.

argument2 TArgument2

The second argument for formatting purposes.

argument3 TArgument3

The third argument for formatting purposes.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

TArgument1

The type of the first argument which is used in the formatting.

TArgument2

The type of the second argument which is used in the formatting.

TArgument3

The type of the third argument which is used in the formatting.

Warn(Exception, string, string?)

Emits a warning log message with exception. This will emit details about a exception. This type of logging is not able to be localized.

void Warn(Exception exception, string message, string? callerMemberName = null)

Parameters

exception Exception

The exception which to emit in the log.

message string

A message to emit.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Warn(string, string?)

Emits a message to the warning log.

void Warn(string message, string? callerMemberName = null)

Parameters

message string

A non-localizable message to send to the log.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Warn<TArgument>(IFormatProvider, string, TArgument, string?)

Emits a message using formatting to the warning log.

void Warn<TArgument>(IFormatProvider formatProvider, string message, TArgument argument, string? callerMemberName = null)

Parameters

formatProvider IFormatProvider

The format provider to use.

message string

A message to emit to the log which includes the standard formatting tags.

argument TArgument

The argument for formatting purposes.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

TArgument

The type of the argument which is used in the formatting.

Warn<T>(string, string?)

Emits a message to the warning log.

void Warn<T>(string message, string? callerMemberName = null)

Parameters

message string

A non-localizable message to send to the log.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

T

The calling type.

Warn<TArgument1, TArgument2>(IFormatProvider, string, TArgument1, TArgument2, string?)

Emits a message using formatting to the warning log.

void Warn<TArgument1, TArgument2>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, string? callerMemberName = null)

Parameters

formatProvider IFormatProvider

The format provider to use.

message string

A message to emit to the log which includes the standard formatting tags.

argument1 TArgument1

The first argument for formatting purposes.

argument2 TArgument2

The second argument for formatting purposes.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

TArgument1

The type of the first argument which is used in the formatting.

TArgument2

The type of the second argument which is used in the formatting.

Warn<TArgument1, TArgument2, TArgument3>(IFormatProvider, string, TArgument1, TArgument2, TArgument3, string?)

Emits a message using formatting to the warning log.

void Warn<TArgument1, TArgument2, TArgument3>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, string? callerMemberName = null)

Parameters

formatProvider IFormatProvider

The format provider to use.

message string

A message to emit to the log which includes the standard formatting tags.

argument1 TArgument1

The first argument for formatting purposes.

argument2 TArgument2

The second argument for formatting purposes.

argument3 TArgument3

The third argument for formatting purposes.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Type Parameters

TArgument1

The type of the first argument which is used in the formatting.

TArgument2

The type of the second argument which is used in the formatting.

TArgument3

The type of the third argument which is used in the formatting.

Write(Exception, string, LogLevel, string?)

Writes a message to the target.

void Write(Exception exception, string message, LogLevel logLevel, string? callerMemberName = null)

Parameters

exception Exception

The exception that occured.

message string

The message to write.

logLevel LogLevel

The severity level of the log message.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Write(Exception, string, Type, LogLevel, string?)

Writes a messge to the target.

void Write(Exception exception, string message, Type type, LogLevel logLevel, string? callerMemberName = null)

Parameters

exception Exception

The exception that occured.

message string

The message.

type Type

The type.

logLevel LogLevel

The log level.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Write(string, LogLevel, string?)

Writes a message to the target.

void Write(string message, LogLevel logLevel, string? callerMemberName = null)

Parameters

message string

The message to write.

logLevel LogLevel

The severity level of the log message.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.

Write(string, Type, LogLevel, string?)

Writes a messge to the target.

void Write(string message, Type type, LogLevel logLevel, string? callerMemberName = null)

Parameters

message string

The message.

type Type

The type.

logLevel LogLevel

The log level.

callerMemberName string

Allows you to pass the method or property name of the caller to the method, used to allow the capture in the static logger of some additional context for support and debugging.