Class NLogLogger
Provides an implementation of the Splat.IFullLogger interface that writes log events using the NLog logging framework.
public sealed class NLogLogger : IFullLogger, IAllocationFreeLogger, IAllocationFreeErrorLogger, ILogger, IDisposable
- Inheritance
-
NLogLogger
- Implements
-
IFullLoggerIAllocationFreeLoggerIAllocationFreeErrorLoggerILogger
- Extension Methods
Remarks
This class acts as an adapter, allowing code that depends on Splat.IFullLogger to log messages through NLog. It supports all standard log levels and message formats, and automatically tracks changes to the underlying NLog logger's configuration. Instances of NLogLogger are not thread-affine and can be used concurrently from multiple threads. Disposing the logger detaches internal event handlers but does not dispose the underlying NLog logger.
Constructors
NLogLogger(Logger)
Initializes a new instance of the NLogLogger class.
public NLogLogger(Logger inner)
Parameters
innerLoggerThe NLog logger instance to wrap.
Exceptions
- ArgumentNullException
Thrown when the NLog logger is null.
Properties
IsDebugEnabled
Gets a value indicating whether the logger currently emits debug logs.
public bool IsDebugEnabled { get; }
Property Value
IsErrorEnabled
Gets a value indicating whether the logger currently emits error logs.
public bool IsErrorEnabled { get; }
Property Value
IsFatalEnabled
Gets a value indicating whether the logger currently emits fatal logs.
public bool IsFatalEnabled { get; }
Property Value
IsInfoEnabled
Gets a value indicating whether the logger currently emits information logs.
public bool IsInfoEnabled { get; }
Property Value
IsWarnEnabled
Gets a value indicating whether the logger currently emits warning logs.
public bool IsWarnEnabled { get; }
Property Value
Level
Gets the level at which the target will emit messages.
public LogLevel Level { get; }
Property Value
- LogLevel
Methods
Debug(Exception, Func<string>)
Sends the value provided by the provided delegate, only if Debug is enabled.
public void Debug(Exception exception, Func<string> function)
Parameters
exceptionExceptionA exception to log about.
functionFunc<string>The function to evaluate if Debug logging is enabled.
Debug(Exception, string?)
Emits a debug log message with an exception.
public void Debug(Exception exception, string? message)
Parameters
Debug(Func<string>)
Sends the value provided by the provided delegate, only if Debug is enabled.
public void Debug(Func<string> function)
Parameters
Debug(IFormatProvider, string, params object[])
Emits a message using formatting to the debug log.
public void Debug(IFormatProvider formatProvider, string message, params object[] args)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argsobject[]The arguments for formatting purposes.
Debug(string?)
Emits a message to the debug log.
public void Debug(string? message)
Parameters
messagestringA non-localizable message to send to the log.
Debug(string, params object[])
Emits a message using formatting to the debug log.
public void Debug(string message, params object[] args)
Parameters
messagestringA non-localizable message to emit to the log which includes the standard formatting tags.
argsobject[]The arguments for formatting purposes.
DebugException(Func<string>, Exception)
Sends the value provided by the provided delegate, only if Debug is enabled.
public void DebugException(Func<string> function, Exception exception)
Parameters
functionFunc<string>The function to evaluate if Debug logging is enabled.
exceptionExceptionA exception to log about.
DebugException(string?, Exception)
Emits a debug log message. This will emit details about a exception. This type of logging is not able to be localized.
public void DebugException(string? message, Exception exception)
Parameters
Debug<TArgument>(Exception, string, TArgument)
Emits a message using formatting to the debug log.
public void Debug<TArgument>(Exception exception, string messageFormat, TArgument argument)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argumentTArgumentThe argument for formatting purposes.
Type Parameters
TArgumentThe type of the argument which is used in the formatting.
Debug<T>(Func<string>)
Sends the value provided by the provided delegate, only if Debug is enabled.
public void Debug<T>(Func<string> function)
Parameters
Type Parameters
TThe calling type.
Debug<TArgument>(IFormatProvider, string, TArgument)
Emits a message using formatting to the debug log.
public void Debug<TArgument>(IFormatProvider formatProvider, string message, TArgument argument)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argumentTArgumentThe argument for formatting purposes.
Type Parameters
TArgumentThe type of the argument which is used in the formatting.
Debug<T>(IFormatProvider, T)
Emits a debug log message. This will emit the public contents of the object provided to the log.
public void Debug<T>(IFormatProvider formatProvider, T value)
Parameters
formatProviderIFormatProviderThe format provider to use.
valueTThe value to emit.
Type Parameters
TThe type of object used as the message.
Debug<T>(string?)
Emits a message to the debug log.
public void Debug<T>(string? message)
Parameters
messagestringA non-localizable message to send to the log.
Type Parameters
TThe calling type.
Debug<T>(string, params object[])
Emits a message using formatting to the debug log.
public void Debug<T>(string message, params object[] args)
Parameters
messagestringA non-localizable message to emit to the log which includes the standard formatting tags.
argsobject[]The arguments for formatting purposes.
Type Parameters
TThe calling type.
Debug<TArgument>(string, TArgument)
Emits a message using formatting to the debug log.
public void Debug<TArgument>(string message, TArgument args)
Parameters
messagestringargsTArgument
Type Parameters
TArgumentThe type of the argument which is used in the formatting.
Debug<T>(T)
Emits a debug log message. This will emit the public contents of the object provided to the log.
public void Debug<T>(T value)
Parameters
valueTThe log to emit.
Type Parameters
TThe type of object used as the message.
Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
argument10TArgument10The tenth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
TArgument10The type of the tenth argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
argument10TArgument10The tenth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
TArgument10The type of the tenth argument which is used in the formatting.
Debug<TArgument1, TArgument2>(Exception, string, TArgument1, TArgument2)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
Debug<TArgument1, TArgument2>(IFormatProvider, string, TArgument1, TArgument2)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
Debug<TArgument1, TArgument2>(string, TArgument1, TArgument2)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2>(string messageFormat, TArgument1 argument1, TArgument2 argument2)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3>(Exception, string, TArgument1, TArgument2, TArgument3)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3>(IFormatProvider, string, TArgument1, TArgument2, TArgument3)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3>(string, TArgument1, TArgument2, TArgument3)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3, TArgument4>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3, TArgument4>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3, TArgument4>(string, TArgument1, TArgument2, TArgument3, TArgument4)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3, TArgument4>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9)
Emits a message using formatting to the debug log.
public void Debug<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
Dispose()
public void Dispose()
Error(Exception, Func<string>)
Sends the value provided by the provided delegate, only if Error is enabled.
public void Error(Exception exception, Func<string> function)
Parameters
exceptionExceptionA exception to log about.
functionFunc<string>The function to evaluate if Error logging is enabled.
Error(Exception, string?)
Emits a error log message with exception. This will emit details about a exception. This type of logging is not able to be localized.
public void Error(Exception exception, string? message)
Parameters
Error(Func<string>)
Sends the value provided by the provided delegate, only if Error is enabled.
public void Error(Func<string> function)
Parameters
Error(IFormatProvider, string, params object[])
Emits a message using formatting to the error log.
public void Error(IFormatProvider formatProvider, string message, params object[] args)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argsobject[]The arguments for formatting purposes.
Error(string?)
Emits a message to the error log.
public void Error(string? message)
Parameters
messagestringA non-localizable message to send to the log.
Error(string, params object[])
Emits a message using formatting to the error log.
public void Error(string message, params object[] args)
Parameters
messagestringA non-localizable message to emit to the log which includes the standard formatting tags.
argsobject[]The arguments for formatting purposes.
ErrorException(Func<string>, Exception)
Sends the value provided by the provided delegate, only if Error is enabled.
public void ErrorException(Func<string> function, Exception exception)
Parameters
functionFunc<string>The function to evaluate if Error logging is enabled.
exceptionExceptionA exception to log about.
ErrorException(string?, Exception)
Emits a error log message. This will emit details about a exception. This type of logging is not able to be localized.
public void ErrorException(string? message, Exception exception)
Parameters
Error<TArgument>(Exception, string, TArgument)
Emits a message using formatting to the error log.
public void Error<TArgument>(Exception exception, string messageFormat, TArgument argument)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argumentTArgumentThe argument for formatting purposes.
Type Parameters
TArgumentThe type of the argument which is used in the formatting.
Error<T>(Func<string>)
Sends the value provided by the provided delegate, only if Error is enabled.
public void Error<T>(Func<string> function)
Parameters
Type Parameters
TThe calling type.
Error<TArgument>(IFormatProvider, string, TArgument)
Emits a message using formatting to the error log.
public void Error<TArgument>(IFormatProvider formatProvider, string message, TArgument argument)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argumentTArgumentThe argument for formatting purposes.
Type Parameters
TArgumentThe type of the argument which is used in the formatting.
Error<T>(IFormatProvider, T)
Emits a error log message. This will emit the public contents of the object provided to the log.
public void Error<T>(IFormatProvider formatProvider, T value)
Parameters
formatProviderIFormatProviderThe format provider to use.
valueTThe value to emit.
Type Parameters
TThe type of object used as the message.
Error<T>(string?)
Emits a message to the error log.
public void Error<T>(string? message)
Parameters
messagestringA non-localizable message to send to the log.
Type Parameters
TThe calling type.
Error<T>(string, params object[])
Emits a message using formatting to the error log.
public void Error<T>(string message, params object[] args)
Parameters
messagestringA non-localizable message to emit to the log which includes the standard formatting tags.
argsobject[]The arguments for formatting purposes.
Type Parameters
TThe calling type.
Error<TArgument>(string, TArgument)
Emits a message using formatting to the error log.
public void Error<TArgument>(string message, TArgument args)
Parameters
messagestringargsTArgument
Type Parameters
TArgumentThe type of the argument which is used in the formatting.
Error<T>(T)
Emits a error log message. This will emit the public contents of the object provided to the log.
public void Error<T>(T value)
Parameters
valueTThe log to emit.
Type Parameters
TThe type of object used as the message.
Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
argument10TArgument10The tenth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
TArgument10The type of the tenth argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
argument10TArgument10The tenth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
TArgument10The type of the tenth argument which is used in the formatting.
Error<TArgument1, TArgument2>(Exception, string, TArgument1, TArgument2)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
Error<TArgument1, TArgument2>(IFormatProvider, string, TArgument1, TArgument2)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
Error<TArgument1, TArgument2>(string, TArgument1, TArgument2)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2>(string messageFormat, TArgument1 argument1, TArgument2 argument2)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3>(Exception, string, TArgument1, TArgument2, TArgument3)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3>(IFormatProvider, string, TArgument1, TArgument2, TArgument3)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3>(string, TArgument1, TArgument2, TArgument3)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3, TArgument4>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3, TArgument4>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3, TArgument4>(string, TArgument1, TArgument2, TArgument3, TArgument4)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3, TArgument4>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9)
Emits a message using formatting to the error log.
public void Error<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
Fatal(Exception, Func<string>)
Sends the value provided by the provided delegate, only if Fatal is enabled.
public void Fatal(Exception exception, Func<string> function)
Parameters
exceptionExceptionA exception to log about.
functionFunc<string>The function to evaluate if Fatal logging is enabled.
Fatal(Exception, string?)
Emits a fatal log message with exception. This will emit details about a exception. This type of logging is not able to be localized.
public void Fatal(Exception exception, string? message)
Parameters
Fatal(Func<string>)
Sends the value provided by the provided delegate, only if Fatal is enabled.
public void Fatal(Func<string> function)
Parameters
Fatal(IFormatProvider, string, params object[])
Emits a message using formatting to the fatal log.
public void Fatal(IFormatProvider formatProvider, string message, params object[] args)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argsobject[]The arguments for formatting purposes.
Fatal(string?)
Emits a message to the fatal log.
public void Fatal(string? message)
Parameters
messagestringA non-localizable message to send to the log.
Fatal(string, params object[])
Emits a message using formatting to the fatal log.
public void Fatal(string message, params object[] args)
Parameters
messagestringA non-localizable message to emit to the log which includes the standard formatting tags.
argsobject[]The arguments for formatting purposes.
FatalException(Func<string>, Exception)
Sends the value provided by the provided delegate, only if Fatal is enabled.
public void FatalException(Func<string> function, Exception exception)
Parameters
functionFunc<string>The function to evaluate if Fatal logging is enabled.
exceptionExceptionA exception to log about.
FatalException(string?, Exception)
Emits a fatal log message. This will emit details about a exception. This type of logging is not able to be localized.
public void FatalException(string? message, Exception exception)
Parameters
Fatal<TArgument>(Exception, string, TArgument)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument>(Exception exception, string messageFormat, TArgument argument)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argumentTArgumentThe argument for formatting purposes.
Type Parameters
TArgumentThe type of the argument which is used in the formatting.
Fatal<T>(Func<string>)
Sends the value provided by the provided delegate, only if Fatal is enabled.
public void Fatal<T>(Func<string> function)
Parameters
Type Parameters
TThe calling type.
Fatal<TArgument>(IFormatProvider, string, TArgument)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument>(IFormatProvider formatProvider, string message, TArgument argument)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argumentTArgumentThe argument for formatting purposes.
Type Parameters
TArgumentThe type of the argument which is used in the formatting.
Fatal<T>(IFormatProvider, T)
Emits a fatal log message. This will emit the public contents of the object provided to the log.
public void Fatal<T>(IFormatProvider formatProvider, T value)
Parameters
formatProviderIFormatProviderThe format provider to use.
valueTThe value to emit.
Type Parameters
TThe type of object used as the message.
Fatal<T>(string?)
Emits a message to the fatal log.
public void Fatal<T>(string? message)
Parameters
messagestringA non-localizable message to send to the log.
Type Parameters
TThe calling type.
Fatal<T>(string, params object[])
Emits a message using formatting to the fatal log.
public void Fatal<T>(string message, params object[] args)
Parameters
messagestringA non-localizable message to emit to the log which includes the standard formatting tags.
argsobject[]The arguments for formatting purposes.
Type Parameters
TThe calling type.
Fatal<TArgument>(string, TArgument)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument>(string message, TArgument args)
Parameters
messagestringargsTArgument
Type Parameters
TArgumentThe type of the argument which is used in the formatting.
Fatal<T>(T)
Emits a fatal log message. This will emit the public contents of the object provided to the log.
public void Fatal<T>(T value)
Parameters
valueTThe log to emit.
Type Parameters
TThe type of object used as the message.
Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
argument10TArgument10The tenth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
TArgument10The type of the tenth argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
argument10TArgument10The tenth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
TArgument10The type of the tenth argument which is used in the formatting.
Fatal<TArgument1, TArgument2>(Exception, string, TArgument1, TArgument2)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
Fatal<TArgument1, TArgument2>(IFormatProvider, string, TArgument1, TArgument2)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
Fatal<TArgument1, TArgument2>(string, TArgument1, TArgument2)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2>(string messageFormat, TArgument1 argument1, TArgument2 argument2)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3>(Exception, string, TArgument1, TArgument2, TArgument3)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3>(IFormatProvider, string, TArgument1, TArgument2, TArgument3)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3>(string, TArgument1, TArgument2, TArgument3)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3, TArgument4>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3, TArgument4>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3, TArgument4>(string, TArgument1, TArgument2, TArgument3, TArgument4)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3, TArgument4>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9)
Emits a message using formatting to the fatal log.
public void Fatal<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
Info(Exception, Func<string>)
Sends the value provided by the provided delegate, only if Info is enabled.
public void Info(Exception exception, Func<string> function)
Parameters
exceptionExceptionA exception to log about.
functionFunc<string>The function to evaluate if Info logging is enabled.
Info(Exception, string?)
Emits a info log message with exception. This will emit details about a exception. This type of logging is not able to be localized.
public void Info(Exception exception, string? message)
Parameters
Info(Func<string>)
Sends the value provided by the provided delegate, only if Info is enabled.
public void Info(Func<string> function)
Parameters
Info(IFormatProvider, string, params object[])
Emits a message using formatting to the info log.
public void Info(IFormatProvider formatProvider, string message, params object[] args)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argsobject[]The arguments for formatting purposes.
Info(string?)
Emits a message to the info log.
public void Info(string? message)
Parameters
messagestringA non-localizable message to send to the log.
Info(string, params object[])
Emits a message using formatting to the info log.
public void Info(string message, params object[] args)
Parameters
messagestringA non-localizable message to emit to the log which includes the standard formatting tags.
argsobject[]The arguments for formatting purposes.
InfoException(Func<string>, Exception)
Sends the value provided by the provided delegate, only if Info is enabled.
public void InfoException(Func<string> function, Exception exception)
Parameters
functionFunc<string>The function to evaluate if Info logging is enabled.
exceptionExceptionA exception to log about.
InfoException(string?, Exception)
Emits a info log message. This will emit details about a exception. This type of logging is not able to be localized.
public void InfoException(string? message, Exception exception)
Parameters
Info<TArgument>(Exception, string, TArgument)
Emits a message using formatting to the info log.
public void Info<TArgument>(Exception exception, string messageFormat, TArgument argument)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argumentTArgumentThe argument for formatting purposes.
Type Parameters
TArgumentThe type of the argument which is used in the formatting.
Info<T>(Func<string>)
Sends the value provided by the provided delegate, only if Info is enabled.
public void Info<T>(Func<string> function)
Parameters
Type Parameters
TThe calling type.
Info<TArgument>(IFormatProvider, string, TArgument)
Emits a message using formatting to the info log.
public void Info<TArgument>(IFormatProvider formatProvider, string message, TArgument argument)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argumentTArgumentThe argument for formatting purposes.
Type Parameters
TArgumentThe type of the argument which is used in the formatting.
Info<T>(IFormatProvider, T)
Emits a info log message. This will emit the public contents of the object provided to the log.
public void Info<T>(IFormatProvider formatProvider, T value)
Parameters
formatProviderIFormatProviderThe format provider to use.
valueTThe value to emit.
Type Parameters
TThe type of object used as the message.
Info<T>(string?)
Emits a message to the info log.
public void Info<T>(string? message)
Parameters
messagestringA non-localizable message to send to the log.
Type Parameters
TThe calling type.
Info<T>(string, params object[])
Emits a message using formatting to the info log.
public void Info<T>(string message, params object[] args)
Parameters
messagestringA non-localizable message to emit to the log which includes the standard formatting tags.
argsobject[]The arguments for formatting purposes.
Type Parameters
TThe calling type.
Info<TArgument>(string, TArgument)
Emits a message using formatting to the info log.
public void Info<TArgument>(string message, TArgument args)
Parameters
messagestringargsTArgument
Type Parameters
TArgumentThe type of the argument which is used in the formatting.
Info<T>(T)
Emits a info log message. This will emit the public contents of the object provided to the log.
public void Info<T>(T value)
Parameters
valueTThe log to emit.
Type Parameters
TThe type of object used as the message.
Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
argument10TArgument10The tenth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
TArgument10The type of the tenth argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
argument10TArgument10The tenth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
TArgument10The type of the tenth argument which is used in the formatting.
Info<TArgument1, TArgument2>(Exception, string, TArgument1, TArgument2)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
Info<TArgument1, TArgument2>(IFormatProvider, string, TArgument1, TArgument2)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
Info<TArgument1, TArgument2>(string, TArgument1, TArgument2)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2>(string messageFormat, TArgument1 argument1, TArgument2 argument2)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3>(Exception, string, TArgument1, TArgument2, TArgument3)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2, TArgument3>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3>(IFormatProvider, string, TArgument1, TArgument2, TArgument3)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2, TArgument3>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3>(string, TArgument1, TArgument2, TArgument3)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2, TArgument3>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3, TArgument4>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2, TArgument3, TArgument4>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3, TArgument4>(string, TArgument1, TArgument2, TArgument3, TArgument4)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2, TArgument3, TArgument4>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5)
Logs a info message with the provided message format and values.
public void Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5)
Logs a info message with the provided message format and values.
public void Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6)
Logs a info message with the provided message format and values.
public void Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6)
Logs a info message with the provided message format and values.
public void Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9)
Emits a message using formatting to the info log.
public void Info<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
Warn(Exception, Func<string>)
Sends the value provided by the provided delegate, only if Warn is enabled.
public void Warn(Exception exception, Func<string> function)
Parameters
exceptionExceptionA exception to log about.
functionFunc<string>The function to evaluate if Warn logging is enabled.
Warn(Exception, string?)
Emits a warning log message with exception. This will emit details about a exception. This type of logging is not able to be localized.
public void Warn(Exception exception, string? message)
Parameters
Warn(Func<string>)
Sends the value provided by the provided delegate, only if Warn is enabled.
public void Warn(Func<string> function)
Parameters
Warn(IFormatProvider, string, params object[])
Emits a message using formatting to the warning log.
public void Warn(IFormatProvider formatProvider, string message, params object[] args)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argsobject[]The arguments for formatting purposes.
Warn(string?)
Emits a message to the warning log.
public void Warn(string? message)
Parameters
messagestringA non-localizable message to send to the log.
Warn(string, params object[])
Emits a message using formatting to the warning log.
public void Warn(string message, params object[] args)
Parameters
messagestringA non-localizable message to emit to the log which includes the standard formatting tags.
argsobject[]The arguments for formatting purposes.
WarnException(Func<string>, Exception)
Sends the value provided by the provided delegate, only if Warn is enabled.
public void WarnException(Func<string> function, Exception exception)
Parameters
functionFunc<string>The function to evaluate if Warn logging is enabled.
exceptionExceptionA exception to log about.
WarnException(string?, Exception)
Emits a warning log message. This will emit details about a exception. This type of logging is not able to be localized.
public void WarnException(string? message, Exception exception)
Parameters
Warn<TArgument>(Exception, string, TArgument)
Emits a message using formatting to the warning log.
public void Warn<TArgument>(Exception exception, string messageFormat, TArgument argument)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argumentTArgumentThe argument for formatting purposes.
Type Parameters
TArgumentThe type of the argument which is used in the formatting.
Warn<T>(Func<string>)
Sends the value provided by the provided delegate, only if Warn is enabled.
public void Warn<T>(Func<string> function)
Parameters
Type Parameters
TThe calling type.
Warn<TArgument>(IFormatProvider, string, TArgument)
Emits a message using formatting to the warning log.
public void Warn<TArgument>(IFormatProvider formatProvider, string message, TArgument argument)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argumentTArgumentThe argument for formatting purposes.
Type Parameters
TArgumentThe type of the argument which is used in the formatting.
Warn<T>(IFormatProvider, T)
Emits a warning log message. This will emit the public contents of the object provided to the log.
public void Warn<T>(IFormatProvider formatProvider, T value)
Parameters
formatProviderIFormatProviderThe format provider to use.
valueTThe value to emit.
Type Parameters
TThe type of object used as the message.
Warn<T>(string?)
Emits a message to the warning log.
public void Warn<T>(string? message)
Parameters
messagestringA non-localizable message to send to the log.
Type Parameters
TThe calling type.
Warn<T>(string, params object[])
Emits a message using formatting to the warning log.
public void Warn<T>(string message, params object[] args)
Parameters
messagestringA non-localizable message to emit to the log which includes the standard formatting tags.
argsobject[]The arguments for formatting purposes.
Type Parameters
TThe calling type.
Warn<TArgument>(string, TArgument)
Emits a message using formatting to the warning log.
public void Warn<TArgument>(string message, TArgument args)
Parameters
messagestringargsTArgument
Type Parameters
TArgumentThe type of the argument which is used in the formatting.
Warn<T>(T)
Emits a warning log message. This will emit the public contents of the object provided to the log.
public void Warn<T>(T value)
Parameters
valueTThe log to emit.
Type Parameters
TThe type of object used as the message.
Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10)
Emits a message using formatting to the warn log.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
argument10TArgument10The tenth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
TArgument10The type of the tenth argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10)
Emits a message using formatting to the warn log.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9, TArgument10>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
argument10TArgument10The tenth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
TArgument10The type of the tenth argument which is used in the formatting.
Warn<TArgument1, TArgument2>(Exception, string, TArgument1, TArgument2)
Emits a message using formatting to the warning log.
public void Warn<TArgument1, TArgument2>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
Warn<TArgument1, TArgument2>(IFormatProvider, string, TArgument1, TArgument2)
Emits a message using formatting to the warning log.
public void Warn<TArgument1, TArgument2>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
Warn<TArgument1, TArgument2>(string, TArgument1, TArgument2)
Emits a message using formatting to the warning log.
public void Warn<TArgument1, TArgument2>(string messageFormat, TArgument1 argument1, TArgument2 argument2)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3>(Exception, string, TArgument1, TArgument2, TArgument3)
Emits a message using formatting to the warning log.
public void Warn<TArgument1, TArgument2, TArgument3>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3>(IFormatProvider, string, TArgument1, TArgument2, TArgument3)
Emits a message using formatting to the warning log.
public void Warn<TArgument1, TArgument2, TArgument3>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
Parameters
formatProviderIFormatProviderThe format provider to use.
messagestringA message to emit to the log which includes the standard formatting tags.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3>(string, TArgument1, TArgument2, TArgument3)
Emits a message using formatting to the warning log.
public void Warn<TArgument1, TArgument2, TArgument3>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3, TArgument4>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4)
Emits a message using formatting to the warning log.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3, TArgument4>(string, TArgument1, TArgument2, TArgument3, TArgument4)
Emits a message using formatting to the warning log.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5)
Emits a message using formatting to the warning log.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5)
Emits a message using formatting to the warning log.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6)
Emits a message using formatting to the warning log.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6)
Emits a message using formatting to the warning log.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7)
Emits a message using formatting to the warn log.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7)
Emits a message using formatting to the warn log.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8)
Emits a message using formatting to the warn log.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8)
Emits a message using formatting to the warn log.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(Exception, string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9)
Emits a message using formatting to the warn log.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9)
Parameters
exceptionExceptionThe exception.
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(string, TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9)
Emits a message using formatting to the warn log.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6, TArgument7, TArgument8, TArgument9>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9)
Parameters
messageFormatstringThe message format used to emit a message with the type arguments.
argument1TArgument1The first argument for formatting purposes.
argument2TArgument2The second argument for formatting purposes.
argument3TArgument3The third argument for formatting purposes.
argument4TArgument4The fourth argument for formatting purposes.
argument5TArgument5The fifth argument for formatting purposes.
argument6TArgument6The sixth argument for formatting purposes.
argument7TArgument7The seventh argument for formatting purposes.
argument8TArgument8The eighth argument for formatting purposes.
argument9TArgument9The ninth argument for formatting purposes.
Type Parameters
TArgument1The type of the first argument which is used in the formatting.
TArgument2The type of the second argument which is used in the formatting.
TArgument3The type of the third argument which is used in the formatting.
TArgument4The type of the fourth argument which is used in the formatting.
TArgument5The type of the fifth argument which is used in the formatting.
TArgument6The type of the sixth argument which is used in the formatting.
TArgument7The type of the seventh argument which is used in the formatting.
TArgument8The type of the eighth argument which is used in the formatting.
TArgument9The type of the ninth argument which is used in the formatting.
Write(Exception, string, LogLevel)
Writes a message to the target.
public void Write(Exception exception, string message, LogLevel logLevel)
Parameters
exceptionExceptionThe exception that occurred.
messagestringThe message to write.
logLevelLogLevelThe severity level of the log message.
Write(Exception, string, Type, LogLevel)
Writes a message to the target.
public void Write(Exception exception, string message, Type type, LogLevel logLevel)
Parameters
exceptionExceptionThe exception that occurred.
messagestringThe message to write.
typeTypeThe type associated with the log message.
logLevelLogLevelThe severity level of the log message.
Write(string, LogLevel)
Writes a message to the target.
public void Write(string message, LogLevel logLevel)
Parameters
messagestringThe message to write.
logLevelLogLevelThe severity level of the log message.
Write(string, Type, LogLevel)
Writes a message to the target.
public void Write(string message, Type type, LogLevel logLevel)