NLog OnNewLogFile Handler?
问题 Is there any event handler or similar that I can hook into, to run some code every time NLog starts a new Log File? I have an NLog Config like this: <target name="logfile" xsi:type="File" fileName="[stuff]" layout="[more Stuff]" maxArchiveFiles="4" archiveAboveSize="102400" /> And I'd kinda like to add some meta-data at the start of every log file (version number, Machine Name, etc. so that every log file comes complete with some contextual information) I don't expect to be able to configure