Request

Response

    ILogger.Warning method

    Logs the specified warning message.

    public void Warning(string message, [CallerMemberName] string caller = null)
    
    parameterdescription
    message The message.
    caller The caller.

    Remarks

    This method logs the specified message as a warning to the application’s log file. The message will be logged with a severity of “Warning”. The caller’s name is also logged, which can be helpful for tracking down the source of a problem.

    See Also