Class AbpExceptionExtensions
Inheritance
object
AbpExceptionExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: System
Assembly: Volo.Abp.Core.dll
Syntax
public static class AbpExceptionExtensions
Methods
GetLogLevel(Exception, LogLevel)
Declaration
public static LogLevel GetLogLevel(this Exception exception, LogLevel defaultLevel = LogLevel.Error)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception | |
Microsoft.Extensions.Logging.LogLevel | defaultLevel |
Returns
Type | Description |
---|---|
Microsoft.Extensions.Logging.LogLevel |
ReThrow(Exception)
Declaration
public static void ReThrow(this Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception |