Rollbar Client and config files to support the logging of data to Rollbar
-
Asp.Net Standard/Core Dependency Injection
- Use the provided
services.AddRollbar()
method
- Use the provided
-
Other Containers
- Register an instance of
RollbarClient
as theIRollbarClient
type with a Transient Lifecycle
- Register an instance of
Create a new instance of the LogData
class and then call the IRollbarClient.Log(LogData logdata)
method providing the LogData
instance.