Request

Response

    ILogger.Debug method (1 of 2)

    Writes the specified object to the debug output.

    public void Debug(object logobject, [CallerMemberName] string caller = null)
    
    parameterdescription
    logobject The log object.
    caller The caller.

    Remarks

    This method writes the specified object to the debug output. The message will only be written if the application is running in debug mode. The caller’s name is also logged, which can be helpful for tracking down the source of a problem.

    See Also


    ILogger.Debug method (2 of 2)

    Writes the specified message to the debug output.

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

    Remarks

    This method writes the specified message to the debug output. The message will only be written if the application is running in debug mode. The caller’s name is also logged, which can be helpful for tracking down the source of a problem.

    See Also