Method SendDiagnosticMessage
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
SendDiagnosticMessage(string)
Sends a diagnostic message. Will only be visible if the end user has enabled diagnostic messages. See https://xunit.net/docs/configuration-files for configuration information.
public void SendDiagnosticMessage(string message)
Parameters
messagestringThe message to send
SendDiagnosticMessage(string, object?)
Sends a formatted diagnostic message. Will only be visible if the end user has enabled diagnostic messages. See https://xunit.net/docs/configuration-files for configuration information.
public void SendDiagnosticMessage(string format, object? arg0)
Parameters
SendDiagnosticMessage(string, object?, object?)
Sends a formatted diagnostic message. Will only be visible if the end user has enabled diagnostic messages. See https://xunit.net/docs/configuration-files for configuration information.
public void SendDiagnosticMessage(string format, object? arg0, object? arg1)
Parameters
formatstringA composite format string.
arg0objectThe value to replace {0} in the format string.
arg1objectThe value to replace {1} in the format string.
SendDiagnosticMessage(string, object?, object?, object?)
Sends a formatted diagnostic message. Will only be visible if the end user has enabled diagnostic messages. See https://xunit.net/docs/configuration-files for configuration information.
public void SendDiagnosticMessage(string format, object? arg0, object? arg1, object? arg2)
Parameters
formatstringA composite format string.
arg0objectThe value to replace {0} in the format string.
arg1objectThe value to replace {1} in the format string.
arg2objectThe value to replace {2} in the format string.
SendDiagnosticMessage(string, params object?[])
Sends a formatted diagnostic message. Will only be visible if the end user has enabled diagnostic messages. See https://xunit.net/docs/configuration-files for configuration information.
public void SendDiagnosticMessage(string format, params object?[] args)