Table of Contents

Class WarfareLoggingExtensions

Namespace
Uncreated
Assembly
Uncreated.Warfare.dll
public static class WarfareLoggingExtensions
Inheritance
WarfareLoggingExtensions
Inherited Members

Methods

Log(ILogger, LogLevel, EventId, Exception?, string)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message.

Log(ILogger, LogLevel, EventId, Exception?, string, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message.

arg1 object

Log(ILogger, LogLevel, EventId, Exception?, string, object?, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message.

arg1 object
arg2 object

Log(ILogger, LogLevel, EventId, Exception?, string, object?, object?, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message.

arg1 object
arg2 object
arg3 object

Log(ILogger, LogLevel, EventId, Exception?, string, object?, object?, object?, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message.

arg1 object
arg2 object
arg3 object
arg4 object

Log(ILogger, LogLevel, EventId, Exception?, string, params object?[]?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message.

args object[]

An object array that contains zero or more objects to format.

Log(ILogger, LogLevel, EventId, Exception?, WarfareLoggerInterpolatedStringHandler)

Formats and writes a log message at the specified log level.

public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, Exception? exception, WarfareLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel
eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

builder WarfareLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

Log(ILogger, LogLevel, EventId, string)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, string message)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

eventId EventId

The event id associated with the log.

message string

Format string of the log message.

Log(ILogger, LogLevel, EventId, string, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

eventId EventId

The event id associated with the log.

message string

Format string of the log message.

arg1 object

Log(ILogger, LogLevel, EventId, string, object?, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

eventId EventId

The event id associated with the log.

message string

Format string of the log message.

arg1 object
arg2 object

Log(ILogger, LogLevel, EventId, string, object?, object?, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

eventId EventId

The event id associated with the log.

message string

Format string of the log message.

arg1 object
arg2 object
arg3 object

Log(ILogger, LogLevel, EventId, string, object?, object?, object?, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

eventId EventId

The event id associated with the log.

message string

Format string of the log message.

arg1 object
arg2 object
arg3 object
arg4 object

Log(ILogger, LogLevel, EventId, string, params object?[]?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

eventId EventId

The event id associated with the log.

message string

Format string of the log message.

args object[]

An object array that contains zero or more objects to format.

Log(ILogger, LogLevel, EventId, WarfareLoggerInterpolatedStringHandler)

Formats and writes a log message at the specified log level.

public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, WarfareLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel
eventId EventId

The event id associated with the log.

builder WarfareLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

Log(ILogger, LogLevel, Exception?, string)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

exception Exception

The exception to log.

message string

Format string of the log message.

Log(ILogger, LogLevel, Exception?, string, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

exception Exception

The exception to log.

message string

Format string of the log message.

arg1 object

Log(ILogger, LogLevel, Exception?, string, object?, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

exception Exception

The exception to log.

message string

Format string of the log message.

arg1 object
arg2 object

Log(ILogger, LogLevel, Exception?, string, object?, object?, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

exception Exception

The exception to log.

message string

Format string of the log message.

arg1 object
arg2 object
arg3 object

Log(ILogger, LogLevel, Exception?, string, object?, object?, object?, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

exception Exception

The exception to log.

message string

Format string of the log message.

arg1 object
arg2 object
arg3 object
arg4 object

Log(ILogger, LogLevel, Exception?, string, params object?[]?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

exception Exception

The exception to log.

message string

Format string of the log message.

args object[]

An object array that contains zero or more objects to format.

Log(ILogger, LogLevel, Exception?, WarfareLoggerInterpolatedStringHandler)

Formats and writes a log message at the specified log level.

public static void Log(this ILogger logger, LogLevel logLevel, Exception? exception, WarfareLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel
exception Exception

The exception to log.

builder WarfareLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

Log(ILogger, LogLevel, string)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, string message)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

message string

Format string of the log message.

Log(ILogger, LogLevel, string, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

message string

Format string of the log message.

arg1 object

Log(ILogger, LogLevel, string, object?, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

message string

Format string of the log message.

arg1 object
arg2 object

Log(ILogger, LogLevel, string, object?, object?, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

message string

Format string of the log message.

arg1 object
arg2 object
arg3 object

Log(ILogger, LogLevel, string, object?, object?, object?, object?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

message string

Format string of the log message.

arg1 object
arg2 object
arg3 object
arg4 object

Log(ILogger, LogLevel, string, params object?[]?)

Formats and writes a log message at the specified log level.

[StringFormatMethod("message")]
public static void Log(this ILogger logger, LogLevel logLevel, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel

Entry will be written on this level.

message string

Format string of the log message.

args object[]

An object array that contains zero or more objects to format.

Log(ILogger, LogLevel, WarfareLoggerInterpolatedStringHandler)

Formats and writes a log message at the specified log level.

public static void Log(this ILogger logger, LogLevel logLevel, WarfareLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

logLevel LogLevel
builder WarfareLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogConditional(ILogger, EventId, Exception?, string)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, EventId eventId, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogConditional(ILogger, EventId, Exception?, string, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogConditional(ILogger, EventId, Exception?, string, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogConditional(ILogger, EventId, Exception?, string, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogConditional(ILogger, EventId, Exception?, string, object?, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogConditional(ILogger, EventId, Exception?, string, params object?[]?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, EventId eventId, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogConditional(ILogger, EventId, Exception?, WarfareDebugLoggerInterpolatedStringHandler)

Formats and writes a debug log message.

[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, EventId eventId, Exception? exception, WarfareDebugLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

builder WarfareDebugLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogConditional(ILogger, EventId, string)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, EventId eventId, string message)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogConditional(ILogger, EventId, string, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, EventId eventId, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogConditional(ILogger, EventId, string, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogConditional(ILogger, EventId, string, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogConditional(ILogger, EventId, string, object?, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogConditional(ILogger, EventId, string, params object?[]?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, EventId eventId, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogConditional(ILogger, EventId, WarfareDebugLoggerInterpolatedStringHandler)

Formats and writes a debug log message.

[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, EventId eventId, WarfareDebugLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

builder WarfareDebugLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogConditional(ILogger, Exception?, string)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogConditional(ILogger, Exception?, string, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogConditional(ILogger, Exception?, string, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogConditional(ILogger, Exception?, string, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogConditional(ILogger, Exception?, string, object?, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogConditional(ILogger, Exception?, string, params object?[]?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogConditional(ILogger, Exception?, WarfareDebugLoggerInterpolatedStringHandler)

Formats and writes a debug log message.

[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, Exception? exception, WarfareDebugLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

builder WarfareDebugLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogConditional(ILogger, string)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, string message)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogConditional(ILogger, string, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogConditional(ILogger, string, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogConditional(ILogger, string, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogConditional(ILogger, string, object?, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogConditional(ILogger, string, params object?[]?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogConditional(ILogger, WarfareDebugLoggerInterpolatedStringHandler)

Formats and writes a debug log message.

[Conditional("DEBUG")]
public static void LogConditional(this ILogger logger, WarfareDebugLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

builder WarfareDebugLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogCritical(ILogger, EventId, Exception?, string)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, EventId eventId, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogCritical(ILogger, EventId, Exception?, string, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogCritical(ILogger, EventId, Exception?, string, object?, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogCritical(ILogger, EventId, Exception?, string, object?, object?, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogCritical(ILogger, EventId, Exception?, string, object?, object?, object?, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogCritical(ILogger, EventId, Exception?, string, params object?[]?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, EventId eventId, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogCritical(ILogger, EventId, Exception?, WarfareCriticalLoggerInterpolatedStringHandler)

Formats and writes a critical log message.

public static void LogCritical(this ILogger logger, EventId eventId, Exception? exception, WarfareCriticalLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

builder WarfareCriticalLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogCritical(ILogger, EventId, string)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, EventId eventId, string message)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogCritical(ILogger, EventId, string, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, EventId eventId, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogCritical(ILogger, EventId, string, object?, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogCritical(ILogger, EventId, string, object?, object?, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogCritical(ILogger, EventId, string, object?, object?, object?, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogCritical(ILogger, EventId, string, params object?[]?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, EventId eventId, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogCritical(ILogger, EventId, WarfareCriticalLoggerInterpolatedStringHandler)

Formats and writes a critical log message.

public static void LogCritical(this ILogger logger, EventId eventId, WarfareCriticalLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

builder WarfareCriticalLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogCritical(ILogger, Exception?, string)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogCritical(ILogger, Exception?, string, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogCritical(ILogger, Exception?, string, object?, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogCritical(ILogger, Exception?, string, object?, object?, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogCritical(ILogger, Exception?, string, object?, object?, object?, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogCritical(ILogger, Exception?, string, params object?[]?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogCritical(ILogger, Exception?, WarfareCriticalLoggerInterpolatedStringHandler)

Formats and writes a critical log message.

public static void LogCritical(this ILogger logger, Exception? exception, WarfareCriticalLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

builder WarfareCriticalLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogCritical(ILogger, string)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, string message)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogCritical(ILogger, string, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogCritical(ILogger, string, object?, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogCritical(ILogger, string, object?, object?, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogCritical(ILogger, string, object?, object?, object?, object?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogCritical(ILogger, string, params object?[]?)

Formats and writes a critical log message.

[StringFormatMethod("message")]
public static void LogCritical(this ILogger logger, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogCritical(ILogger, WarfareCriticalLoggerInterpolatedStringHandler)

Formats and writes a critical log message.

public static void LogCritical(this ILogger logger, WarfareCriticalLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

builder WarfareCriticalLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogDebug(ILogger, EventId, Exception?, string)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, EventId eventId, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogDebug(ILogger, EventId, Exception?, string, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogDebug(ILogger, EventId, Exception?, string, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogDebug(ILogger, EventId, Exception?, string, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogDebug(ILogger, EventId, Exception?, string, object?, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogDebug(ILogger, EventId, Exception?, string, params object?[]?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, EventId eventId, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogDebug(ILogger, EventId, Exception?, WarfareDebugLoggerInterpolatedStringHandler)

Formats and writes a debug log message.

public static void LogDebug(this ILogger logger, EventId eventId, Exception? exception, WarfareDebugLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

builder WarfareDebugLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogDebug(ILogger, EventId, string)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, EventId eventId, string message)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogDebug(ILogger, EventId, string, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, EventId eventId, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogDebug(ILogger, EventId, string, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogDebug(ILogger, EventId, string, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogDebug(ILogger, EventId, string, object?, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogDebug(ILogger, EventId, string, params object?[]?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, EventId eventId, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogDebug(ILogger, EventId, WarfareDebugLoggerInterpolatedStringHandler)

Formats and writes a debug log message.

public static void LogDebug(this ILogger logger, EventId eventId, WarfareDebugLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

builder WarfareDebugLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogDebug(ILogger, Exception?, string)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogDebug(ILogger, Exception?, string, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogDebug(ILogger, Exception?, string, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogDebug(ILogger, Exception?, string, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogDebug(ILogger, Exception?, string, object?, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogDebug(ILogger, Exception?, string, params object?[]?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogDebug(ILogger, Exception?, WarfareDebugLoggerInterpolatedStringHandler)

Formats and writes a debug log message.

public static void LogDebug(this ILogger logger, Exception? exception, WarfareDebugLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

builder WarfareDebugLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogDebug(ILogger, string)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, string message)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogDebug(ILogger, string, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogDebug(ILogger, string, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogDebug(ILogger, string, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogDebug(ILogger, string, object?, object?, object?, object?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogDebug(ILogger, string, params object?[]?)

Formats and writes a debug log message.

[StringFormatMethod("message")]
public static void LogDebug(this ILogger logger, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogDebug(ILogger, WarfareDebugLoggerInterpolatedStringHandler)

Formats and writes a debug log message.

public static void LogDebug(this ILogger logger, WarfareDebugLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

builder WarfareDebugLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogError(ILogger, EventId, Exception?, string)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, EventId eventId, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogError(ILogger, EventId, Exception?, string, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogError(ILogger, EventId, Exception?, string, object?, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogError(ILogger, EventId, Exception?, string, object?, object?, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogError(ILogger, EventId, Exception?, string, object?, object?, object?, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogError(ILogger, EventId, Exception?, string, params object?[]?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, EventId eventId, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogError(ILogger, EventId, Exception?, WarfareErrorLoggerInterpolatedStringHandler)

Formats and writes a error log message.

public static void LogError(this ILogger logger, EventId eventId, Exception? exception, WarfareErrorLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

builder WarfareErrorLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogError(ILogger, EventId, string)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, EventId eventId, string message)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogError(ILogger, EventId, string, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, EventId eventId, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogError(ILogger, EventId, string, object?, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogError(ILogger, EventId, string, object?, object?, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogError(ILogger, EventId, string, object?, object?, object?, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogError(ILogger, EventId, string, params object?[]?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, EventId eventId, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogError(ILogger, EventId, WarfareErrorLoggerInterpolatedStringHandler)

Formats and writes a error log message.

public static void LogError(this ILogger logger, EventId eventId, WarfareErrorLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

builder WarfareErrorLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogError(ILogger, Exception?, string)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogError(ILogger, Exception?, string, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogError(ILogger, Exception?, string, object?, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogError(ILogger, Exception?, string, object?, object?, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogError(ILogger, Exception?, string, object?, object?, object?, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogError(ILogger, Exception?, string, params object?[]?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogError(ILogger, Exception?, WarfareErrorLoggerInterpolatedStringHandler)

Formats and writes a error log message.

public static void LogError(this ILogger logger, Exception? exception, WarfareErrorLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

builder WarfareErrorLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogError(ILogger, string)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, string message)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogError(ILogger, string, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogError(ILogger, string, object?, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogError(ILogger, string, object?, object?, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogError(ILogger, string, object?, object?, object?, object?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogError(ILogger, string, params object?[]?)

Formats and writes an error log message.

[StringFormatMethod("message")]
public static void LogError(this ILogger logger, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogError(ILogger, WarfareErrorLoggerInterpolatedStringHandler)

Formats and writes a error log message.

public static void LogError(this ILogger logger, WarfareErrorLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

builder WarfareErrorLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogInformation(ILogger, EventId, Exception?, string)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, EventId eventId, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogInformation(ILogger, EventId, Exception?, string, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogInformation(ILogger, EventId, Exception?, string, object?, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogInformation(ILogger, EventId, Exception?, string, object?, object?, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogInformation(ILogger, EventId, Exception?, string, object?, object?, object?, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogInformation(ILogger, EventId, Exception?, string, params object?[]?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, EventId eventId, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogInformation(ILogger, EventId, Exception?, WarfareInformationLoggerInterpolatedStringHandler)

Formats and writes a informational log message.

public static void LogInformation(this ILogger logger, EventId eventId, Exception? exception, WarfareInformationLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

builder WarfareInformationLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogInformation(ILogger, EventId, string)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, EventId eventId, string message)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogInformation(ILogger, EventId, string, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, EventId eventId, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogInformation(ILogger, EventId, string, object?, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogInformation(ILogger, EventId, string, object?, object?, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogInformation(ILogger, EventId, string, object?, object?, object?, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogInformation(ILogger, EventId, string, params object?[]?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, EventId eventId, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogInformation(ILogger, EventId, WarfareInformationLoggerInterpolatedStringHandler)

Formats and writes a informational log message.

public static void LogInformation(this ILogger logger, EventId eventId, WarfareInformationLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

builder WarfareInformationLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogInformation(ILogger, Exception?, string)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogInformation(ILogger, Exception?, string, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogInformation(ILogger, Exception?, string, object?, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogInformation(ILogger, Exception?, string, object?, object?, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogInformation(ILogger, Exception?, string, object?, object?, object?, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogInformation(ILogger, Exception?, string, params object?[]?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogInformation(ILogger, Exception?, WarfareInformationLoggerInterpolatedStringHandler)

Formats and writes a informational log message.

public static void LogInformation(this ILogger logger, Exception? exception, WarfareInformationLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

builder WarfareInformationLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogInformation(ILogger, string)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, string message)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogInformation(ILogger, string, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogInformation(ILogger, string, object?, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogInformation(ILogger, string, object?, object?, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogInformation(ILogger, string, object?, object?, object?, object?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogInformation(ILogger, string, params object?[]?)

Formats and writes an informational log message.

[StringFormatMethod("message")]
public static void LogInformation(this ILogger logger, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogInformation(ILogger, WarfareInformationLoggerInterpolatedStringHandler)

Formats and writes a informational log message.

public static void LogInformation(this ILogger logger, WarfareInformationLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

builder WarfareInformationLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogTrace(ILogger, EventId, Exception?, string)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, EventId eventId, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogTrace(ILogger, EventId, Exception?, string, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogTrace(ILogger, EventId, Exception?, string, object?, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogTrace(ILogger, EventId, Exception?, string, object?, object?, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogTrace(ILogger, EventId, Exception?, string, object?, object?, object?, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogTrace(ILogger, EventId, Exception?, string, params object?[]?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, EventId eventId, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogTrace(ILogger, EventId, Exception?, WarfareTraceLoggerInterpolatedStringHandler)

Formats and writes a trace log message.

public static void LogTrace(this ILogger logger, EventId eventId, Exception? exception, WarfareTraceLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

builder WarfareTraceLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogTrace(ILogger, EventId, string)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, EventId eventId, string message)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogTrace(ILogger, EventId, string, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, EventId eventId, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogTrace(ILogger, EventId, string, object?, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogTrace(ILogger, EventId, string, object?, object?, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogTrace(ILogger, EventId, string, object?, object?, object?, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogTrace(ILogger, EventId, string, params object?[]?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, EventId eventId, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogTrace(ILogger, EventId, WarfareTraceLoggerInterpolatedStringHandler)

Formats and writes a trace log message.

public static void LogTrace(this ILogger logger, EventId eventId, WarfareTraceLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

builder WarfareTraceLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogTrace(ILogger, Exception?, string)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogTrace(ILogger, Exception?, string, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogTrace(ILogger, Exception?, string, object?, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogTrace(ILogger, Exception?, string, object?, object?, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogTrace(ILogger, Exception?, string, object?, object?, object?, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogTrace(ILogger, Exception?, string, params object?[]?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogTrace(ILogger, Exception?, WarfareTraceLoggerInterpolatedStringHandler)

Formats and writes a trace log message.

public static void LogTrace(this ILogger logger, Exception? exception, WarfareTraceLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

builder WarfareTraceLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogTrace(ILogger, string)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, string message)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogTrace(ILogger, string, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogTrace(ILogger, string, object?, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogTrace(ILogger, string, object?, object?, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogTrace(ILogger, string, object?, object?, object?, object?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogTrace(ILogger, string, params object?[]?)

Formats and writes a trace log message.

[StringFormatMethod("message")]
public static void LogTrace(this ILogger logger, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogTrace(ILogger, WarfareTraceLoggerInterpolatedStringHandler)

Formats and writes a trace log message.

public static void LogTrace(this ILogger logger, WarfareTraceLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

builder WarfareTraceLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogWarning(ILogger, EventId, Exception?, string)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, EventId eventId, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogWarning(ILogger, EventId, Exception?, string, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogWarning(ILogger, EventId, Exception?, string, object?, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogWarning(ILogger, EventId, Exception?, string, object?, object?, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogWarning(ILogger, EventId, Exception?, string, object?, object?, object?, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, EventId eventId, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogWarning(ILogger, EventId, Exception?, string, params object?[]?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, EventId eventId, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogWarning(ILogger, EventId, Exception?, WarfareWarningLoggerInterpolatedStringHandler)

Formats and writes a warning log message.

public static void LogWarning(this ILogger logger, EventId eventId, Exception? exception, WarfareWarningLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

exception Exception

The exception to log.

builder WarfareWarningLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogWarning(ILogger, EventId, string)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, EventId eventId, string message)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogWarning(ILogger, EventId, string, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, EventId eventId, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogWarning(ILogger, EventId, string, object?, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogWarning(ILogger, EventId, string, object?, object?, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogWarning(ILogger, EventId, string, object?, object?, object?, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, EventId eventId, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogWarning(ILogger, EventId, string, params object?[]?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, EventId eventId, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogWarning(ILogger, EventId, WarfareWarningLoggerInterpolatedStringHandler)

Formats and writes a warning log message.

public static void LogWarning(this ILogger logger, EventId eventId, WarfareWarningLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

eventId EventId

The event id associated with the log.

builder WarfareWarningLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogWarning(ILogger, Exception?, string)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, Exception? exception, string message)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogWarning(ILogger, Exception?, string, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, Exception? exception, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogWarning(ILogger, Exception?, string, object?, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogWarning(ILogger, Exception?, string, object?, object?, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogWarning(ILogger, Exception?, string, object?, object?, object?, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, Exception? exception, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogWarning(ILogger, Exception?, string, params object?[]?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, Exception? exception, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogWarning(ILogger, Exception?, WarfareWarningLoggerInterpolatedStringHandler)

Formats and writes a warning log message.

public static void LogWarning(this ILogger logger, Exception? exception, WarfareWarningLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

exception Exception

The exception to log.

builder WarfareWarningLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"

LogWarning(ILogger, string)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, string message)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"

LogWarning(ILogger, string, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, string message, object? arg1)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object

LogWarning(ILogger, string, object?, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, string message, object? arg1, object? arg2)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object

LogWarning(ILogger, string, object?, object?, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, string message, object? arg1, object? arg2, object? arg3)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object

LogWarning(ILogger, string, object?, object?, object?, object?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, string message, object? arg1, object? arg2, object? arg3, object? arg4)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
arg1 object
arg2 object
arg3 object
arg4 object

LogWarning(ILogger, string, params object?[]?)

Formats and writes a warning log message.

[StringFormatMethod("message")]
public static void LogWarning(this ILogger logger, string message, params object?[]? args)

Parameters

logger ILogger

The ILogger to write to.

message string

Format string of the log message in message template format. Example:

"User {0} logged in from {1}"
args object[]

An object array that contains zero or more objects to format.

LogWarning(ILogger, WarfareWarningLoggerInterpolatedStringHandler)

Formats and writes a warning log message.

public static void LogWarning(this ILogger logger, WarfareWarningLoggerInterpolatedStringHandler builder)

Parameters

logger ILogger

The ILogger to write to.

builder WarfareWarningLoggerInterpolatedStringHandler

Format string of the log message in message template format. Example:

$"User {userName} logged in from {ipAddress}"