EasyAF_ExceptionExtensions

Syntax

public static class EasyAF_ExceptionExtensions

Inheritance

Methods

TraceDemystifiedException

public static Exception TraceDemystifiedException(this Exception ex, string logPrefix = "")
Demystifies the Exception and writes it to .

Parameters

  • ex Exception: The exception instance to manipulate.
  • logPrefix string: A string that will be prepended to the log entry. Defaults to the calling function name.

Returns

Exception The Demystified exception.