How do I override default nlog configuration? -


We put a framework assembly for logging that internally uses nalogs. We also have a resource in our assembly In the form of an embedded NLEG configuration ship and read it at startup (inside a blank constructor that wrapping the NLLP cover using the XMLLogging configuration class).

We will now like developers

We can:

  • To include files in the context one for their own loggers Be able to specify / override additional configuration via external file Our embedded nlog configuration file? How does the file path in the solution solve? If we do this, then the contents of the included file are overriden the content of the embedded analogogue configuration at startup?
  • Can developers use the NLEG configuration section? Does the contents of this section override the default configuration that we have supplemented the pro grammatically?

    Any other options?

Comments