Method OnInternalExceptionOnInternalException(Exception)Method invoked when an exception is thrown in logging code. Declaration void OnInternalException(Exception exception) Parameters Type Name Description Exception exception The Exception.