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

luciobemquerer picture luciobemquerer  路  4Comments

DixonDs picture DixonDs  路  4Comments

jt4000 picture jt4000  路  3Comments

danvanderboom picture danvanderboom  路  3Comments

SebastianStehle picture SebastianStehle  路  4Comments