Logger.LogException

public void LogException(Exception exception);
public void LogException(Exception exception, Object context);

Parameters

exceptionRuntime Exception.
contextObject to which the message applies.

Description 描述

A variant of Logger.Log that logs an exception message.