|
|
|
@ -29,10 +29,11 @@ namespace Volo.Abp.BackgroundJobs.DemoApp.HangFire |
|
|
|
|
|
|
|
public override void OnApplicationInitialization(ApplicationInitializationContext context) |
|
|
|
{ |
|
|
|
context |
|
|
|
.ServiceProvider |
|
|
|
.GetRequiredService<ILoggerFactory>() |
|
|
|
.AddConsole(LogLevel.Debug); |
|
|
|
//TODO: Configure console logging
|
|
|
|
//context
|
|
|
|
// .ServiceProvider
|
|
|
|
// .GetRequiredService<ILoggerFactory>()
|
|
|
|
// .AddConsole(LogLevel.Debug);
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|