Skip to content

StaticFullLogger.Debug(Exception, string?, string?) method

Defined in

Type: StaticFullLogger Namespace: Splat Assembly: Splat.Logging.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

Overloads

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

  2. public void Debug(string? message, string? callerMemberName = null)

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

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

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

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

1. Overload

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

View source (opens in a new tab)

Inherited documentation

These docs were inherited from IStaticFullLogger. The member doesn't override them on this type.

Summary: Emits a debug log message with an exception.

Parameters

NameTypeDescription
exceptionException (opens in a new tab)The exception.
messagestring? (opens in a new tab)The message.
callerMemberName = nullstring? (opens in a new tab)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.

2. Overload

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

View source (opens in a new tab)

Inherited documentation

These docs were inherited from IStaticFullLogger. The member doesn't override them on this type.

Summary: Emits a message to the debug log.

Parameters

NameTypeDescription
messagestring? (opens in a new tab)A non-localizable message to send to the log.
callerMemberName = nullstring? (opens in a new tab)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.

3. Overload

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

View source (opens in a new tab)

Inherited documentation

These docs were inherited from IStaticFullLogger. The member doesn't override them on this type.

Summary: Emits a message to the debug log.

Type parameters

NameDescription
TThe calling type.

Parameters

NameTypeDescription
messagestring? (opens in a new tab)A non-localizable message to send to the log.
callerMemberName = nullstring? (opens in a new tab)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.

4. Overload

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

View source (opens in a new tab)

Inherited documentation

These docs were inherited from IStaticFullLogger. The member doesn't override them on this type.

Summary: Emits a message using formatting to the debug log.

Type parameters

NameDescription
TArgumentThe type of the argument which is used in the formatting.

Parameters

NameTypeDescription
formatProviderIFormatProvider (opens in a new tab)The format provider to use.
messagestring (opens in a new tab)A message to emit to the log which includes the standard formatting tags.
argumentTArgumentThe argument for formatting purposes.
callerMemberName = nullstring? (opens in a new tab)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.

5. Overload

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

View source (opens in a new tab)

Inherited documentation

These docs were inherited from IStaticFullLogger. The member doesn't override them on this type.

Summary: Emits a message using formatting to the debug log.

Type parameters

NameDescription
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.

Parameters

NameTypeDescription
formatProviderIFormatProvider (opens in a new tab)The format provider to use.
messagestring? (opens in a new tab)A message to emit to the log which includes the standard formatting tags.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
callerMemberName = nullstring? (opens in a new tab)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.

6. Overload

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

View source (opens in a new tab)

Inherited documentation

These docs were inherited from IStaticFullLogger. The member doesn't override them on this type.

Summary: Emits a message using formatting to the debug log.

Type parameters

NameDescription
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.

Parameters

NameTypeDescription
formatProviderIFormatProvider (opens in a new tab)The format provider to use.
messagestring? (opens in a new tab)A message to emit to the log which includes the standard formatting tags.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
callerMemberName = nullstring? (opens in a new tab)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.