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
  • 19,520
  • 20
  • 78
  • 121

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
  • 27,390
  • 13
  • 88
  • 116