LoggingExtensions.LogCriticalAsync(ILogger, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Logs a message with the critical log level.
public static System.Threading.Tasks.Task LogCriticalAsync(this Microsoft.Testing.Platform.Logging.ILogger logger, string message);
static member LogCriticalAsync : Microsoft.Testing.Platform.Logging.ILogger * string -> System.Threading.Tasks.Task
<Extension()>
Public Function LogCriticalAsync (logger As ILogger, message As String) As Task
Parameters
- logger
- ILogger
The logger.
- message
- String
The message to log.