5

Before I go off and create my own, I'd like to know if there is an NLog layout renderer that exists to log an appSettings key/value from web.config?

slolife
  • 18,983
  • 20
  • 77
  • 120

1 Answers1

4

FWIW,

Here is a nearly identical question that has an answer with a LayourRenderer implementation that might do what you want.

NLog config file to get configuration setting values from a web.config

Community
  • 1
  • 1
wageoghe
  • 26,942
  • 13
  • 84
  • 115