IdentityResultAssert.VerifyLogMessage(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.
Asserts that the logger contains the expectedLog.
public:
static void VerifyLogMessage(Microsoft::Extensions::Logging::ILogger ^ logger, System::String ^ expectedLog);
public static void VerifyLogMessage (Microsoft.Extensions.Logging.ILogger logger, string expectedLog);
static member VerifyLogMessage : Microsoft.Extensions.Logging.ILogger * string -> unit
Public Shared Sub VerifyLogMessage (logger As ILogger, expectedLog As String)
Parameters
- logger
- ILogger
The logger to inspect.
- expectedLog
- String
The expected log message.