NLogLogger.Warn(string, TArgument) method¶
Defined in
Type: NLogLogger
Namespace: Splat.NLog
Assembly: Splat.NLog.dll
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481
Overloads¶
- 1.
public void Warn<TArgument>(string message, TArgument args) - 2.
public void Warn<TArgument1, TArgument2>(string messageFormat, TArgument1 argument1, TArgument2 argument2) - 3.
public void Warn<TArgument1, TArgument2, TArgument3>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) - 4.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4) - 5.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5) - 6.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6) - 7.
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) - 8.
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) - 9.
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) - 10.
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) - 11.
public void Warn<T>(T value) - 12.
public void Warn<T>(IFormatProvider formatProvider, T value) - 13.
public void Warn(Exception exception, string? message) - 14.
public void Warn(Func<string> function) - 15.
public void Warn<T>(Func<string> function) - 16.
public void Warn(Exception exception, Func<string> function) - 17.
public void Warn(IFormatProvider formatProvider, string message, params object[] args) - 18.
public void Warn(string? message) - 19.
public void Warn<T>(string? message) - 20.
public void Warn(string message, params object[] args) - 21.
public void Warn<T>(string message, params object[] args) - 22.
public void Warn<TArgument>(IFormatProvider formatProvider, string message, TArgument argument) - 23.
public void Warn<TArgument1, TArgument2>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2) - 24.
public void Warn<TArgument1, TArgument2, TArgument3>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) - 25.
public void Warn<TArgument>(Exception exception, string messageFormat, TArgument argument) - 26.
public void Warn<TArgument1, TArgument2>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2) - 27.
public void Warn<TArgument1, TArgument2, TArgument3>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3) - 28.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4) - 29.
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5) - 30.
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) - 31.
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) - 32.
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) - 33.
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) - 34.
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)
1. Overload¶
public void Warn<TArgument>(string message, TArgument args)
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 | -- |
args | TArgument | -- |
2. Overload¶
public void Warn<TArgument1, TArgument2>(string messageFormat, TArgument1 argument1, TArgument2 argument2)
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 | 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. |
3. Overload¶
public void Warn<TArgument1, TArgument2, TArgument3>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
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 | 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. |
4. Overload¶
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4)
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 | 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. |
5. Overload¶
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5)
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 | 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. |
6. Overload¶
public void Warn<TArgument1, TArgument2, TArgument3, TArgument4, TArgument5, TArgument6>(string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6)
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 | 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. |
7. 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)
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 | 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. |
8. 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)
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 | 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. |
9. 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)
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 | 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. |
10. 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)
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 | 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. |
11. Overload¶
public void Warn<T>(T value)
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. |
12. Overload¶
public void Warn<T>(IFormatProvider formatProvider, T value)
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 | The format provider to use. |
value | T | The value to emit. |
13. Overload¶
public void Warn(Exception exception, string? message)
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 | The exception which to emit in the log. |
message | string? | A message to emit. |
14. Overload¶
public void Warn(Func<string> function)
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. |
15. Overload¶
public void Warn<T>(Func<string> function)
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. |
16. Overload¶
public void Warn(Exception exception, Func<string> function)
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 | A exception to log about. |
function | Func | The function to evaluate if Warn logging is enabled. |
17. Overload¶
public void Warn(IFormatProvider formatProvider, string message, params object[] args)
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 | The format provider to use. |
message | string | A message to emit to the log which includes the standard formatting tags. |
params args | object[] | The arguments for formatting purposes. |
18. Overload¶
public void Warn(string? message)
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? | A non-localizable message to send to the log. |
19. Overload¶
public void Warn<T>(string? message)
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? | A non-localizable message to send to the log. |
20. Overload¶
public void Warn(string message, params object[] args)
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 | A non-localizable message to emit to the log which includes the standard formatting tags. |
params args | object[] | The arguments for formatting purposes. |
21. Overload¶
public void Warn<T>(string message, params object[] args)
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 | A non-localizable message to emit to the log which includes the standard formatting tags. |
params args | object[] | The arguments for formatting purposes. |
22. Overload¶
public void Warn<TArgument>(IFormatProvider formatProvider, string message, TArgument argument)
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 | The format provider to use. |
message | string | A message to emit to the log which includes the standard formatting tags. |
argument | TArgument | The argument for formatting purposes. |
23. Overload¶
public void Warn<TArgument1, TArgument2>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2)
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 | The format provider to use. |
message | string | A message to emit to the log which includes the standard formatting tags. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
24. Overload¶
public void Warn<TArgument1, TArgument2, TArgument3>(IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
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 | The format provider to use. |
message | string | A message to emit to the log which includes the standard formatting tags. |
argument1 | TArgument1 | The first argument for formatting purposes. |
argument2 | TArgument2 | The second argument for formatting purposes. |
argument3 | TArgument3 | The third argument for formatting purposes. |
25. Overload¶
public void Warn<TArgument>(Exception exception, string messageFormat, TArgument argument)
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 | The exception. |
messageFormat | string | The message format used to emit a message with the type arguments. |
argument | TArgument | The argument for formatting purposes. |
26. Overload¶
public void Warn<TArgument1, TArgument2>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2)
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 | The exception. |
messageFormat | string | 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>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)
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 | The exception. |
messageFormat | string | 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>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4)
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 | The exception. |
messageFormat | string | 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>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5)
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 | The exception. |
messageFormat | string | 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>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6)
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 | The exception. |
messageFormat | string | 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>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7)
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 | The exception. |
messageFormat | string | 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>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8)
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 | The exception. |
messageFormat | string | 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>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9)
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 | The exception. |
messageFormat | string | 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>(Exception exception, string messageFormat, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3, TArgument4 argument4, TArgument5 argument5, TArgument6 argument6, TArgument7 argument7, TArgument8 argument8, TArgument9 argument9, TArgument10 argument10)
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 | The exception. |
messageFormat | string | 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. |