Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何配置 NLog Layout 以获取源文件名和行号?
这可能吗 ?
${callsite}LayoutRenderer 应该做你想做的事。
${callsite}
http://nlog-project.org/wiki/Callsite_layout_renderer