JasperFx / lamar

Fast Inversion of Control Tool and Successor to StructureMap
https://jasperfx.github.io/lamar
MIT License
572 stars 119 forks source link

Core 3.0 logging callout #195

Closed randyridge closed 5 years ago

randyridge commented 5 years ago

Ran into an issue with logging not being properly filtered, was going to create a repro, but found workaround in your unit test linked below (note from 2017). I'm happy to PR documentation for a callout about it, but before I do is there a reasonable workaround for .UseLamar()? Seems like I would not easily fall into a pit of success here...

Code with note of workaround

jeremydmiller commented 5 years ago

I think I'd prefer to just have this done automatically in the call to UseLamar(). I'm in the code right now, I'll do it.