我最近开始使用 NLog,我想在将日志保存到文件中之前在我的应用程序中显示日志。
我怎样才能得到以下内容?
string message = logger.getLog() <---- This is what I need
c# nlog
c# ×1
nlog ×1