NLogLogger.Warn(T) method¶
Defined in
Type: NLogLogger
Namespace: Splat.NLog
Assembly: Splat.NLog.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Overloads¶
-
public void Warn<T>(T value) -
public void Warn<T>(IFormatProvider formatProvider, T value) -
public void Warn(Exception exception, string? message) -
public void Warn(Func<string> function) -
public void Warn<T>(Func<string> function) -
public void Warn(Exception exception, Func<string> function) -
public void Warn(IFormatProvider formatProvider, string message, params object[] args) -
public void Warn(string? message) -
public void Warn<T>(string? message) -
public void Warn(string message, params object[] args) -
public void Warn<T>(string message, params object[] args) -
public void Warn<TArgument>(IFormatProvider formatProvider, string message, TArgument argument) -
public void Warn<TArgument1, TArgument2>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2) -
public void Warn<TArgument1, TArgument2, TArgument3>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) -
public void Warn<TArgument>(Exception exception, string messageFormat, TArgument argument) -
public void Warn<TArgument1, TArgument2>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2) -
public void Warn<TArgument1, TArgument2, TArgument3>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) -
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4) -
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5) -
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) -
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) -
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) -
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) -
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) -
public void Warn<TArgument>(string message, TArgument args) -
public void Warn<TArgument1, TArgument2>(string messageFormat, TArgument1 argument1, TArgument2 argument2) -
public void Warn<TArgument1, TArgument2, TArgument3>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) -
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4) -
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5) -
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6) -
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) -
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) -
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) -
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)
1. Overload¶
public void Warn<T>(T value)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IFullLogger. The member doesn't override them on this type.
Summary: Emits a warning log message. This will emit the public contents of the object provided to the log.
Type parameters
| Name | Description |
|---|---|
T | The type of object used as the message. |
Parameters
| Name | Type | Description |
|---|---|---|
value | T | The log to emit. |
2. Overload¶
public void Warn<T>(IFormatProvider formatProvider, T value)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IFullLogger. The member doesn't override them on this type.
Summary: Emits a warning log message. This will emit the public contents of the object provided to the log.
Type parameters
| Name | Description |
|---|---|
T | The type of object used as the message. |
Parameters
| Name | Type | Description |
|---|---|---|
formatProvider | IFormatProvider (opens in a new tab) | The format provider to use. |
value | T | The value to emit. |
3. Overload¶
public void Warn(Exception exception, string? message)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IFullLogger. The member doesn't override them on this type.
Summary: Emits a warning log message with exception. This will emit details about a exception. This type of logging is not able to be localized.
Parameters
| Name | Type | Description |
|---|---|---|
exception | Exception (opens in a new tab) | The exception which to emit in the log. |
message | string? (opens in a new tab) | A message to emit. |
4. Overload¶
public void Warn(Func<string> function)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IFullLogger. The member doesn't override them on this type.
Summary: Sends the value provided by the provided delegate, only if Warn is enabled.
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | The function to evaluate if Warn logging is enabled. |
5. Overload¶
public void Warn<T>(Func<string> function)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IFullLogger. The member doesn't override them on this type.
Summary: Sends the value provided by the provided delegate, only if Warn is enabled.
Type parameters
| Name | Description |
|---|---|
T | The calling type. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | The function to evaluate if Warn logging is enabled. |
6. Overload¶
public void Warn(Exception exception, Func<string> function)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IFullLogger. The member doesn't override them on this type.
Summary: Sends the value provided by the provided delegate, only if Warn is enabled.
Parameters
| Name | Type | Description |
|---|---|---|
exception | Exception (opens in a new tab) | A exception to log about. |
function | Func | The function to evaluate if Warn logging is enabled. |
7. Overload¶
public void Warn(IFormatProvider formatProvider, string message, params object[] args)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IFullLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Parameters
| Name | Type | Description |
|---|---|---|
formatProvider | IFormatProvider (opens in a new tab) | The format provider to use. |
message | string (opens in a new tab) | A message to emit to the log which includes the standard formatting tags. |
params args | object[] | The arguments for formatting purposes. |
8. Overload¶
public void Warn(string? message)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IFullLogger. The member doesn't override them on this type.
Summary: Emits a message to the warning log.
Parameters
| Name | Type | Description |
|---|---|---|
message | string? (opens in a new tab) | A non-localizable message to send to the log. |
9. Overload¶
public void Warn<T>(string? message)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IFullLogger. The member doesn't override them on this type.
Summary: Emits a message to the warning log.
Type parameters
| Name | Description |
|---|---|
T | The calling type. |
Parameters
| Name | Type | Description |
|---|---|---|
message | string? (opens in a new tab) | A non-localizable message to send to the log. |
10. Overload¶
public void Warn(string message, params object[] args)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IFullLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Parameters
| Name | Type | Description |
|---|---|---|
message | string (opens in a new tab) | A non-localizable message to emit to the log which includes the standard formatting tags. |
params args | object[] | The arguments for formatting purposes. |
11. Overload¶
public void Warn<T>(string message, params object[] args)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IFullLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
T | The calling type. |
Parameters
| Name | Type | Description |
|---|---|---|
message | string (opens in a new tab) | A non-localizable message to emit to the log which includes the standard formatting tags. |
params args | object[] | The arguments for formatting purposes. |
12. Overload¶
public void Warn<TArgument>(IFormatProvider formatProvider, string message, TArgument argument)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IFullLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
TArgument | The type of the argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
formatProvider | IFormatProvider (opens in a new tab) | The format provider to use. |
message | string (opens in a new tab) | A message to emit to the log which includes the standard formatting tags. |
argument | TArgument | The argument for formatting purposes. |
13. Overload¶
public void Warn<TArgument1, TArgument2>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IFullLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
formatProvider | IFormatProvider (opens in a new tab) | The format provider to use. |
message | string (opens in a new tab) | A message to emit to the log which includes the standard formatting tags. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
14. Overload¶
public void Warn<TArgument1, TArgument2, TArgument3>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IFullLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
formatProvider | IFormatProvider (opens in a new tab) | The format provider to use. |
message | string (opens in a new tab) | A message to emit to the log which includes the standard formatting tags. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
15. Overload¶
public void Warn<TArgument>(Exception exception, string messageFormat, TArgument argument)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeErrorLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
TArgument | The type of the argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
exception | Exception (opens in a new tab) | The exception. |
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument | TArgument | The argument for formatting purposes. |
16. Overload¶
public void Warn<TArgument1, TArgument2>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeErrorLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
exception | Exception (opens in a new tab) | The exception. |
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
17. Overload¶
public void Warn<TArgument1, TArgument2, TArgument3>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeErrorLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
exception | Exception (opens in a new tab) | The exception. |
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
18. Overload¶
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeErrorLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
TArgument4 | The type of the fourth argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
exception | Exception (opens in a new tab) | The exception. |
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
argument4 | TArgument4 | The fourth argument for formatting purposes. |
19. Overload¶
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeErrorLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
TArgument4 | The type of the fourth argument which is used in the formatting. |
TArgument5 | The type of the fifth argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
exception | Exception (opens in a new tab) | The exception. |
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
argument4 | TArgument4 | The fourth argument for formatting purposes. |
argument5 | TArgument5 | The fifth argument for formatting purposes. |
20. Overload¶
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)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeErrorLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
TArgument4 | The type of the fourth argument which is used in the formatting. |
TArgument5 | The type of the fifth argument which is used in the formatting. |
TArgument6 | The type of the sixth argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
exception | Exception (opens in a new tab) | The exception. |
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
argument4 | TArgument4 | The fourth argument for formatting purposes. |
argument5 | TArgument5 | The fifth argument for formatting purposes. |
argument6 | TArgument6 | The sixth argument for formatting purposes. |
21. Overload¶
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)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeErrorLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warn log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
TArgument4 | The type of the fourth argument which is used in the formatting. |
TArgument5 | The type of the fifth argument which is used in the formatting. |
TArgument6 | The type of the sixth argument which is used in the formatting. |
TArgument7 | The type of the seventh argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
exception | Exception (opens in a new tab) | The exception. |
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
argument4 | TArgument4 | The fourth argument for formatting purposes. |
argument5 | TArgument5 | The fifth argument for formatting purposes. |
argument6 | TArgument6 | The sixth argument for formatting purposes. |
argument7 | TArgument7 | The seventh argument for formatting purposes. |
22. Overload¶
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)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeErrorLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warn log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
TArgument4 | The type of the fourth argument which is used in the formatting. |
TArgument5 | The type of the fifth argument which is used in the formatting. |
TArgument6 | The type of the sixth argument which is used in the formatting. |
TArgument7 | The type of the seventh argument which is used in the formatting. |
TArgument8 | The type of the eighth argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
exception | Exception (opens in a new tab) | The exception. |
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
argument4 | TArgument4 | The fourth argument for formatting purposes. |
argument5 | TArgument5 | The fifth argument for formatting purposes. |
argument6 | TArgument6 | The sixth argument for formatting purposes. |
argument7 | TArgument7 | The seventh argument for formatting purposes. |
argument8 | TArgument8 | The eighth argument for formatting purposes. |
23. Overload¶
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)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeErrorLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warn log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
TArgument4 | The type of the fourth argument which is used in the formatting. |
TArgument5 | The type of the fifth argument which is used in the formatting. |
TArgument6 | The type of the sixth argument which is used in the formatting. |
TArgument7 | The type of the seventh argument which is used in the formatting. |
TArgument8 | The type of the eighth argument which is used in the formatting. |
TArgument9 | The type of the ninth argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
exception | Exception (opens in a new tab) | The exception. |
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
argument4 | TArgument4 | The fourth argument for formatting purposes. |
argument5 | TArgument5 | The fifth argument for formatting purposes. |
argument6 | TArgument6 | The sixth argument for formatting purposes. |
argument7 | TArgument7 | The seventh argument for formatting purposes. |
argument8 | TArgument8 | The eighth argument for formatting purposes. |
argument9 | TArgument9 | The ninth argument for formatting purposes. |
24. Overload¶
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)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeErrorLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warn log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
TArgument4 | The type of the fourth argument which is used in the formatting. |
TArgument5 | The type of the fifth argument which is used in the formatting. |
TArgument6 | The type of the sixth argument which is used in the formatting. |
TArgument7 | The type of the seventh argument which is used in the formatting. |
TArgument8 | The type of the eighth argument which is used in the formatting. |
TArgument9 | The type of the ninth argument which is used in the formatting. |
TArgument10 | The type of the tenth argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
exception | Exception (opens in a new tab) | The exception. |
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
argument4 | TArgument4 | The fourth argument for formatting purposes. |
argument5 | TArgument5 | The fifth argument for formatting purposes. |
argument6 | TArgument6 | The sixth argument for formatting purposes. |
argument7 | TArgument7 | The seventh argument for formatting purposes. |
argument8 | TArgument8 | The eighth argument for formatting purposes. |
argument9 | TArgument9 | The ninth argument for formatting purposes. |
argument10 | TArgument10 | The tenth argument for formatting purposes. |
25. Overload¶
public void Warn<TArgument>(string message, TArgument args)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
TArgument | The type of the argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
message | string (opens in a new tab) | -- |
args | TArgument | -- |
26. Overload¶
public void Warn<TArgument1, TArgument2>(string messageFormat, TArgument1 argument1, TArgument2 argument2)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
27. Overload¶
public void Warn<TArgument1, TArgument2, TArgument3>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
28. Overload¶
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
TArgument4 | The type of the fourth argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
argument4 | TArgument4 | The fourth argument for formatting purposes. |
29. Overload¶
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
TArgument4 | The type of the fourth argument which is used in the formatting. |
TArgument5 | The type of the fifth argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
argument4 | TArgument4 | The fourth argument for formatting purposes. |
argument5 | TArgument5 | The fifth argument for formatting purposes. |
30. Overload¶
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warning log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
TArgument4 | The type of the fourth argument which is used in the formatting. |
TArgument5 | The type of the fifth argument which is used in the formatting. |
TArgument6 | The type of the sixth argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
argument4 | TArgument4 | The fourth argument for formatting purposes. |
argument5 | TArgument5 | The fifth argument for formatting purposes. |
argument6 | TArgument6 | The sixth argument for formatting purposes. |
31. Overload¶
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)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warn log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
TArgument4 | The type of the fourth argument which is used in the formatting. |
TArgument5 | The type of the fifth argument which is used in the formatting. |
TArgument6 | The type of the sixth argument which is used in the formatting. |
TArgument7 | The type of the seventh argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
argument4 | TArgument4 | The fourth argument for formatting purposes. |
argument5 | TArgument5 | The fifth argument for formatting purposes. |
argument6 | TArgument6 | The sixth argument for formatting purposes. |
argument7 | TArgument7 | The seventh argument for formatting purposes. |
32. Overload¶
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)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warn log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
TArgument4 | The type of the fourth argument which is used in the formatting. |
TArgument5 | The type of the fifth argument which is used in the formatting. |
TArgument6 | The type of the sixth argument which is used in the formatting. |
TArgument7 | The type of the seventh argument which is used in the formatting. |
TArgument8 | The type of the eighth argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
argument4 | TArgument4 | The fourth argument for formatting purposes. |
argument5 | TArgument5 | The fifth argument for formatting purposes. |
argument6 | TArgument6 | The sixth argument for formatting purposes. |
argument7 | TArgument7 | The seventh argument for formatting purposes. |
argument8 | TArgument8 | The eighth argument for formatting purposes. |
33. Overload¶
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)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warn log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
TArgument4 | The type of the fourth argument which is used in the formatting. |
TArgument5 | The type of the fifth argument which is used in the formatting. |
TArgument6 | The type of the sixth argument which is used in the formatting. |
TArgument7 | The type of the seventh argument which is used in the formatting. |
TArgument8 | The type of the eighth argument which is used in the formatting. |
TArgument9 | The type of the ninth argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
argument4 | TArgument4 | The fourth argument for formatting purposes. |
argument5 | TArgument5 | The fifth argument for formatting purposes. |
argument6 | TArgument6 | The sixth argument for formatting purposes. |
argument7 | TArgument7 | The seventh argument for formatting purposes. |
argument8 | TArgument8 | The eighth argument for formatting purposes. |
argument9 | TArgument9 | The ninth argument for formatting purposes. |
34. Overload¶
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)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IAllocationFreeLogger. The member doesn't override them on this type.
Summary: Emits a message using formatting to the warn log.
Type parameters
| Name | Description |
|---|---|
TArgument1 | The type of the first argument which is used in the formatting. |
TArgument2 | The type of the second argument which is used in the formatting. |
TArgument3 | The type of the third argument which is used in the formatting. |
TArgument4 | The type of the fourth argument which is used in the formatting. |
TArgument5 | The type of the fifth argument which is used in the formatting. |
TArgument6 | The type of the sixth argument which is used in the formatting. |
TArgument7 | The type of the seventh argument which is used in the formatting. |
TArgument8 | The type of the eighth argument which is used in the formatting. |
TArgument9 | The type of the ninth argument which is used in the formatting. |
TArgument10 | The type of the tenth argument which is used in the formatting. |
Parameters
| Name | Type | Description |
|---|---|---|
messageFormat | string (opens in a new tab) | The message format used to emit a message with the type arguments. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
argument4 | TArgument4 | The fourth argument for formatting purposes. |
argument5 | TArgument5 | The fifth argument for formatting purposes. |
argument6 | TArgument6 | The sixth argument for formatting purposes. |
argument7 | TArgument7 | The seventh argument for formatting purposes. |
argument8 | TArgument8 | The eighth argument for formatting purposes. |
argument9 | TArgument9 | The ninth argument for formatting purposes. |
argument10 | TArgument10 | The tenth argument for formatting purposes. |