Instead of GlobalDiagnosticsContext.Set("Line", "myLine")`. use LogManager.Configuration.Variables["line"] = "myLine".
確定! 回上一頁