ExceptionExtensions.Log method
namespace: Serenity assembly: Serenity.Net.Core
Logs the exception if logger instance is not null
public static void Log(this Exception exception, IExceptionLogger logger, string category = null)
| parameter | description |
|---|---|
| exception | Exception |
| logger | Logger |
| category | Optional category |
See Also
- interface IExceptionLogger
- class ExceptionExtensions