A class offering extension methods to service collections to add logging for use with the dependency injection framework.
More...
|
| static IServiceCollection | AddJoutsenLogging (this IServiceCollection services, IConfiguration configuration=null) |
| | Adds logging from a configuration to the services of an application.
|
| |
A class offering extension methods to service collections to add logging for use with the dependency injection framework.
- Since
- 0.5.0
◆ AddJoutsenLogging()
| static IServiceCollection Joutsen.Logging.Configuration.LoggerService.AddJoutsenLogging |
( |
this IServiceCollection |
services, |
|
|
IConfiguration |
configuration = null |
|
) |
| |
|
static |
Adds logging from a configuration to the services of an application.
- Parameters
-
| services | the serves to add logging to |
| configuration | the optional configuration to use. If not provided the configuration out of the services is used. |