Commit 239b849c authored by Savorboard's avatar Savorboard

add cap started and shotdown log.

parent f39cd633
......@@ -59,6 +59,8 @@ namespace DotNetCore.CAP
private async Task BootstrapTaskAsync()
{
_logger.LogInformation("### CAP starting...");
await Storage.InitializeAsync(_cts.Token);
if (_cts.IsCancellationRequested)
......@@ -83,6 +85,8 @@ namespace DotNetCore.CAP
_ctsRegistration.Dispose();
_cts.Dispose();
_logger.LogInformation("### CAP started!");
}
protected virtual Task BootstrapCoreAsync()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment