Orleans: Can i integrate with the NLog log component

Created on 25 Oct 2018  路  4Comments  路  Source: dotnet/orleans

I want to use the NLog component as my log provider.How can I achieve it? @ReubenBond Thx

Most helpful comment

install NLog.Extensions.Logging

and

ISiloHostBuilder builder = new SiloHostBuilder();
builder.ConfigureLogging(configureLogging => {  configureLogging.AddNLog();  });

All 4 comments

install NLog.Extensions.Logging

and

ISiloHostBuilder builder = new SiloHostBuilder();
builder.ConfigureLogging(configureLogging => {  configureLogging.AddNLog();  });

yes you can , and please see #3641, I have a code sample there on how.

thx all

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SebastianStehle picture SebastianStehle  路  4Comments

JorgeCandeias picture JorgeCandeias  路  3Comments

luciobemquerer picture luciobemquerer  路  4Comments

jdom picture jdom  路  3Comments

guopenglun picture guopenglun  路  3Comments