Commit 75fbb682 authored by Dan Gershony's avatar Dan Gershony

Adding logging on api startup

parent d914d1c4
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Stratis.Bitcoin; using Stratis.Bitcoin;
using Stratis.Bitcoin.Builder; using Stratis.Bitcoin.Builder;
using Stratis.Bitcoin.Builder.Feature; using Stratis.Bitcoin.Builder.Feature;
using Stratis.Bitcoin.Logging;
namespace Breeze.Api namespace Breeze.Api
{ {
...@@ -21,7 +23,8 @@ namespace Breeze.Api ...@@ -21,7 +23,8 @@ namespace Breeze.Api
public override void Start() public override void Start()
{ {
Program.Initialize(this.fullNodeBuilder.Services, this.fullNode); Logs.FullNode.LogInformation($"Api starting on url {this.fullNode.Settings.ApiUri}");
Program.Initialize(this.fullNodeBuilder.Services, this.fullNode);
} }
} }
......
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