Logging wrapper of Relativity.Logging
Namespace: Relativity.API
Assembly: Relativity.API (in Relativity.API.dll) Version: 17.0.1.1 588f15fd7550dbf54835f3417a0142d4ea37dbb5
Syntax
The IAPILog type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | ForContext(Type) |
Adds the full name of the source's Type to the log information.
|
![]() | ForContext(String, Object, Boolean) |
Adds the value object with the propertyName to the log information. DestructureObjects false will T
|
![]() | ForContextT |
Adds the full name of Type T to the log information.
|
![]() ![]() | LogContextPushProperty |
Adds the obj data with the propertyName to the log information of all logs that happen within a using statement.
Examples using (var pushLogger = _logger.LogContextPushProperty("User", user)) { MethodThatLogs(); } |
![]() | LogDebug(String, Object) |
Debug level logging.
|
![]() | LogDebug(Exception, String, Object) |
Debug level logging with an exception.
|
![]() | LogError(String, Object) |
Error level logging.
|
![]() | LogError(Exception, String, Object) |
Error level logging with an exception.
|
![]() | LogFatal(String, Object) |
Fatal level logging.
|
![]() | LogFatal(Exception, String, Object) |
Fatal level logging with an exception.
|
![]() | LogInformation(String, Object) |
Information level logging.
|
![]() | LogInformation(Exception, String, Object) |
Information level logging with an exception.
|
![]() | LogVerbose(String, Object) |
Verbose level logging.
|
![]() | LogVerbose(Exception, String, Object) |
Verbose level logging with an exception.
|
![]() | LogWarning(String, Object) |
Warning level logging.
|
![]() | LogWarning(Exception, String, Object) |
Warning level logging with an exception.
|
See Also