Skip to content

Asp.Net Core example(s) #15

@ImaginaryDevelopment

Description

@ImaginaryDevelopment

Is your feature request related to a problem? Please describe.
Each time I go to implement this in an Asp.Net project figuring out how to hook it both into the asp.net core's log service locator, and passing it to functions as an ILog seem to be at odds.

If the Asp.Net service locator is already hooked up, that still leaves figuring out how to get an ILog instance for any additional logging I want to add to the pre-asp.net-is-running setup.

I think there would be a lot of value in having one or more examples of these common use cases here on the read-me.

Describe the solution you'd like
I'd like individual examples of hooking the provider up to Asp.net, pulling it out, and how to properly use an ILog in the setup before asp.net is even running.

Describe alternatives you've considered
I've considered just referencing how I did it in the previous project at work each time, but then in personal projects or off-hours I'd have to fire up work.

Additional context
ILogger, Logger, ILog,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions