OrleansLoggerExtension.Assert(ILogger, ErrorCode, Boolean, 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.
public static void Assert (this Microsoft.Extensions.Logging.ILogger logger, Orleans.ErrorCode errorCode, bool condition, string message = default);
static member Assert : Microsoft.Extensions.Logging.ILogger * Orleans.ErrorCode * bool * string -> unit
<Extension()>
Public Sub Assert (logger As ILogger, errorCode As ErrorCode, condition As Boolean, Optional message As String = Nothing)
Parameters
- logger
- ILogger
- errorCode
- ErrorCode
- condition
- Boolean
- message
- String