Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UseNLogHost() to be used on IHostBuilder #11604

Merged
merged 1 commit into from
May 12, 2022
Merged

Conversation

jtkech
Copy link
Member

@jtkech jtkech commented Apr 27, 2022

For example with the minimal hosting model in 6.0.

...
using OrchardCore.Logging;

var builder = WebApplication.CreateBuilder(args);
builder.Logging.ClearProviders();
builder.Host.UseNLogHost();
...

@sebastienros sebastienros merged commit b2210c2 into main May 12, 2022
@sebastienros sebastienros deleted the jtkech/nLog-host branch May 12, 2022 17:39
@agriffard
Copy link
Member

Now that it is merged, we need to also change the Cms.Web template or merge #10762 for release 1.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants