diff --git a/API_NetFramework/API_NetFramework.csproj b/API_NetFramework/API_NetFramework.csproj
index 9e1d7ed77..57443d1c9 100644
--- a/API_NetFramework/API_NetFramework.csproj
+++ b/API_NetFramework/API_NetFramework.csproj
@@ -159,6 +159,9 @@
..\packages\Microsoft.AspNet.WebApi.Core.5.3.0\lib\net45\System.Web.Http.dll
+
+ ..\packages\Microsoft.AspNet.WebApi.Tracing.5.3.0\lib\net45\System.Web.Http.Tracing.dll
+
..\packages\Microsoft.AspNet.WebApi.WebHost.5.3.0\lib\net45\System.Web.Http.WebHost.dll
diff --git a/API_NetFramework/Controllers/DocumentController.cs b/API_NetFramework/Controllers/DocumentController.cs
index adbb81d7b..57d245b66 100644
--- a/API_NetFramework/Controllers/DocumentController.cs
+++ b/API_NetFramework/Controllers/DocumentController.cs
@@ -32,6 +32,9 @@ using System.Web.UI.WebControls;
using System.Drawing.Text;
using System.Runtime.InteropServices.ComTypes;
using System.Reflection;
+using Newtonsoft.Json.Linq;
+using System.Runtime.Serialization.Json;
+using System.Web.Http.Results;
namespace API_NetFramework.Controllers
@@ -39,7 +42,7 @@ namespace API_NetFramework.Controllers
public class DocumentController : ApiController
{
-
+
private string guid = "";
public string tokenfunction = "Dokument";
@@ -100,80 +103,269 @@ namespace API_NetFramework.Controllers
}
}
-
+
[HttpPost]
[Route("API/CreateDoks")]
public IHttpActionResult CreateDoks()
{
APIErrorSimple apireturn = new APIErrorSimple();
APIOK apiok = new APIOK();
- guid = Guid.NewGuid().ToString();
- Logging.APIDocLog.Info("CreateDoks Start", "CreateDoks", guid, "");
- bool hasattachment = false;
- if (SecuringWebApiUsingApiKey.Middleware.ApiKeyMiddleware.Authorized((HttpRequestMessage)Request, tokenfunction) == false)
- {
-
- return Content(HttpStatusCode.Unauthorized, "Invalid Token or API-Key");
- }
-
- HttpRequestMessage rmsg = (HttpRequestMessage)Request;
- string OwnHost = System.Configuration.ConfigurationManager.AppSettings["OwnHost"].ToString();
- string imagepath = System.Configuration.ConfigurationManager.AppSettings["VSImagePath"].ToString();
-
- var key = rmsg.Headers.Authorization.Parameter.ToString();
- string result = Request.Content.ReadAsStringAsync().Result;
- DokumentCreate paket = new DokumentCreate();
- paket = JsonConvert.DeserializeObject(result);
- Logging.APIDocLog.Info("Input Json", "CreateDoks", guid, result);
- result = "";
- Logging.APIDocLog.Info("Herkunftsapplikation", "CreateDoks", guid, paket.Herkunftsapplikation);
- Logging.APIDocLog.Info("Ersteller", "CreateDoks", guid, paket.Dokumente[0].TGNrErsteller);
-
-
- string CheckResult = "";
- CheckResult = CreatePaket_Verify(ref paket, ref apireturn);
- if (CheckResult != "")
- {
- Logging.APIDocLog.Error(CheckResult, "OnDocAPI", guid, "");
- apireturn.code = "ONDOC-ERR-Verify";
- apireturn.status = "400";
- apireturn.message = CheckResult;
- apireturn.traceid = "";
- apireturn.field = "";
- paket = null;
- return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
- }
-
try
{
- foreach (APIDokument dokument in paket.Dokumente)
+ guid = Guid.NewGuid().ToString();
+ Logging.APIDocLog.Info("CreateDoks Start", "CreateDoks", guid, "");
+ bool hasattachment = false;
+ if (SecuringWebApiUsingApiKey.Middleware.ApiKeyMiddleware.Authorized((HttpRequestMessage)Request, tokenfunction) == false)
{
- if (dokument.PDFDoc != "" && dokument.PDFDoc != null)
+ apireturn.code = "ONDOC-ERR-CreateDoks-01";
+ apireturn.status = "401";
+ apireturn.message = "Invalid Token or API-Key";
+ apireturn.traceid = "";
+ apireturn.field = "";
+ try
{
- string gid = "ATT" + OnDocAPI_NetFramework.Helper.Helper.RandomString(19);
- dokument.DokumentID = gid;
- hasattachment = true;
- Logging.APIDocLog.Info("Attachment angefügt", "CreateDoks", guid, dokument.DokumentID);
+ return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
}
- else
+ catch
{
- clsDocData dokdata = new clsDocData();
- Model.clsdocgendata docgendata = new Model.clsdocgendata();
- DocCreate doccreate = new DocCreate();
+ return Content(HttpStatusCode.Unauthorized, "Invalid Token or API-Key");
+ }
+ finally { apireturn = null; apiok = null; };
+ //return Content(HttpStatusCode.Unauthorized, "Invalid Token or API-Key");
+ }
- OnDocAPI_NetFramework.Helper.Helper.CopyProperties(dokdata, docgendata);
+ HttpRequestMessage rmsg = (HttpRequestMessage)Request;
+ string OwnHost = System.Configuration.ConfigurationManager.AppSettings["OwnHost"].ToString();
+ string imagepath = System.Configuration.ConfigurationManager.AppSettings["VSImagePath"].ToString();
- dokument.DokumentID = gendoc(ref doccreate, ref dokdata, ref docgendata, key.ToString());
+ var key = rmsg.Headers.Authorization.Parameter.ToString();
+ string result = Request.Content.ReadAsStringAsync().Result;
+ DokumentCreate paket = new DokumentCreate();
+ paket = JsonConvert.DeserializeObject(result);
+ Logging.APIDocLog.Info("Input Json", "CreateDoks", guid, result);
+ result = "";
+ Logging.APIDocLog.Info("Herkunftsapplikation", "CreateDoks", guid, paket.Herkunftsapplikation);
+ Logging.APIDocLog.Info("Ersteller", "CreateDoks", guid, paket.Dokumente[0].TGNrErsteller);
- Logging.APIDocLog.Info("Dok erstellt", "CreateDoks", guid, dokument.DokumentID);
+ string CheckResult = "";
+ CheckResult = CreatePaket_Verify(ref paket, ref apireturn);
+ if (CheckResult != "")
+ {
+ Logging.APIDocLog.Error(CheckResult, "OnDocAPI", guid, "");
+ apireturn.code = "ONDOC-ERR-Verify";
+ apireturn.status = "400";
+ apireturn.message = CheckResult;
+ apireturn.traceid = "";
+ apireturn.field = "";
+ paket = null;
+ try
+ {
+ return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
+ }
+ catch { return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn)); }
+ finally { apireturn = null; apiok = null; };
+ }
+
+ try
+ {
+ foreach (APIDokument dokument in paket.Dokumente)
+ {
+ if (dokument.PDFDoc != "" && dokument.PDFDoc != null)
+ {
+ string gid = "ATT" + OnDocAPI_NetFramework.Helper.Helper.RandomString(19);
+ dokument.DokumentID = gid;
+ hasattachment = true;
+ Logging.APIDocLog.Info("Attachment angefügt", "CreateDoks", guid, dokument.DokumentID);
+ }
+ else
+ {
+ clsDocData dokdata = new clsDocData();
+ Model.clsdocgendata docgendata = new Model.clsdocgendata();
+ DocCreate doccreate = new DocCreate();
+
+ OnDocAPI_NetFramework.Helper.Helper.CopyProperties(dokdata, docgendata);
+ OnDocAPI_NetFramework.Helper.Helper.CopyProperties(dokument, doccreate);
+ dokument.DokumentID = gendoc(ref doccreate, ref dokdata, ref docgendata, key.ToString());
+ dokument.DokumentID = dokdata.Dokumentid;
+ dokdata = null;
+ docgendata = null;
+ doccreate = null;
+
+ Logging.APIDocLog.Info("Dok erstellt", "CreateDoks", guid, dokument.DokumentID);
+ }
}
}
+ catch (Exception ex)
+ {
+ Logging.APIDocLog.Error("ONDOC-ERR-CreatePaketDoc", "CreateDoks", guid, ex.Message);
+ paket = null;
+ apireturn.code = "ONDOC-ERR-CreatePaketDoc";
+ apireturn.status = "400";
+ apireturn.message = ex.Message;
+ apireturn.traceid = "";
+ apireturn.field = "";
+ paket = null;
+ try
+ {
+ return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
+ }
+
+ catch
+ {
+ return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
+ }
+ finally { apireturn = null; apiok = null; };
+
+ }
+
+ if (paket.ResultSender == "true")
+ {
+ List Dokumente = new List();
+ clsVersandstrasse vs1 = new clsVersandstrasse();
+ foreach (APIDokument dokumennt in paket.Dokumente)
+ {
+ if (dokumennt.DokumentID.Contains("ATT"))
+ {
+ APIDokumentResult aPIDokumentResult = new APIDokumentResult();
+ aPIDokumentResult.dokumentid = dokumennt.DokumentID;
+ aPIDokumentResult.dokument = dokumennt.PDFDoc;
+ Dokumente.Add(aPIDokumentResult);
+ }
+ else
+ {
+ APIDokumentResult aPIDokumentResult = new APIDokumentResult();
+ aPIDokumentResult.dokumentid = dokumennt.DokumentID;
+
+ if (paket.ResultFileType != "PDF")
+ {
+ DOCGEN.DocGet gd = new DocGet(connectionstring);
+ clsdok dok = new clsdok("", "", "", "");
+ dok = gd.GetDoc(dokumennt.DokumentID);
+ aPIDokumentResult.dokument = dok.dokument;
+ dok = null;
+ gd = null;
+ }
+ else
+ {
+ aPIDokumentResult.dokument = vs1.Prepare_PDF(dokumennt.DokumentID.ToString(), "", connectionstring, OwnHost, key.ToString(), imagepath);
+ }
+ Dokumente.Add(aPIDokumentResult);
+ }
+ }
+ vs1 = null;
+ Dokumente = null;
+ string json = System.Text.Json.JsonSerializer.Serialize(Dokumente);
+ paket = null;
+ apiok.code = "200";
+ apiok.status = "200";
+ apiok.message = "";
+ apiok.documentid = "";
+ apiok.file = json;
+ try
+ {
+ return Ok(Newtonsoft.Json.JsonConvert.SerializeObject(apiok));
+ }
+ catch (Exception e)
+ {
+ return Content(HttpStatusCode.InternalServerError, e.Message);
+ }
+ finally
+ {
+ apiok = null;
+ }
+ return Ok(json);
+ }
+
+ if (paket.Versandstrasse == "true")
+ {
+ clsVersandstrasse vs = new clsVersandstrasse();
+ string vsdoc = "";
+ List vdoc = new List();
+ string partnernr = "";
+ int i = 0;
+ Versandpaket vp = new Versandpaket();
+ Stream[] streams = new Stream[paket.Dokumente.Count];
+ try
+ {
+ foreach (APIDokument dokumennt in paket.Dokumente)
+ {
+ if (dokumennt.DokumentID.Contains("ATT"))
+ {
+
+ vsdoc = vs.check_pdf_pages(dokumennt.PDFDoc);
+ }
+ else
+ {
+ vsdoc = vs.Prepare_PDF(dokumennt.DokumentID.ToString(), "", connectionstring, OwnHost, key.ToString(), imagepath);
+ }
+ i = i + 1;
+ Versanddokument vd = new Versanddokument(dokumennt.DokumentID.ToString(), dokumennt.PartnerNr.ToString() + " - " + dokumennt.Bezeichnung, partnernr);
+ vd.Partnernr = dokumennt.PartnerNr;
+ vd.dokument = vsdoc;
+ vdoc.Add(vd);
+ }
+
+
+ i = 0;
+
+ foreach (Versanddokument vd in vdoc)
+ {
+ {
+ var stream = new MemoryStream(Convert.FromBase64String(vd.dokument));
+ streams[i] = stream;
+ i++;
+ }
+ }
+ string stapel = vs.save_stapel(ref streams, 19000000);
+
+
+ vp.partnernr = Convert.ToInt32(paket.Dokumente[0].PartnerNr.ToString());
+ vp.GASAdresse = paket.GASAdresse;
+ vp.Mitteilung = "";
+ vp.PaketNr = new Guid().ToString();
+ if (vp.GASAdresse != "") { vp.GAS = "1"; } else { vp.GAS = ""; }
+ vp.GASSize = paket.GASCouvert;
+ vp.Versandoption = paket.VersandOption;
+ vp.Dokument = vdoc;
+
+ vp.finaldoc = stapel;
+ if (vp.Dokument.Count > 1) { vp.send_onbase_doc = false; } else { vp.send_onbase_doc = true; }
+ vp.verified = true;
+ DB db = new DB(connectionstring);
+ int manr = db.Get_Mitarbeiternr(paket.VersandVerantwortlich.ToString());
+ send_vs(ref vp, manr.ToString(), paket.VersandDirekt == "true", OwnHost, key.ToString(), "", paket.Dokumente[0].PartnerNr, paket, ref apireturn);
+ db = null;
+ streams = null;
+ vs = null;
+ vp = null;
+ }
+ catch (Exception ex)
+ {
+ streams = null;
+ vs = null;
+ vp = null;
+ apireturn.code = "ONDOC-ERR-PaketVersandstrasse";
+ apireturn.status = "400";
+ apireturn.message = ex.Message;
+ apireturn.traceid = "";
+ apireturn.field = "";
+
+ return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
+ }
+ }
+ Logging.APIDocLog.Info("Dokumentpaket abgeschlossen", "CreateDoks", guid, "");
+ apireturn.code = "OK";
+ apireturn.status = "200";
+ apireturn.message = "Paket generiert";
+ apireturn.traceid = "";
+ apireturn.field = "GUID=" + guid;
+ return Ok(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
}
catch (Exception ex)
{
Logging.APIDocLog.Error("ONDOC-ERR-CreatePaketDoc", "CreateDoks", guid, ex.Message);
- paket = null;
+
apireturn.code = "ONDOC-ERR-CreatePaketDoc";
apireturn.status = "400";
apireturn.message = ex.Message;
@@ -181,244 +373,277 @@ namespace API_NetFramework.Controllers
apireturn.field = "";
return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
}
-
- if (paket.ResultSender == "true")
- {
- List Dokumente = new List();
- clsVersandstrasse vs1 = new clsVersandstrasse();
- foreach (APIDokument dokumennt in paket.Dokumente)
- {
- if (dokumennt.DokumentID.Contains("ATT"))
- {
- APIDokumentResult aPIDokumentResult = new APIDokumentResult();
- aPIDokumentResult.dokumentid = dokumennt.DokumentID;
- aPIDokumentResult.dokument = dokumennt.PDFDoc;
- Dokumente.Add(aPIDokumentResult);
- }
- else
- {
- APIDokumentResult aPIDokumentResult = new APIDokumentResult();
- aPIDokumentResult.dokumentid = dokumennt.DokumentID;
-
- if (paket.ResultFileType != "PDF")
- {
- DOCGEN.DocGet gd = new DocGet(connectionstring);
- clsdok dok = new clsdok("", "", "", "");
- dok = gd.GetDoc(dokumennt.DokumentID);
- aPIDokumentResult.dokument = dok.dokument;
- dok = null;
- gd = null;
- }
- else
- {
- aPIDokumentResult.dokument = vs1.Prepare_PDF(dokumennt.DokumentID.ToString(), "", connectionstring, OwnHost, key.ToString(), imagepath);
- }
- Dokumente.Add(aPIDokumentResult);
- }
- }
- vs1 = null;
- Dokumente = null;
- string json = System.Text.Json.JsonSerializer.Serialize(Dokumente);
- paket = null;
-
- return Ok(json);
- }
-
- if (paket.Versandstrasse == "true")
- {
- clsVersandstrasse vs = new clsVersandstrasse();
- string vsdoc = "";
- List vdoc = new List();
- string partnernr = "";
- int i = 0;
- Versandpaket vp = new Versandpaket();
- Stream[] streams = new Stream[paket.Dokumente.Count];
- try
- {
- foreach (APIDokument dokumennt in paket.Dokumente)
- {
- if (dokumennt.DokumentID.Contains("ATT"))
- {
-
- vsdoc = vs.check_pdf_pages(dokumennt.PDFDoc);
- }
- else
- {
- vsdoc = vs.Prepare_PDF(dokumennt.DokumentID.ToString(), "", connectionstring, OwnHost, key.ToString(), imagepath);
- }
- i = i + 1;
- Versanddokument vd = new Versanddokument(dokumennt.DokumentID.ToString(), dokumennt.PartnerNr.ToString() + " - " + dokumennt.Bezeichnung, partnernr);
- vd.Partnernr = dokumennt.PartnerNr;
- vd.dokument = vsdoc;
- vdoc.Add(vd);
- }
-
-
- i = 0;
-
- foreach (Versanddokument vd in vdoc)
- {
- {
- var stream = new MemoryStream(Convert.FromBase64String(vd.dokument));
- streams[i] = stream;
- i++;
- }
- }
- string stapel = vs.save_stapel(ref streams, 19000000);
-
-
- vp.partnernr = Convert.ToInt32(paket.Dokumente[0].PartnerNr.ToString());
- vp.GASAdresse = paket.GASAdresse;
- vp.Mitteilung = "";
- vp.PaketNr = new Guid().ToString();
- if (vp.GASAdresse != "") { vp.GAS = "1"; } else { vp.GAS = ""; }
- vp.GASSize = paket.GASCouvert;
- vp.Versandoption = paket.VersandOption;
- vp.Dokument = vdoc;
- vp.finaldoc = stapel;
- if (vp.Dokument.Count > 1) { vp.send_onbase_doc = false; } else { vp.send_onbase_doc = true; }
- vp.verified = true;
- DB db = new DB(connectionstring);
- int manr = db.Get_Mitarbeiternr(paket.VersandVerantwortlich.ToString());
- send_vs(ref vp, manr.ToString(), paket.VersandDirekt == "true", OwnHost, key.ToString(), "", paket.Dokumente[0].PartnerNr, paket, ref apireturn);
- db = null;
- streams = null;
- vs = null;
- vp = null;
- }
- catch (Exception ex)
- {
- streams = null;
- vs = null;
- vp = null;
- apireturn.code = "ONDOC-ERR-PaketVersandstrasse";
- apireturn.status = "400";
- apireturn.message = ex.Message;
- apireturn.traceid = "";
- apireturn.field = "";
-
- return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
- }
-
- }
-
- Logging.APIDocLog.Info("Dokumentpaket abgeschlossen", "CreateDoks", guid, "");
- apireturn.code = "OK";
- apireturn.status = "200";
- apireturn.message = "Paket generiert";
- apireturn.traceid = "";
- apireturn.field = "GUID=" + guid;
- return Ok(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
+ finally { apireturn = null; apiok = null; };
}
[HttpPost]
[Route("API/CreateDok")]
public IHttpActionResult CreateDok()
{
- string guid = Guid.NewGuid().ToString();
- Logging.APIDocLog.Info("Start CreateDoc", "CreateDoc", guid, "");
APIErrorSimple apireturn = new APIErrorSimple();
- if (SecuringWebApiUsingApiKey.Middleware.ApiKeyMiddleware.Authorized((HttpRequestMessage)Request, tokenfunction) == false)
+ APIOK apiok = new APIOK();
+ try
{
- return Content(HttpStatusCode.Unauthorized, "Invalid Token or API-Key");
+ string guid = Guid.NewGuid().ToString();
+ Logging.APIDocLog.Info("Start CreateDoc", "CreateDoc", guid, "");
+ if (SecuringWebApiUsingApiKey.Middleware.ApiKeyMiddleware.Authorized((HttpRequestMessage)Request, tokenfunction) == false)
+ {
+ apireturn.code = "ONDOC-ERR-CreateDok-01";
+ apireturn.status = "401";
+ apireturn.message = "Invalid Token or API-Key";
+ apireturn.traceid = "";
+ apireturn.field = "";
+ try
+ {
+ return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
+ }
+ catch
+ {
+ return Content(HttpStatusCode.Unauthorized, "Invalid Token or API-Key");
+ }
+ finally { apireturn = null; apiok = null; };
+ }
+ HttpRequestMessage rmsg = (HttpRequestMessage)Request;
+ string OwnHost = System.Configuration.ConfigurationManager.AppSettings["OwnHost"].ToString();
+ string imagepath = System.Configuration.ConfigurationManager.AppSettings["VSImagePath"].ToString();
+
+ var key = rmsg.Headers.Authorization.Parameter.ToString();
+ string result = Request.Content.ReadAsStringAsync().Result;
+ var root = JsonConvert.DeserializeObject(result);
+ Logging.APIDocLog.Info("Input JSON", "CreateDoc", guid, result);
+
+ DocCreate doccreate = new DocCreate();
+ //dynamic data = JsonConvert.DeserializeObject(result);
+ doccreate = JsonConvert.DeserializeObject(result);
+ result = "";
+
+ //clsDocData dokdata = new clsDocData();
+ //string dokumentid = "";
+
+ string CheckResult = "";
+ CheckResult = CreateDoc_Verify(ref doccreate);
+ if (CheckResult != "")
+ {
+ Logging.APIDocLog.Error("Error Verify ", "CreateDoks", guid, CheckResult);
+
+ apireturn.code = "ONDOC-ERR-CreateDoc";
+ apireturn.status = "400";
+ apireturn.message = CheckResult;
+ apireturn.traceid = "";
+ apireturn.field = "";
+ return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
+ }
+ clsDocData dokdata = new clsDocData();
+ Model.clsdocgendata docgendata = new Model.clsdocgendata();
+ string dokumentid = gendoc(ref doccreate, ref dokdata, ref docgendata, key.ToString());
+
+ if (doccreate.Versandstrasse == "true")
+ {
+ clsVersandstrasse vs = new clsVersandstrasse();
+ string vsdoc = "";
+ vsdoc = vs.Prepare_PDF(dokumentid, "", connectionstring, OwnHost, key.ToString(), imagepath);
+
+ Versandpaket vp = new Versandpaket();
+ vp.partnernr = Convert.ToInt32(docgendata.partnernr);
+ vp.GASAdresse = doccreate.GASAdresse;
+ if (vp.GASAdresse.ToString().Trim() == "") { vp.GAS = ""; } else { vp.GAS = "true"; }
+ vp.Versandoption = doccreate.VersandOption; ;
+ List vdoc = new List();
+ Versanddokument vd = new Versanddokument(dokumentid, doccreate.PartnerNr + " - " + dokdata.Bezeichnung, doccreate.PartnerNr);
+ vd.dokument = vsdoc;
+ vdoc.Add(vd);
+ vp.Dokument = vdoc;
+ vp.finaldoc = vsdoc;
+ vp.send_onbase_doc = true;
+ vp.verified = true;
+ send_vs(ref vp, dokdata.Ersteller, doccreate.VersandDirekt == "true", OwnHost, key.ToString(), dokumentid, doccreate.PartnerNr, null, ref apireturn);
+ if (apireturn.status != "")
+ {
+ vp = null;
+ doccreate = null;
+ dokdata = null;
+ return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
+ }
+ }
+ if (doccreate.ConfirmationMail == "true")
+ {
+
+ string message = "Dokument '" + doccreate.Bezeichnung + "' für Partner " + doccreate.PartnerNr + " erstellt." + Environment.NewLine;
+ if (doccreate.Versandstrasse == "true")
+ {
+ if (doccreate.VersandDirekt == "true")
+ {
+ message = message + " Dokument über Versandstrasse versendet.";
+ }
+ else
+ {
+ message = message + " Dokument über Versandstrasse bereit gestellt.";
+ }
+ }
+
+
+ }
+ Logging.APIDocLog.Info("Dokument abgeschlossen", "CreateDok", guid, "");
+ apireturn.code = "OK";
+ apireturn.status = "200";
+ apireturn.message = "Dokument generiert";
+ apireturn.traceid = "";
+ apireturn.field = "GUID=" + guid;
+ return Ok(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
}
- HttpRequestMessage rmsg = (HttpRequestMessage)Request;
- string OwnHost = System.Configuration.ConfigurationManager.AppSettings["OwnHost"].ToString();
- string imagepath = System.Configuration.ConfigurationManager.AppSettings["VSImagePath"].ToString();
-
- var key = rmsg.Headers.Authorization.Parameter.ToString();
- string result = Request.Content.ReadAsStringAsync().Result;
- var root = JsonConvert.DeserializeObject(result);
- Logging.APIDocLog.Info("Input JSON", "CreateDoc", guid, result);
-
- DocCreate doccreate = new DocCreate();
- //dynamic data = JsonConvert.DeserializeObject(result);
- doccreate = JsonConvert.DeserializeObject(result);
- result = "";
-
- //clsDocData dokdata = new clsDocData();
- //string dokumentid = "";
-
- string CheckResult = "";
- CheckResult = CreateDoc_Verify(ref doccreate);
- if (CheckResult != "")
+ catch (Exception ex)
{
- Logging.APIDocLog.Error("Error Verify ", "CreateDoks", guid, CheckResult);
+ Logging.APIDocLog.Error("ONDOC-ERR-CreatePaketDoc", "CreateDoks", guid, ex.Message);
- apireturn.code = "ONDOC-ERR-CreateDoc";
+ apireturn.code = "ONDOC-ERR-CreatePaketDoc";
apireturn.status = "400";
- apireturn.message = CheckResult;
+ apireturn.message = ex.Message;
apireturn.traceid = "";
apireturn.field = "";
return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
}
- clsDocData dokdata = new clsDocData();
- Model.clsdocgendata docgendata = new Model.clsdocgendata();
- string dokumentid = gendoc(ref doccreate, ref dokdata, ref docgendata, key.ToString());
-
- if (doccreate.Versandstrasse == "true")
- {
- clsVersandstrasse vs = new clsVersandstrasse();
- string vsdoc = "";
- vsdoc = vs.Prepare_PDF(dokumentid, "", connectionstring, OwnHost, key.ToString(), imagepath);
-
- Versandpaket vp = new Versandpaket();
- vp.partnernr = Convert.ToInt32(docgendata.partnernr);
- vp.GASAdresse = doccreate.GASAdresse;
- if (vp.GASAdresse.ToString().Trim() == "") { vp.GAS = ""; } else { vp.GAS = "true"; }
- vp.Versandoption = doccreate.VersandOption; ;
- List vdoc = new List();
- Versanddokument vd = new Versanddokument(dokumentid, doccreate.PartnerNr + " - " + dokdata.Bezeichnung, doccreate.PartnerNr);
- vd.dokument = vsdoc;
- vdoc.Add(vd);
- vp.Dokument = vdoc;
- vp.finaldoc = vsdoc;
- vp.send_onbase_doc = true;
- vp.verified = true;
- send_vs(ref vp, dokdata.Ersteller, doccreate.VersandDirekt == "true", OwnHost, key.ToString(), dokumentid, doccreate.PartnerNr, null, ref apireturn);
- if (apireturn.status != "")
- {
- vp = null;
- doccreate = null;
- dokdata = null;
- return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
-
- }
-
- }
- if (doccreate.ConfirmationMail == "true")
- {
-
- string message = "Dokument '" + doccreate.Bezeichnung + "' für Partner " + doccreate.PartnerNr + " erstellt." + Environment.NewLine;
- if (doccreate.Versandstrasse == "true")
- {
- if (doccreate.VersandDirekt == "true")
- {
- message = message + " Dokument über Versandstrasse versendet.";
- }
- else
- {
- message = message + " Dokument über Versandstrasse bereit gestellt.";
- }
- }
-
-
- }
- Logging.APIDocLog.Info("Dokument abgeschlossen", "CreateDok", guid, "");
- apireturn.code = "OK";
- apireturn.status = "200";
- apireturn.message = "Dokument generiert";
- apireturn.traceid = "";
- apireturn.field = "GUID=" + guid;
- return Ok(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
+ finally { apireturn = null; apiok = null; };
}
-
+
+ [HttpPost]
+ [Route("API/CreateCLM")]
+ public IHttpActionResult CreateCLM()
+ {
+ APIErrorSimple apireturn = new APIErrorSimple();
+ APIOK apiok = new APIOK();
+
+ Listclmdocitemlist = new List();
+
+
+
+ dynamic dataj = null;
+ try
+ {
+ string guid = Guid.NewGuid().ToString();
+ Logging.APIDocLog.Info("Start CreateCLM", "CreateESS", guid, "");
+ if (SecuringWebApiUsingApiKey.Middleware.ApiKeyMiddleware.Authorized((HttpRequestMessage)Request, tokenfunction) == false)
+ {
+ apireturn.code = "ONDOC-ERR-CreateCLM-01";
+ apireturn.status = "401";
+ apireturn.message = "Invalid Token or API-Key";
+ apireturn.traceid = "";
+ apireturn.field = "";
+ try
+ {
+ return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
+ }
+ catch
+ {
+ return Content(HttpStatusCode.Unauthorized, "Invalid Token or API-Key");
+ }
+ finally { apireturn = null; apiok = null;clmdocitemlist = null;dataj = null; };
+ }
+
+ HttpRequestMessage rmsg = (HttpRequestMessage)Request;
+ string OwnHost = System.Configuration.ConfigurationManager.AppSettings["OwnHost"].ToString();
+ string imagepath = System.Configuration.ConfigurationManager.AppSettings["VSImagePath"].ToString();
+
+ var key = rmsg.Headers.Authorization.Parameter.ToString();
+ string result = Request.Content.ReadAsStringAsync().Result;
+
+
+ dataj = JsonConvert.DeserializeObject(result);
+ Logging.APIDocLog.Info("Input JSON", "CreateCLM", guid, result);
+
+ var jo = JObject.Parse(Request.Content.ReadAsStringAsync().Result);
+ var valueTuples = GetNodes(jo).ToList();
+ foreach (var valueTuple in valueTuples)
+ {
+ CLMDocItem d = new CLMDocItem();
+ d.itemname = valueTuple.Item1;
+ d.itemtag = valueTuple.Item2;
+ d.itemvalue = valueTuple.Item3;
+ d.doclinkname = "";
+ clmdocitemlist.Add(d);
+
+ }
+ Database.DB db = new Database.DB(connectionstring);
+
+ db.Get_Tabledata("Select * from vorlagenfeld where dokumenttypnr=" + dataj.Dokumenttyp.ToString() + " and aktiv=1 and ess_field_class_id<>0", false, true);
+ foreach (DataRow dr in db.dsdaten.Tables[0].Rows)
+ {
+ foreach (CLMDocItem di in clmdocitemlist)
+ {
+ if ("$." + di.itemname == dr["ess_feldname"].ToString())
+ {
+ di.bmstart = dr["beginntextmarke"].ToString();
+ di.bmend = dr["endetextmarke"].ToString();
+ di.field = dr["feldname"].ToString();
+ di.top = dr["ess_img_top"].ToString();
+ di.left = dr["ess_img_left"].ToString();
+ di.width = dr["ess_img_width"].ToString();
+ di.height = dr["ess_img_height"].ToString();
+ di.type = dr["ess_field_class_id"].ToString();
+ }
+ }
+ }
+
+
+ string CheckResult = "";
+ CheckResult = CLM_Verify(ref clmdocitemlist, ref result);
+ if (CheckResult != "")
+ {
+ Logging.APIDocLog.Error("Error Verify ", "CreateDoks", guid, CheckResult);
+
+ apireturn.code = "ONDOC-ERR-CreateCLM";
+ apireturn.status = "400";
+ apireturn.message = CheckResult;
+ apireturn.traceid = "";
+ apireturn.field = "";
+ return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
+ }
+ clsdok dok = new clsdok("", "", "", "");
+
+ gendocCLM(ref clmdocitemlist,ref dataj, ref dok,key);
+
+ Logging.APIDocLog.Info("Dokument abgeschlossen", "CreateDok", guid, "");
+ apiok.code = "200";
+ apiok.status = "200";
+ apiok.message = "";
+ apiok.documentid = dataj.Id.ToString();
+ apiok.file = dok.dokument;
+ return Ok(Newtonsoft.Json.JsonConvert.SerializeObject(apiok));
+ }
+ catch (Exception ex)
+ {
+ Logging.APIDocLog.Error("ONDOC-ERR-CreateCLM", "CreateCLM", guid, ex.Message);
+
+ apireturn.code = "ONDOC-ERR-CreatePaketDoc";
+ apireturn.status = "400";
+ apireturn.message = ex.Message;
+ apireturn.traceid = "";
+ apireturn.field = "";
+ return BadRequest(Newtonsoft.Json.JsonConvert.SerializeObject(apireturn));
+ }
+ finally { apireturn = null; apiok = null; clmdocitemlist = null; dataj = null; };
+ }
#region Helper
-
-
+ private IEnumerable<(string path, string key, string value)> GetNodes(JToken token)
+ {
+ foreach (var jt in token.Children())
+ {
+ if (!jt.Children().Any())
+ {
+ yield return (
+ path: jt.Path,
+ key: jt.Path.Split('.').Last(),
+ value: jt.ToString()
+ );
+ }
+ foreach (var (path, key, value) in GetNodes(jt))
+ {
+ yield return (path, key, value);
+ }
+ }
+ }
private string CreatePaket_Verify(ref DokumentCreate paket, ref APIErrorSimple apireturn)
{
try
@@ -503,6 +728,7 @@ namespace API_NetFramework.Controllers
catch (Exception ex) { return ex.Message; }
}
+
private string CreateDoc_Verify(ref DocCreate doccreate)
{
try
@@ -552,6 +778,18 @@ namespace API_NetFramework.Controllers
}
catch (Exception ex) { return ex.Message; }
}
+ private string CLM_Verify(ref List clmdocitemlist,ref string json)
+ {
+ try
+ {
+ dynamic dataj = JsonConvert.DeserializeObject(json);
+ if (!ParamCheck("dokumenttyp",dataj.Dokumenttyp.ToString())) { return "Vorlagentyp " + dataj.Dokumenttyp.ToString() + " ist ungültig"; }
+ if (dataj.Id.ToString()=="") { return "ID fehlt" ; }
+ return "";
+ }
+ catch (Exception ex) { return ex.Message; }
+ }
+
private bool ParamCheck(string ParamType, string ParamValue)
{
DB db = new DB(connectionstring);
@@ -802,6 +1040,173 @@ namespace API_NetFramework.Controllers
return "";
}
+ private void gendocCLM(ref List clmdocitemlist, ref dynamic dataj, ref clsdok dok, string key)
+ {
+ string OwnHost = System.Configuration.ConfigurationManager.AppSettings["OwnHost"].ToString();
+ string imagepath = System.Configuration.ConfigurationManager.AppSettings["VSImagePath"].ToString();
+ clsDocData dokdata = new clsDocData();
+ string dokumentid = "";
+ string bezeichnung = "";
+ ;
+ Database.DB db = new DB(connectionstring);
+ db.Get_Tabledata("Select * from dokumenttyp where dokumenttypnr=" + dataj.Dokumenttyp.ToString(), false, true);
+ System.Data.DataRow dr = db.dsdaten.Tables[0].Rows[0];
+ bezeichnung = db.dsdaten.Tables[0].Rows[0]["Bezeichnung"].ToString();
+ dokdata.Barcode = Convert.ToBoolean(dr["Vertrag"]) == true;
+ db.Get_Tabledata("Select beschreibung from physischesarchiv where physischesarchivnr = " + dr["physisches_archiv"].ToString(), false, true);
+ dokdata.barcode_zusatz = db.dsdaten.Tables[0].Rows[0][0].ToString();
+ if (dokdata.barcode_zusatz != "") { dokdata.barcode_zusatz = " " + dokdata.barcode_zusatz; }
+
+ db.Get_Tabledata("Select office_vorlagenr,kopfzeile_generieren, bcpt,bcpl, bcw, bch, bchorizontal, barcodetype, datamatrixcontent from office_vorlage where office_vorlagenr=" + dr["office_vorlagenr"].ToString(), false, true);
+ dokdata.VorlageNr = Convert.ToInt32(dr["office_vorlagenr"]).ToString(); ;
+ try
+ {
+ dokdata.Kopfzeile_generieren = false;
+ if (Convert.ToBoolean(db.dsdaten.Tables[0].Rows[0][1]) == true) { dokdata.Kopfzeile_generieren = true; }
+ }
+ catch { }
+
+ if (dokdata.Barcode)
+ {
+ dokdata.barcode_left = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpl"]);
+ dokdata.barcode_top = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpt"]);
+ dokdata.barcode_width = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcw"]);
+ dokdata.barcode_height = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bch"]);
+ dokdata.barcode_horizontal = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bchorizontal"]);
+ dokdata.barcode_type = db.dsdaten.Tables[0].Rows[0]["BarcodeType"].ToString();
+ dokdata.barcode_content = db.dsdaten.Tables[0].Rows[0]["DatamatrixContent"].ToString();
+ string sql = "";
+ sql = "select bcpt, bcpl, bcw, bch, bchorizontal from OnDocBarcodeMpping ";
+ sql = sql + "where orig_bcpt = " + dokdata.barcode_top.ToString() + " and orig_bcpl=" + dokdata.barcode_left.ToString() + " ";
+ sql = sql + "and orig_bcw=" + dokdata.barcode_width.ToString() + " and orig_bch=" + dokdata.barcode_height.ToString();
+ db.Get_Tabledata(sql, false, true);
+ if (db.dsdaten.Tables[0].Rows.Count > 0)
+ {
+ dokdata.barcode_left = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpl"]);
+ dokdata.barcode_top = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpt"]);
+ dokdata.barcode_width = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcw"]);
+ dokdata.barcode_height = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bch"]);
+ }
+ if (dokdata.barcode_type == "1")
+ {
+ DB dB = new DB(connectionstring);
+ dB.clear_parameter();
+ dB.add_parameter("@dokumentid", dokumentid);
+ dB.add_parameter("@DokumentidBR", "");
+ dB.add_parameter("@BARCODEFONTNAME", "");
+ dB.add_parameter("@BARCODEFONTSIZE", "");
+ dB.add_parameter("@BarcodeKantenlaenge", "");
+ dB.Get_Tabledata("sp_get_OnDoc_barcodetype_and_value", true, false);
+ dokdata.barcode_content = dB.dsdaten.Tables[0].Rows[0][1].ToString();
+ dokdata.barcode_formatn = dB.dsdaten.Tables[0].Rows[0][3].ToString();
+ dokdata.barcode_text = dB.dsdaten.Tables[0].Rows[0][4].ToString();
+ dokdata.barcode_kantenlaenge = dB.dsdaten.Tables[0].Rows[0][5].ToString();
+ dokdata.Zusatz_Font = dB.dsdaten.Tables[0].Rows[0][6].ToString();
+ dokdata.Zusatz_FontSize = Convert.ToInt32(dB.dsdaten.Tables[0].Rows[0][7]);
+ dokdata.barcode_width = Convert.ToInt32(dB.dsdaten.Tables[0].Rows[0][8]);
+ dokdata.barcode_height = Convert.ToInt32(dB.dsdaten.Tables[0].Rows[0][9]);
+
+ //dokdata.barcode_type= dB.dsdaten.Tables[0].Rows[0][3].ToString();
+
+ sql = "select bcpt, bcpl, bcw, bch, bchorizontal from OnDocBarcodeMpping ";
+ sql = sql + "where orig_bcpt = " + dokdata.barcode_top.ToString() + " and orig_bcpl=" + dokdata.barcode_left.ToString() + " ";
+ sql = sql + "and orig_bcw=" + dokdata.barcode_width.ToString() + " and orig_bch=" + dokdata.barcode_height.ToString();
+ dB.Get_Tabledata(sql, false, true);
+ if (dB.dsdaten.Tables[0].Rows.Count > 0)
+ {
+ Logging.Logging.Debug("Barcode-Übersteuerung" + dokdata.DokumenttypNr.ToString(), "Dokumenterstellung", "");
+ dokdata.barcode_left = Convert.ToInt32(dB.dsdaten.Tables[0].Rows[0]["bcpl"]);
+ dokdata.barcode_top = Convert.ToInt32(dB.dsdaten.Tables[0].Rows[0]["bcpt"]);
+ dokdata.barcode_width = Convert.ToInt32(dB.dsdaten.Tables[0].Rows[0]["bcw"]);
+ dokdata.barcode_height = Convert.ToInt32(dB.dsdaten.Tables[0].Rows[0]["bch"]);
+ }
+ }
+ db.Get_Tabledata("Select * from ondoc_appparams", false, true);
+ dokdata.barcode_font = db.dsdaten.Tables[0].Rows[0]["barcodefont"].ToString();
+ dokdata.barcode_fontsize = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["barcodefontsize"].ToString());
+ dokdata.Zusatz_Font = db.dsdaten.Tables[0].Rows[0]["Zusatzfont"].ToString();
+ dokdata.Zusatz_FontSize = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["ZusatzfontSize"].ToString());
+ dokdata.barcode_textposition = db.dsdaten.Tables[0].Rows[0]["barcodetextposition"].ToString(); ;
+ }
+ clsdocgendata docgendata = new clsdocgendata();
+
+ docgendata.partnernr = dataj.Bp.Partnernummer.ToString().Replace(".","");
+ docgendata.inhaberadresse = "";
+ docgendata.zustelladresse = "";
+ docgendata.dokumenttypnr = dataj.Dokumenttyp.ToString();
+ docgendata.unterschriftLinks = System.Configuration.ConfigurationManager.AppSettings["CLMUnterschriftlinks"].ToString();
+ docgendata.unterschriftRehts = System.Configuration.ConfigurationManager.AppSettings["CLMUnterschriftrechts"].ToString();
+ docgendata.verantwortlich = System.Configuration.ConfigurationManager.AppSettings["CLMVerantwortung"].ToString();
+ docgendata.ersteller = System.Configuration.ConfigurationManager.AppSettings["CLMVerantwortung"].ToString();
+ docgendata.team = System.Configuration.ConfigurationManager.AppSettings["CLMTeam"].ToString();
+ docgendata.digitaleunterschrift = false;
+ docgendata.frormularOhneUnterschrift = false;
+ docgendata.zustaendigkube = System.Configuration.ConfigurationManager.AppSettings["CLMKube"].ToString(); ;
+ docgendata.status = "-1";
+ docgendata.dokumentdatum = DateTime.Now.ToString("dd.MM.yyyy");
+ docgendata.dokumentdatum = DateTime.Now.ToString();
+ docgendata.bezeichnung = bezeichnung;
+
+ dokdata.PartnerNr = docgendata.partnernr;
+ dokdata.UseEDOKA_Values = "True";
+ dokdata.DokumenttypNr = docgendata.dokumenttypnr;
+ dokdata.Unterschrift_Links = docgendata.unterschriftLinks;
+ if (dokdata.Unterschrift_Links == "0") { dokdata.Unterschrift_Links = "-1"; }
+ dokdata.Unterschrift_Rechts = docgendata.unterschriftRehts;
+ if (dokdata.Unterschrift_Rechts == "0") { dokdata.Unterschrift_Rechts = "-1"; }
+ dokdata.Verantwortlich = docgendata.verantwortlich;
+ dokdata.Team = docgendata.team;
+ dokdata.Zustaendig = docgendata.zustaendigkube;
+ dokdata.Zustaendig = docgendata.zustaendigkube;
+ dokdata.Status = docgendata.status;
+ dokdata.Ersteller = docgendata.ersteller;
+ dokdata.DokumentDatum = docgendata.dokumentdatum;
+ dokdata.Termin = "01.01.1900";
+ dokdata.Bezeichnung = docgendata.bezeichnung;
+ dokdata.dokumentwerte = docgendata.dokumentwerte;
+
+ List deflist = new List();
+ foreach (CLMDocItem item in clmdocitemlist)
+ {
+ if (item.type == null || item.type == String.Empty || item.type=="")
+ {
+
+ }else
+ {
+ deflist.Add(item);
+ }
+
+ }
+
+ dokdata.CLMDocItems = deflist;
+
+ //Unterschriftenprüfung
+ dokdata.Form_ohne_Unterschrift = docgendata.frormularOhneUnterschrift.ToString();
+ dokdata.approval1 = 0;
+ dokdata.approval2 = 0;
+ dokdata.approved = 0;
+ if (dokdata.Form_ohne_Unterschrift == "True")
+ {
+ dokdata.Unterschrift_Links = "-1";
+ dokdata.Unterschrift_Rechts = "-1";
+ }
+ if (docgendata.erstellungsart == Erstellungsart.DokumentAlsPDF) { dokdata.Result_as_PDF = "True"; } else { dokdata.Result_as_PDF = "False"; }
+ if (docgendata.digitaleunterschrift == true) { dokdata.As_Faksimile = "True"; } else { dokdata.As_Faksimile = "False"; }
+ // dokdata.dokumentwerte = ToDataTable
+ dokumentid = db.Create_EDOKA_Doc(dokdata, false, "");
+ dokdata.Dokumentid = dokumentid;
+
+ DOCGEN.Generator.DocGenerator_from_EDOKA Generator = new DOCGEN.Generator.DocGenerator_from_EDOKA(this.connectionstring, OwnHost, key.ToString());
+ dok = Generator.Generate_Doc_EDOKA(dokumentid, ref dokdata, false, 0, false, false);
+ db.Save_To_DB(dokumentid, "", dok.dokument);
+ deflist.Clear();
+ clmdocitemlist.Clear();
+ APILogging.Log((HttpRequestMessage)Request, "Ende GenDoc DokumentID:" + dokumentid, LogLevelType.Debug);
+ APILogging.DocLog((HttpRequestMessage)Request, docgendata.partnernr.ToString(), "Dokument über API erstellt", dokumentid, LogLevelType.Info);
+
+ }
+
+
private void send_vs(ref Versandpaket vp, string mitarbeiternr, bool direktversenden, string url, string key, string dokumentid, string partnernr, DokumentCreate doccreate, ref APIErrorSimple apireturn)
{
string jsonstring = JsonConvert.SerializeObject(vp);
@@ -956,8 +1361,36 @@ namespace API_NetFramework.Controllers
}
-
#endregion
}
+ public static class DataTableHelper
+ {
+ public static DataTable ToDataTable(List items)
+ {
+ DataTable table = new DataTable(typeof(T).Name);
+
+ // Properties der Klasse holen
+ PropertyInfo[] properties = typeof(T).GetProperties();
+
+ // Spalten anlegen
+ foreach (PropertyInfo prop in properties)
+ {
+ table.Columns.Add(prop.Name, Nullable.GetUnderlyingType(prop.PropertyType) ?? prop.PropertyType);
+ }
+
+ // Zeilen füllen
+ foreach (T item in items)
+ {
+ DataRow row = table.NewRow();
+ foreach (PropertyInfo prop in properties)
+ {
+ row[prop.Name] = prop.GetValue(item) ?? DBNull.Value;
+ }
+ table.Rows.Add(row);
+ }
+
+ return table;
+ }
+ }
}
diff --git a/API_NetFramework/Controllers/UnterschriftController.cs b/API_NetFramework/Controllers/UnterschriftController.cs
index 125e33ea5..ea3f83b94 100644
--- a/API_NetFramework/Controllers/UnterschriftController.cs
+++ b/API_NetFramework/Controllers/UnterschriftController.cs
@@ -22,6 +22,7 @@ using Helper;
using System.Web.WebPages;
using System.Text;
using Microsoft.Ajax.Utilities;
+using System.Web.Http.Tracing;
@@ -142,7 +143,8 @@ namespace API_NetFramework.Controllers
[Route("API/GetUnterschriftAsBase64New")]
public IHttpActionResult GetUnterschriftAsBase64New(string TGNummer, int ImageWidth = 0, int ImageHeight = 0)
{
-
+
+
if (SecuringWebApiUsingApiKey.Middleware.ApiKeyMiddleware.Authorized((HttpRequestMessage)Request, tokenfunction) == false)
{
//return Content(HttpStatusCode.Unauthorized, "Invalid Token or API-Key");
diff --git a/API_NetFramework/Startup.cs b/API_NetFramework/Startup.cs
index 75d68442a..1b351626b 100644
--- a/API_NetFramework/Startup.cs
+++ b/API_NetFramework/Startup.cs
@@ -16,6 +16,7 @@ namespace OnDocAPI_NetFramework
public void Configuration(IAppBuilder app)
{
var a = 1;
+
diff --git a/API_NetFramework/Web.config b/API_NetFramework/Web.config
index 3ba42bf4a..813a73b54 100644
--- a/API_NetFramework/Web.config
+++ b/API_NetFramework/Web.config
@@ -39,6 +39,12 @@
+
+
+
+
+
+
diff --git a/API_NetFramework/bin/DOCGEN.dll b/API_NetFramework/bin/DOCGEN.dll
index 2ad6cfc6b..9d25b587f 100644
Binary files a/API_NetFramework/bin/DOCGEN.dll and b/API_NetFramework/bin/DOCGEN.dll differ
diff --git a/API_NetFramework/bin/DOCGEN.pdb b/API_NetFramework/bin/DOCGEN.pdb
index 2d2fa1abe..62957d905 100644
Binary files a/API_NetFramework/bin/DOCGEN.pdb and b/API_NetFramework/bin/DOCGEN.pdb differ
diff --git a/API_NetFramework/bin/Database.dll b/API_NetFramework/bin/Database.dll
index fbbe3f949..ed1e14fc2 100644
Binary files a/API_NetFramework/bin/Database.dll and b/API_NetFramework/bin/Database.dll differ
diff --git a/API_NetFramework/bin/Database.pdb b/API_NetFramework/bin/Database.pdb
index 921de6268..fdafff8eb 100644
Binary files a/API_NetFramework/bin/Database.pdb and b/API_NetFramework/bin/Database.pdb differ
diff --git a/API_NetFramework/bin/Model.dll b/API_NetFramework/bin/Model.dll
index 0ec5a240a..589721439 100644
Binary files a/API_NetFramework/bin/Model.dll and b/API_NetFramework/bin/Model.dll differ
diff --git a/API_NetFramework/bin/Model.pdb b/API_NetFramework/bin/Model.pdb
index 7b22f3a3e..bdceac1f0 100644
Binary files a/API_NetFramework/bin/Model.pdb and b/API_NetFramework/bin/Model.pdb differ
diff --git a/API_NetFramework/bin/OnDoc_NetFramework.dll b/API_NetFramework/bin/OnDoc_NetFramework.dll
index 2e2da7ff7..16fdbb6ca 100644
Binary files a/API_NetFramework/bin/OnDoc_NetFramework.dll and b/API_NetFramework/bin/OnDoc_NetFramework.dll differ
diff --git a/API_NetFramework/bin/OnDoc_NetFramework.dll.config b/API_NetFramework/bin/OnDoc_NetFramework.dll.config
index 3ba42bf4a..813a73b54 100644
--- a/API_NetFramework/bin/OnDoc_NetFramework.dll.config
+++ b/API_NetFramework/bin/OnDoc_NetFramework.dll.config
@@ -39,6 +39,12 @@
+
+
+
+
+
+
diff --git a/API_NetFramework/bin/OnDoc_NetFramework.pdb b/API_NetFramework/bin/OnDoc_NetFramework.pdb
index 36842328b..547c3bbdf 100644
Binary files a/API_NetFramework/bin/OnDoc_NetFramework.pdb and b/API_NetFramework/bin/OnDoc_NetFramework.pdb differ
diff --git a/API_NetFramework/bin/System.Web.Http.Tracing.dll b/API_NetFramework/bin/System.Web.Http.Tracing.dll
new file mode 100644
index 000000000..131784f09
Binary files /dev/null and b/API_NetFramework/bin/System.Web.Http.Tracing.dll differ
diff --git a/API_NetFramework/bin/System.Web.Http.Tracing.xml b/API_NetFramework/bin/System.Web.Http.Tracing.xml
new file mode 100644
index 000000000..e7be271d1
--- /dev/null
+++ b/API_NetFramework/bin/System.Web.Http.Tracing.xml
@@ -0,0 +1,58 @@
+
+
+
+ System.Web.Http.Tracing
+
+
+
+ This static class contains helper methods related to the registration of instances.
+
+
+ Creates and registers an implementation to use for this application.
+ The which was created and registered.
+ The for which to register the created trace writer.
+
+
+ Implementation of that traces to
+
+
+
+ Formats the contents of the given into a single string containing comma-separated name-value pairs for each property.
+ A string containing comma-separated name-value pairs.
+ The from which to produce the result.
+
+
+ Formats a for the trace.
+ The formatted as a string
+ The
+
+
+ Formats the given into a string describing either the initial receipt of the incoming request or the final send of the response, depending on .
+ A string containing comma-separated name-value pairs.
+ The from which to produce the result.
+
+
+ Gets or sets a value indicating whether the formatted message should be the verbose format, meaning it displays all fields of the .
+ true means all fields will be traced, false means only minimal information will be traced. The default value is false.
+
+
+ Gets or sets the minimum trace level.
+ Any below this level will be ignored. The default for this property is .
+
+
+ Writes a trace to if the is greater than or equal .
+ The associated with this trace. It may be null but the resulting trace will contain no correlation ID.
+ The category for the trace. This can be any user-defined value. It is not interpreted by this implementation but is written to the trace.
+ The of this trace. If it is less than , this trace request will be ignored.
+ The user callback to invoke to fill in a with additional information to add to the trace.
+
+
+ Gets or sets the to which the traces will be sent.
+ This property allows a custom to be used when writing the traces. This allows an application to configure and use its own other than the default . If the value is null, this trace writer will send traces to .
+
+
+ Examines the given to determine whether it contains an and if so, modifies the to capture more detailed information.
+ The to examine and modify.
+
+
+
\ No newline at end of file
diff --git a/API_NetFramework/log.txt b/API_NetFramework/log.txt
index 106d1bf42..49d0b2fcb 100644
--- a/API_NetFramework/log.txt
+++ b/API_NetFramework/log.txt
@@ -43513,3 +43513,2519 @@ Die Anweisung wurde beendet.
2025-12-27 09:41:34.1687|DEBUG|OnDoc|
2025-12-27 09:41:34.1687|DEBUG|OnDoc|
2025-12-27 09:41:34.1719|DEBUG|OnDoc|
+2025-12-30 09:35:01.8657|DEBUG|OnDoc|
+2025-12-30 09:35:01.9317|DEBUG|OnDoc|
+2025-12-30 09:35:01.9317|DEBUG|OnDoc|
+2025-12-30 09:35:01.9317|DEBUG|OnDoc|
+2025-12-30 09:38:41.7780|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: stefan hutter lokal
+2025-12-30 09:38:41.7933|INFO|OnDoc|Unterschrift-Bezug: stefan hutter lokal
+2026-01-06 12:26:10.2183|DEBUG|OnDoc|
+2026-01-06 12:26:10.2602|DEBUG|OnDoc|
+2026-01-06 12:26:10.2602|DEBUG|OnDoc|
+2026-01-06 12:26:10.2602|DEBUG|OnDoc|
+2026-01-06 12:29:59.0281|DEBUG|OnDoc|
+2026-01-06 12:29:59.1027|DEBUG|OnDoc|
+2026-01-06 12:29:59.1027|DEBUG|OnDoc|
+2026-01-06 12:29:59.1027|DEBUG|OnDoc|
+2026-01-06 12:30:18.8088|INFO|APIDocLog|Start CreateCLM
+2026-01-06 12:30:18.9540|ERROR|OnDoc|Unberechtigter Zugriff
+2026-01-06 12:32:01.7891|INFO|APIDocLog|Start CreateCLM
+2026-01-06 12:32:12.9405|INFO|APIDocLog|Input JSON
+2026-01-06 12:32:24.9867|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 12:32:34.2911|INFO|APIDocLog|Start CreateCLM
+2026-01-06 12:32:34.3536|INFO|APIDocLog|Input JSON
+2026-01-06 12:43:48.7554|DEBUG|OnDoc|
+2026-01-06 12:43:48.8183|DEBUG|OnDoc|
+2026-01-06 12:43:48.8183|DEBUG|OnDoc|
+2026-01-06 12:43:48.8183|DEBUG|OnDoc|
+2026-01-06 12:43:49.0224|INFO|APIDocLog|Start CreateCLM
+2026-01-06 12:43:49.0853|INFO|APIDocLog|Input JSON
+2026-01-06 12:44:06.5475|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 12:44:16.8462|INFO|APIDocLog|Start CreateCLM
+2026-01-06 12:44:16.9219|INFO|APIDocLog|Input JSON
+2026-01-06 12:44:20.0563|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 12:44:32.7191|INFO|APIDocLog|Start CreateCLM
+2026-01-06 12:44:32.7949|INFO|APIDocLog|Input JSON
+2026-01-06 12:44:32.8211|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 12:44:55.6498|INFO|APIDocLog|Start CreateCLM
+2026-01-06 12:44:55.7360|INFO|APIDocLog|Input JSON
+2026-01-06 12:45:10.0481|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 12:45:16.2030|INFO|APIDocLog|Start CreateCLM
+2026-01-06 12:45:16.2831|INFO|APIDocLog|Input JSON
+2026-01-06 12:47:48.6419|DEBUG|OnDoc|
+2026-01-06 12:47:48.6995|DEBUG|OnDoc|
+2026-01-06 12:47:48.6995|DEBUG|OnDoc|
+2026-01-06 12:47:48.6995|DEBUG|OnDoc|
+2026-01-06 12:47:48.8575|INFO|APIDocLog|Start CreateCLM
+2026-01-06 12:47:48.9106|INFO|APIDocLog|Input JSON
+2026-01-06 12:48:25.8259|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 12:48:33.7581|INFO|APIDocLog|Start CreateCLM
+2026-01-06 12:49:34.0295|INFO|APIDocLog|Input JSON
+2026-01-06 12:52:48.2388|DEBUG|OnDoc|
+2026-01-06 12:52:48.3012|DEBUG|OnDoc|
+2026-01-06 12:52:48.3012|DEBUG|OnDoc|
+2026-01-06 12:52:48.3012|DEBUG|OnDoc|
+2026-01-06 12:52:48.5369|INFO|APIDocLog|Start CreateCLM
+2026-01-06 12:52:48.6097|INFO|APIDocLog|Input JSON
+2026-01-06 12:52:48.6315|DEBUG|OnDoc|
+2026-01-06 12:52:48.6315|DEBUG|OnDoc|
+2026-01-06 13:14:15.5826|ERROR|APIDocLog|Error Verify
+2026-01-06 13:24:50.8564|INFO|APIDocLog|Start CreateCLM
+2026-01-06 13:24:50.9353|INFO|APIDocLog|Input JSON
+2026-01-06 13:24:50.9353|DEBUG|OnDoc|
+2026-01-06 13:24:50.9416|DEBUG|OnDoc|
+2026-01-06 13:25:45.9734|DEBUG|OnDoc|
+2026-01-06 13:25:46.0103|DEBUG|OnDoc|
+2026-01-06 13:26:16.1211|ERROR|APIDocLog|Error Verify
+2026-01-06 13:26:18.8545|INFO|APIDocLog|Start CreateCLM
+2026-01-06 13:26:18.8980|INFO|APIDocLog|Input JSON
+2026-01-06 13:26:18.8980|DEBUG|OnDoc|
+2026-01-06 13:26:18.8980|DEBUG|OnDoc|
+2026-01-06 13:26:20.2248|DEBUG|OnDoc|
+2026-01-06 13:26:20.2248|DEBUG|OnDoc|
+2026-01-06 13:26:20.2527|ERROR|APIDocLog|Error Verify
+2026-01-06 13:26:23.6857|INFO|APIDocLog|Start CreateCLM
+2026-01-06 13:26:23.7578|INFO|APIDocLog|Input JSON
+2026-01-06 13:26:23.7578|DEBUG|OnDoc|
+2026-01-06 13:26:23.7578|DEBUG|OnDoc|
+2026-01-06 13:26:46.2317|DEBUG|OnDoc|
+2026-01-06 13:26:46.2667|DEBUG|OnDoc|
+2026-01-06 13:26:52.4228|ERROR|APIDocLog|Error Verify
+2026-01-06 13:26:59.9011|INFO|APIDocLog|Start CreateCLM
+2026-01-06 13:26:59.9962|INFO|APIDocLog|Input JSON
+2026-01-06 13:26:59.9962|DEBUG|OnDoc|
+2026-01-06 13:26:59.9962|DEBUG|OnDoc|
+2026-01-06 13:29:36.4711|DEBUG|OnDoc|
+2026-01-06 13:29:36.5064|DEBUG|OnDoc|
+2026-01-06 13:29:48.7284|ERROR|APIDocLog|Error Verify
+2026-01-06 13:29:51.4945|INFO|APIDocLog|Start CreateCLM
+2026-01-06 13:29:51.5418|INFO|APIDocLog|Input JSON
+2026-01-06 13:29:51.5418|DEBUG|OnDoc|
+2026-01-06 13:29:51.5418|DEBUG|OnDoc|
+2026-01-06 13:29:58.0477|DEBUG|OnDoc|
+2026-01-06 13:29:58.0836|DEBUG|OnDoc|
+2026-01-06 13:30:48.2899|ERROR|APIDocLog|Error Verify
+2026-01-06 13:30:50.4766|INFO|APIDocLog|Start CreateCLM
+2026-01-06 13:30:50.5345|INFO|APIDocLog|Input JSON
+2026-01-06 13:30:50.5375|DEBUG|OnDoc|
+2026-01-06 13:30:50.5375|DEBUG|OnDoc|
+2026-01-06 13:30:54.2437|DEBUG|OnDoc|
+2026-01-06 13:30:54.2437|DEBUG|OnDoc|
+2026-01-06 13:31:00.9026|DEBUG|OnDoc|
+2026-01-06 13:31:00.9139|DEBUG|OnDoc|
+2026-01-06 13:31:00.9139|DEBUG|OnDoc|
+2026-01-06 13:31:00.9139|DEBUG|OnDoc|
+2026-01-06 13:31:00.9139|DEBUG|OnDoc|
+2026-01-06 13:31:00.9139|DEBUG|OnDoc|
+2026-01-06 13:31:00.9139|DEBUG|OnDoc|
+2026-01-06 13:31:00.9139|DEBUG|OnDoc|
+2026-01-06 13:31:00.9139|DEBUG|OnDoc|
+2026-01-06 13:31:00.9272|DEBUG|OnDoc|
+2026-01-06 13:31:00.9533|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 13:42:50.9927|INFO|APIDocLog|Start CreateCLM
+2026-01-06 13:42:51.0824|INFO|APIDocLog|Input JSON
+2026-01-06 13:42:51.0824|DEBUG|OnDoc|
+2026-01-06 13:42:51.0824|DEBUG|OnDoc|
+2026-01-06 13:42:56.0162|DEBUG|OnDoc|
+2026-01-06 13:42:56.0514|DEBUG|OnDoc|
+2026-01-06 13:43:01.1013|DEBUG|OnDoc|
+2026-01-06 13:43:01.1381|DEBUG|OnDoc|
+2026-01-06 13:43:01.1381|DEBUG|OnDoc|
+2026-01-06 13:43:01.1381|DEBUG|OnDoc|
+2026-01-06 13:43:01.1381|DEBUG|OnDoc|
+2026-01-06 13:43:01.1381|DEBUG|OnDoc|
+2026-01-06 13:43:01.1381|DEBUG|OnDoc|
+2026-01-06 13:43:01.1381|DEBUG|OnDoc|
+2026-01-06 13:43:01.1381|DEBUG|OnDoc|
+2026-01-06 13:43:01.1462|DEBUG|OnDoc|
+2026-01-06 13:43:09.8130|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 13:43:18.2872|INFO|APIDocLog|Start CreateCLM
+2026-01-06 13:43:18.3764|INFO|APIDocLog|Input JSON
+2026-01-06 13:43:18.3885|DEBUG|OnDoc|
+2026-01-06 13:43:18.3885|DEBUG|OnDoc|
+2026-01-06 13:43:22.2745|DEBUG|OnDoc|
+2026-01-06 13:43:22.3107|DEBUG|OnDoc|
+2026-01-06 13:43:31.8643|DEBUG|OnDoc|
+2026-01-06 13:43:31.8994|DEBUG|OnDoc|
+2026-01-06 13:43:34.2365|DEBUG|OnDoc|
+2026-01-06 13:43:34.2461|DEBUG|OnDoc|
+2026-01-06 13:43:36.8591|DEBUG|OnDoc|
+2026-01-06 13:43:36.8689|DEBUG|OnDoc|
+2026-01-06 13:43:43.6322|DEBUG|OnDoc|
+2026-01-06 13:43:43.6677|DEBUG|OnDoc|
+2026-01-06 13:43:46.0747|DEBUG|OnDoc|
+2026-01-06 13:43:46.0848|DEBUG|OnDoc|
+2026-01-06 13:43:50.8623|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 13:43:55.9712|INFO|APIDocLog|Start CreateCLM
+2026-01-06 13:43:56.0617|INFO|APIDocLog|Input JSON
+2026-01-06 13:43:56.0617|DEBUG|OnDoc|
+2026-01-06 13:43:56.0667|DEBUG|OnDoc|
+2026-01-06 13:44:03.4334|DEBUG|OnDoc|
+2026-01-06 13:44:03.4879|DEBUG|OnDoc|
+2026-01-06 13:44:08.2368|DEBUG|OnDoc|
+2026-01-06 13:44:08.2730|DEBUG|OnDoc|
+2026-01-06 13:44:10.0282|DEBUG|OnDoc|
+2026-01-06 13:44:10.0387|DEBUG|OnDoc|
+2026-01-06 13:44:13.0426|DEBUG|OnDoc|
+2026-01-06 13:44:13.0535|DEBUG|OnDoc|
+2026-01-06 13:44:23.0835|DEBUG|OnDoc|
+2026-01-06 13:44:23.1193|DEBUG|OnDoc|
+2026-01-06 13:44:26.5362|DEBUG|OnDoc|
+2026-01-06 13:44:26.5727|DEBUG|OnDoc|
+2026-01-06 13:44:32.7867|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 13:44:35.5114|INFO|APIDocLog|Start CreateCLM
+2026-01-06 13:44:35.5721|INFO|APIDocLog|Input JSON
+2026-01-06 13:44:35.5721|DEBUG|OnDoc|
+2026-01-06 13:44:35.5721|DEBUG|OnDoc|
+2026-01-06 13:44:35.5721|DEBUG|OnDoc|
+2026-01-06 13:44:35.5721|DEBUG|OnDoc|
+2026-01-06 13:44:47.9448|DEBUG|OnDoc|
+2026-01-06 13:44:48.0081|DEBUG|OnDoc|
+2026-01-06 13:44:48.0081|DEBUG|OnDoc|
+2026-01-06 13:44:48.0081|DEBUG|OnDoc|
+2026-01-06 13:44:48.0081|DEBUG|OnDoc|
+2026-01-06 13:44:48.0081|DEBUG|OnDoc|
+2026-01-06 13:44:48.0081|DEBUG|OnDoc|
+2026-01-06 13:44:48.0081|DEBUG|OnDoc|
+2026-01-06 13:44:48.0081|DEBUG|OnDoc|
+2026-01-06 13:44:48.0081|DEBUG|OnDoc|
+2026-01-06 13:45:43.2969|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 13:45:45.9402|INFO|APIDocLog|Start CreateCLM
+2026-01-06 13:45:46.0352|INFO|APIDocLog|Input JSON
+2026-01-06 13:45:46.0352|DEBUG|OnDoc|
+2026-01-06 13:45:46.0352|DEBUG|OnDoc|
+2026-01-06 13:45:46.0513|DEBUG|OnDoc|
+2026-01-06 13:45:46.0513|DEBUG|OnDoc|
+2026-01-06 13:45:47.9740|DEBUG|OnDoc|
+2026-01-06 13:45:47.9740|DEBUG|OnDoc|
+2026-01-06 13:45:47.9740|DEBUG|OnDoc|
+2026-01-06 13:45:47.9740|DEBUG|OnDoc|
+2026-01-06 13:45:47.9740|DEBUG|OnDoc|
+2026-01-06 13:45:47.9740|DEBUG|OnDoc|
+2026-01-06 13:45:47.9884|DEBUG|OnDoc|
+2026-01-06 13:45:47.9884|DEBUG|OnDoc|
+2026-01-06 13:45:47.9884|DEBUG|OnDoc|
+2026-01-06 13:45:47.9884|DEBUG|OnDoc|
+2026-01-06 13:46:19.4507|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 13:46:23.6062|INFO|APIDocLog|Start CreateCLM
+2026-01-06 13:46:23.7205|INFO|APIDocLog|Input JSON
+2026-01-06 13:46:23.7314|DEBUG|OnDoc|
+2026-01-06 13:46:23.7314|DEBUG|OnDoc|
+2026-01-06 13:46:23.7314|DEBUG|OnDoc|
+2026-01-06 13:46:23.7314|DEBUG|OnDoc|
+2026-01-06 13:46:30.1395|DEBUG|OnDoc|
+2026-01-06 13:46:30.1751|DEBUG|OnDoc|
+2026-01-06 13:46:31.4049|DEBUG|OnDoc|
+2026-01-06 13:46:31.4141|DEBUG|OnDoc|
+2026-01-06 13:46:33.2149|DEBUG|OnDoc|
+2026-01-06 13:46:33.2253|DEBUG|OnDoc|
+2026-01-06 13:46:41.1107|DEBUG|OnDoc|
+2026-01-06 13:46:41.1888|DEBUG|OnDoc|
+2026-01-06 13:46:41.1928|DEBUG|OnDoc|
+2026-01-06 13:46:41.1928|DEBUG|OnDoc|
+2026-01-06 13:47:07.0515|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 13:47:36.5289|DEBUG|OnDoc|
+2026-01-06 13:47:36.5845|DEBUG|OnDoc|
+2026-01-06 13:47:36.5845|DEBUG|OnDoc|
+2026-01-06 13:47:36.5845|DEBUG|OnDoc|
+2026-01-06 13:47:36.6721|INFO|APIDocLog|Start CreateCLM
+2026-01-06 13:47:36.7642|INFO|APIDocLog|Input JSON
+2026-01-06 13:47:36.8005|DEBUG|OnDoc|
+2026-01-06 13:47:36.8005|DEBUG|OnDoc|
+2026-01-06 13:47:36.8005|DEBUG|OnDoc|
+2026-01-06 13:47:36.8005|DEBUG|OnDoc|
+2026-01-06 13:47:39.1332|DEBUG|OnDoc|
+2026-01-06 13:47:39.1332|DEBUG|OnDoc|
+2026-01-06 13:47:39.1458|DEBUG|OnDoc|
+2026-01-06 13:47:39.1458|DEBUG|OnDoc|
+2026-01-06 13:47:39.1458|DEBUG|OnDoc|
+2026-01-06 13:47:39.1458|DEBUG|OnDoc|
+2026-01-06 13:47:39.1458|DEBUG|OnDoc|
+2026-01-06 13:47:39.1458|DEBUG|OnDoc|
+2026-01-06 13:47:39.1458|DEBUG|OnDoc|
+2026-01-06 13:47:39.1458|DEBUG|OnDoc|
+2026-01-06 13:48:10.0479|DEBUG|OnDoc|
+2026-01-06 13:48:10.0554|DEBUG|OnDoc|
+2026-01-06 13:48:17.2130|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 13:49:21.1948|INFO|APIDocLog|Start CreateCLM
+2026-01-06 13:49:21.2918|INFO|APIDocLog|Input JSON
+2026-01-06 13:49:21.2918|DEBUG|OnDoc|
+2026-01-06 13:49:21.2918|DEBUG|OnDoc|
+2026-01-06 13:49:21.2918|DEBUG|OnDoc|
+2026-01-06 13:49:21.2918|DEBUG|OnDoc|
+2026-01-06 13:49:23.3519|DEBUG|OnDoc|
+2026-01-06 13:49:23.3519|DEBUG|OnDoc|
+2026-01-06 13:49:23.3637|DEBUG|OnDoc|
+2026-01-06 13:49:23.3637|DEBUG|OnDoc|
+2026-01-06 13:49:23.3637|DEBUG|OnDoc|
+2026-01-06 13:49:23.3637|DEBUG|OnDoc|
+2026-01-06 13:49:23.3637|DEBUG|OnDoc|
+2026-01-06 13:49:23.3637|DEBUG|OnDoc|
+2026-01-06 13:49:23.3637|DEBUG|OnDoc|
+2026-01-06 13:49:23.3637|DEBUG|OnDoc|
+2026-01-06 13:49:28.8852|DEBUG|OnDoc|
+2026-01-06 13:49:28.8852|DEBUG|OnDoc|
+2026-01-06 13:49:31.2666|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 14:26:25.6135|INFO|APIDocLog|Start CreateCLM
+2026-01-06 14:26:25.6932|INFO|APIDocLog|Input JSON
+2026-01-06 14:26:25.6932|DEBUG|OnDoc|
+2026-01-06 14:26:25.6932|DEBUG|OnDoc|
+2026-01-06 14:26:25.6932|DEBUG|OnDoc|
+2026-01-06 14:26:25.6932|DEBUG|OnDoc|
+2026-01-06 14:26:31.1561|DEBUG|OnDoc|
+2026-01-06 14:26:31.1934|DEBUG|OnDoc|
+2026-01-06 14:26:31.1934|DEBUG|OnDoc|
+2026-01-06 14:26:31.1934|DEBUG|OnDoc|
+2026-01-06 14:26:31.1934|DEBUG|OnDoc|
+2026-01-06 14:26:31.1934|DEBUG|OnDoc|
+2026-01-06 14:26:31.1934|DEBUG|OnDoc|
+2026-01-06 14:26:31.1934|DEBUG|OnDoc|
+2026-01-06 14:26:31.1934|DEBUG|OnDoc|
+2026-01-06 14:26:31.1934|DEBUG|OnDoc|
+2026-01-06 14:27:10.0680|DEBUG|OnDoc|
+2026-01-06 14:27:10.1047|DEBUG|OnDoc|
+2026-01-06 14:27:28.5719|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 14:27:48.2937|INFO|APIDocLog|Start CreateCLM
+2026-01-06 14:27:48.3731|INFO|APIDocLog|Input JSON
+2026-01-06 14:27:48.3731|DEBUG|OnDoc|
+2026-01-06 14:27:48.3731|DEBUG|OnDoc|
+2026-01-06 14:27:48.3788|DEBUG|OnDoc|
+2026-01-06 14:27:48.3788|DEBUG|OnDoc|
+2026-01-06 14:27:48.3788|DEBUG|OnDoc|
+2026-01-06 14:27:48.3788|DEBUG|OnDoc|
+2026-01-06 14:27:48.3788|DEBUG|OnDoc|
+2026-01-06 14:27:48.3788|DEBUG|OnDoc|
+2026-01-06 14:27:48.3788|DEBUG|OnDoc|
+2026-01-06 14:27:48.3788|DEBUG|OnDoc|
+2026-01-06 14:27:48.3788|DEBUG|OnDoc|
+2026-01-06 14:27:48.3788|DEBUG|OnDoc|
+2026-01-06 14:27:48.3788|DEBUG|OnDoc|
+2026-01-06 14:27:48.3788|DEBUG|OnDoc|
+2026-01-06 14:28:03.2323|DEBUG|OnDoc|
+2026-01-06 14:28:03.2323|DEBUG|OnDoc|
+2026-01-06 14:28:50.1569|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 19:25:46.5644|DEBUG|OnDoc|
+2026-01-06 19:25:46.6227|DEBUG|OnDoc|
+2026-01-06 19:25:46.6227|DEBUG|OnDoc|
+2026-01-06 19:25:46.6227|DEBUG|OnDoc|
+2026-01-06 19:25:46.8068|INFO|APIDocLog|Start CreateCLM
+2026-01-06 19:25:46.8783|INFO|APIDocLog|Input JSON
+2026-01-06 19:25:46.8983|DEBUG|OnDoc|
+2026-01-06 19:25:46.8983|DEBUG|OnDoc|
+2026-01-06 19:25:46.8983|DEBUG|OnDoc|
+2026-01-06 19:25:46.8983|DEBUG|OnDoc|
+2026-01-06 19:25:46.9204|DEBUG|OnDoc|
+2026-01-06 19:25:46.9204|DEBUG|OnDoc|
+2026-01-06 19:25:46.9204|DEBUG|OnDoc|
+2026-01-06 19:25:46.9204|DEBUG|OnDoc|
+2026-01-06 19:25:46.9204|DEBUG|OnDoc|
+2026-01-06 19:25:46.9204|DEBUG|OnDoc|
+2026-01-06 19:25:46.9204|DEBUG|OnDoc|
+2026-01-06 19:25:46.9204|DEBUG|OnDoc|
+2026-01-06 19:25:46.9259|DEBUG|OnDoc|
+2026-01-06 19:25:46.9259|DEBUG|OnDoc|
+2026-01-06 19:26:15.1848|DEBUG|OnDoc|
+2026-01-06 19:26:15.1848|DEBUG|OnDoc|
+2026-01-06 19:26:26.4495|ERROR|APIDocLog|ONDOC-ERR-CreateCLM
+2026-01-06 19:56:11.8896|INFO|APIDocLog|Start CreateCLM
+2026-01-06 19:56:11.9575|INFO|APIDocLog|Input JSON
+2026-01-06 19:56:11.9575|DEBUG|OnDoc|
+2026-01-06 19:56:11.9575|DEBUG|OnDoc|
+2026-01-06 19:56:11.9575|DEBUG|OnDoc|
+2026-01-06 19:56:11.9575|DEBUG|OnDoc|
+2026-01-06 19:56:11.9575|DEBUG|OnDoc|
+2026-01-06 19:56:11.9575|DEBUG|OnDoc|
+2026-01-06 19:56:11.9575|DEBUG|OnDoc|
+2026-01-06 19:56:11.9575|DEBUG|OnDoc|
+2026-01-06 19:56:11.9575|DEBUG|OnDoc|
+2026-01-06 19:56:11.9575|DEBUG|OnDoc|
+2026-01-06 19:56:11.9575|DEBUG|OnDoc|
+2026-01-06 19:56:11.9575|DEBUG|OnDoc|
+2026-01-06 19:56:11.9575|DEBUG|OnDoc|
+2026-01-06 19:56:11.9575|DEBUG|OnDoc|
+2026-01-06 19:56:21.1363|DEBUG|OnDoc|
+2026-01-06 19:56:21.1363|DEBUG|OnDoc|
+2026-01-06 19:57:02.7700|DEBUG|OnDoc|
+2026-01-06 19:57:02.8062|DEBUG|OnDoc|
+2026-01-06 19:57:29.3587|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-06 19:57:30.4634|DEBUG|OnDoc|
+2026-01-06 19:57:30.4819|DEBUG|OnDoc|
+2026-01-06 19:57:32.0740|DEBUG|OnDoc|
+2026-01-06 19:57:32.0857|DEBUG|OnDoc|
+2026-01-06 19:57:34.0437|DEBUG|OnDoc|
+2026-01-06 19:57:34.0619|DEBUG|OnDoc|
+2026-01-06 19:57:34.0619|DEBUG|OnDoc|
+2026-01-06 19:57:34.0694|DEBUG|OnDoc|
+2026-01-06 19:57:35.3474|DEBUG|OnDoc|Generate_Word
+2026-01-06 19:57:37.1819|DEBUG|OnDoc|Word2013
+2026-01-06 19:57:37.1819|DEBUG|OnDoc|Word2013
+2026-01-06 19:57:39.0373|DEBUG|OnDoc|Generate_Word
+2026-01-06 19:57:45.2316|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000083
+2026-01-06 19:57:45.7490|INFO|DocLog|Dokument über API erstellt
+2026-01-06 19:57:47.5168|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-06 19:59:41.2077|INFO|APIDocLog|Start CreateCLM
+2026-01-06 19:59:41.2809|INFO|APIDocLog|Input JSON
+2026-01-06 19:59:41.2860|DEBUG|OnDoc|
+2026-01-06 19:59:41.2860|DEBUG|OnDoc|
+2026-01-06 19:59:41.2860|DEBUG|OnDoc|
+2026-01-06 19:59:41.2860|DEBUG|OnDoc|
+2026-01-06 19:59:41.2860|DEBUG|OnDoc|
+2026-01-06 19:59:41.2860|DEBUG|OnDoc|
+2026-01-06 19:59:41.2860|DEBUG|OnDoc|
+2026-01-06 19:59:41.2860|DEBUG|OnDoc|
+2026-01-06 19:59:41.2860|DEBUG|OnDoc|
+2026-01-06 19:59:41.2860|DEBUG|OnDoc|
+2026-01-06 19:59:41.2860|DEBUG|OnDoc|
+2026-01-06 19:59:41.2860|DEBUG|OnDoc|
+2026-01-06 19:59:41.2860|DEBUG|OnDoc|
+2026-01-06 19:59:41.2860|DEBUG|OnDoc|
+2026-01-06 19:59:49.2874|DEBUG|OnDoc|
+2026-01-06 19:59:49.2874|DEBUG|OnDoc|
+2026-01-06 20:00:21.7704|DEBUG|OnDoc|
+2026-01-06 20:00:21.8055|DEBUG|OnDoc|
+2026-01-06 20:00:24.8390|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-06 20:00:24.8490|DEBUG|OnDoc|
+2026-01-06 20:00:24.8490|DEBUG|OnDoc|
+2026-01-06 20:00:24.8490|DEBUG|OnDoc|
+2026-01-06 20:00:24.8490|DEBUG|OnDoc|
+2026-01-06 20:00:24.8490|DEBUG|OnDoc|
+2026-01-06 20:00:24.8698|DEBUG|OnDoc|
+2026-01-06 20:00:24.8698|DEBUG|OnDoc|
+2026-01-06 20:00:24.8698|DEBUG|OnDoc|
+2026-01-06 20:00:24.8698|DEBUG|OnDoc|Generate_Word
+2026-01-06 20:00:24.9110|DEBUG|OnDoc|Word2013
+2026-01-06 20:00:24.9110|DEBUG|OnDoc|Word2013
+2026-01-06 20:00:25.8271|DEBUG|OnDoc|Generate_Word
+2026-01-06 20:00:26.8461|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000099
+2026-01-06 20:00:27.7966|INFO|DocLog|Dokument über API erstellt
+2026-01-06 20:00:29.3086|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-07 08:11:09.0539|DEBUG|OnDoc|
+2026-01-07 08:11:09.1152|DEBUG|OnDoc|
+2026-01-07 08:11:09.1152|DEBUG|OnDoc|
+2026-01-07 08:11:09.1152|DEBUG|OnDoc|
+2026-01-07 08:11:17.5000|INFO|APIDocLog|Start CreateCLM
+2026-01-07 08:11:17.5961|INFO|APIDocLog|Input JSON
+2026-01-07 08:11:17.6126|DEBUG|OnDoc|
+2026-01-07 08:11:17.6126|DEBUG|OnDoc|
+2026-01-07 08:11:17.6126|DEBUG|OnDoc|
+2026-01-07 08:11:17.6126|DEBUG|OnDoc|
+2026-01-07 08:11:17.6350|DEBUG|OnDoc|
+2026-01-07 08:11:17.6350|DEBUG|OnDoc|
+2026-01-07 08:11:17.6350|DEBUG|OnDoc|
+2026-01-07 08:11:17.6350|DEBUG|OnDoc|
+2026-01-07 08:11:17.6350|DEBUG|OnDoc|
+2026-01-07 08:11:17.6428|DEBUG|OnDoc|
+2026-01-07 08:11:17.6428|DEBUG|OnDoc|
+2026-01-07 08:11:17.6428|DEBUG|OnDoc|
+2026-01-07 08:11:17.6428|DEBUG|OnDoc|
+2026-01-07 08:11:17.6428|DEBUG|OnDoc|
+2026-01-07 08:11:17.6976|DEBUG|OnDoc|
+2026-01-07 08:11:17.6976|DEBUG|OnDoc|
+2026-01-07 08:11:22.1804|DEBUG|OnDoc|
+2026-01-07 08:11:22.1935|DEBUG|OnDoc|
+2026-01-07 08:12:38.3848|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 08:12:39.3786|DEBUG|OnDoc|
+2026-01-07 08:12:39.3986|DEBUG|OnDoc|
+2026-01-07 08:12:40.4775|DEBUG|OnDoc|
+2026-01-07 08:12:40.4866|DEBUG|OnDoc|
+2026-01-07 08:12:52.3559|DEBUG|OnDoc|
+2026-01-07 08:12:52.4037|DEBUG|OnDoc|
+2026-01-07 08:12:52.4037|DEBUG|OnDoc|
+2026-01-07 08:12:52.4119|DEBUG|OnDoc|
+2026-01-07 08:12:53.9277|DEBUG|OnDoc|Generate_Word
+2026-01-07 08:12:55.7731|DEBUG|OnDoc|Word2013
+2026-01-07 08:12:55.7731|DEBUG|OnDoc|Word2013
+2026-01-07 08:12:57.3828|DEBUG|OnDoc|Generate_Word
+2026-01-07 08:13:06.9563|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000106
+2026-01-07 08:13:06.9922|INFO|DocLog|Dokument über API erstellt
+2026-01-07 08:13:06.9922|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-07 08:13:24.5188|INFO|APIDocLog|Start CreateCLM
+2026-01-07 08:13:24.5807|INFO|APIDocLog|Input JSON
+2026-01-07 08:13:24.5807|DEBUG|OnDoc|
+2026-01-07 08:13:24.5807|DEBUG|OnDoc|
+2026-01-07 08:13:24.5807|DEBUG|OnDoc|
+2026-01-07 08:13:24.5807|DEBUG|OnDoc|
+2026-01-07 08:13:24.5807|DEBUG|OnDoc|
+2026-01-07 08:13:24.5807|DEBUG|OnDoc|
+2026-01-07 08:13:24.5807|DEBUG|OnDoc|
+2026-01-07 08:13:24.5807|DEBUG|OnDoc|
+2026-01-07 08:13:24.5807|DEBUG|OnDoc|
+2026-01-07 08:13:24.5807|DEBUG|OnDoc|
+2026-01-07 08:13:24.5807|DEBUG|OnDoc|
+2026-01-07 08:13:24.5807|DEBUG|OnDoc|
+2026-01-07 08:13:24.5807|DEBUG|OnDoc|
+2026-01-07 08:13:24.5807|DEBUG|OnDoc|
+2026-01-07 08:13:24.6134|DEBUG|OnDoc|
+2026-01-07 08:13:24.6134|DEBUG|OnDoc|
+2026-01-07 08:13:24.6438|DEBUG|OnDoc|
+2026-01-07 08:13:24.6438|DEBUG|OnDoc|
+2026-01-07 08:13:31.7534|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 08:13:33.6008|DEBUG|OnDoc|
+2026-01-07 08:13:33.6510|DEBUG|OnDoc|
+2026-01-07 08:13:36.3929|DEBUG|OnDoc|
+2026-01-07 08:13:36.3929|DEBUG|OnDoc|
+2026-01-07 08:13:41.9219|DEBUG|OnDoc|
+2026-01-07 08:13:41.9626|DEBUG|OnDoc|
+2026-01-07 08:13:41.9626|DEBUG|OnDoc|
+2026-01-07 08:13:41.9626|DEBUG|OnDoc|
+2026-01-07 08:13:44.5088|DEBUG|OnDoc|Generate_Word
+2026-01-07 08:13:45.9204|DEBUG|OnDoc|Word2013
+2026-01-07 08:13:45.9291|DEBUG|OnDoc|Word2013
+2026-01-07 08:13:54.2578|DEBUG|OnDoc|Word2013
+2026-01-07 08:13:54.8269|DEBUG|OnDoc|Word2013
+2026-01-07 08:19:14.8096|DEBUG|OnDoc|Generate_Word
+2026-01-07 08:19:14.8459|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000114
+2026-01-07 08:19:14.8481|INFO|DocLog|Dokument über API erstellt
+2026-01-07 08:19:14.8481|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-07 08:21:43.3924|INFO|APIDocLog|Start CreateCLM
+2026-01-07 08:21:43.4554|INFO|APIDocLog|Input JSON
+2026-01-07 08:21:43.4554|DEBUG|OnDoc|
+2026-01-07 08:21:43.4554|DEBUG|OnDoc|
+2026-01-07 08:21:43.4554|DEBUG|OnDoc|
+2026-01-07 08:21:43.4554|DEBUG|OnDoc|
+2026-01-07 08:21:43.4554|DEBUG|OnDoc|
+2026-01-07 08:21:43.4554|DEBUG|OnDoc|
+2026-01-07 08:21:43.4554|DEBUG|OnDoc|
+2026-01-07 08:21:43.4554|DEBUG|OnDoc|
+2026-01-07 08:21:43.4554|DEBUG|OnDoc|
+2026-01-07 08:21:43.4554|DEBUG|OnDoc|
+2026-01-07 08:21:43.4554|DEBUG|OnDoc|
+2026-01-07 08:21:43.4554|DEBUG|OnDoc|
+2026-01-07 08:21:43.4554|DEBUG|OnDoc|
+2026-01-07 08:21:43.4554|DEBUG|OnDoc|
+2026-01-07 08:21:43.4862|DEBUG|OnDoc|
+2026-01-07 08:21:43.4872|DEBUG|OnDoc|
+2026-01-07 08:21:43.5150|DEBUG|OnDoc|
+2026-01-07 08:21:43.5180|DEBUG|OnDoc|
+2026-01-07 08:21:46.0164|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 08:21:46.0263|DEBUG|OnDoc|
+2026-01-07 08:21:46.0353|DEBUG|OnDoc|
+2026-01-07 08:21:46.0353|DEBUG|OnDoc|
+2026-01-07 08:21:46.0353|DEBUG|OnDoc|
+2026-01-07 08:21:46.0353|DEBUG|OnDoc|
+2026-01-07 08:21:46.0353|DEBUG|OnDoc|
+2026-01-07 08:21:46.0353|DEBUG|OnDoc|
+2026-01-07 08:21:46.0518|DEBUG|OnDoc|
+2026-01-07 08:21:46.0518|DEBUG|OnDoc|Generate_Word
+2026-01-07 08:21:46.0872|DEBUG|OnDoc|Word2013
+2026-01-07 08:21:46.0872|DEBUG|OnDoc|Word2013
+2026-01-07 08:21:53.9279|DEBUG|OnDoc|Generate_Word
+2026-01-07 08:21:53.9643|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000122
+2026-01-07 08:21:53.9643|INFO|DocLog|Dokument über API erstellt
+2026-01-07 08:21:53.9643|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-07 10:10:27.2809|DEBUG|OnDoc|
+2026-01-07 10:10:27.3373|DEBUG|OnDoc|
+2026-01-07 10:10:27.3373|DEBUG|OnDoc|
+2026-01-07 10:10:27.3373|DEBUG|OnDoc|
+2026-01-07 10:10:27.5220|INFO|APIDocLog|Start CreateCLM
+2026-01-07 10:10:27.5892|INFO|APIDocLog|Input JSON
+2026-01-07 10:10:27.6123|DEBUG|OnDoc|
+2026-01-07 10:10:27.6123|DEBUG|OnDoc|
+2026-01-07 10:10:27.6123|DEBUG|OnDoc|
+2026-01-07 10:10:27.6123|DEBUG|OnDoc|
+2026-01-07 10:10:27.6368|DEBUG|OnDoc|
+2026-01-07 10:10:27.6368|DEBUG|OnDoc|
+2026-01-07 10:10:27.6368|DEBUG|OnDoc|
+2026-01-07 10:10:27.6368|DEBUG|OnDoc|
+2026-01-07 10:10:27.6368|DEBUG|OnDoc|
+2026-01-07 10:10:27.6368|DEBUG|OnDoc|
+2026-01-07 10:10:27.6368|DEBUG|OnDoc|
+2026-01-07 10:10:27.6368|DEBUG|OnDoc|
+2026-01-07 10:10:27.6429|DEBUG|OnDoc|
+2026-01-07 10:10:27.6429|DEBUG|OnDoc|
+2026-01-07 10:10:27.6920|DEBUG|OnDoc|
+2026-01-07 10:10:27.6920|DEBUG|OnDoc|
+2026-01-07 10:10:27.7377|DEBUG|OnDoc|
+2026-01-07 10:10:27.7377|DEBUG|OnDoc|
+2026-01-07 10:10:31.5192|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 10:10:31.5192|DEBUG|OnDoc|
+2026-01-07 10:10:31.5447|DEBUG|OnDoc|
+2026-01-07 10:10:31.5447|DEBUG|OnDoc|
+2026-01-07 10:10:31.5447|DEBUG|OnDoc|
+2026-01-07 10:10:31.5447|DEBUG|OnDoc|
+2026-01-07 10:10:31.5582|DEBUG|OnDoc|
+2026-01-07 10:10:31.5582|DEBUG|OnDoc|
+2026-01-07 10:10:31.5582|DEBUG|OnDoc|
+2026-01-07 10:10:31.5667|DEBUG|OnDoc|Generate_Word
+2026-01-07 10:10:31.9836|DEBUG|OnDoc|Word2013
+2026-01-07 10:10:31.9926|DEBUG|OnDoc|Word2013
+2026-01-07 10:10:34.5127|DEBUG|OnDoc|Generate_Word
+2026-01-07 10:10:34.5265|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000138
+2026-01-07 10:10:34.5265|INFO|DocLog|Dokument über API erstellt
+2026-01-07 10:10:34.5265|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-07 10:10:48.6464|INFO|APIDocLog|Start CreateCLM
+2026-01-07 10:10:48.7086|INFO|APIDocLog|Input JSON
+2026-01-07 10:10:48.7086|DEBUG|OnDoc|
+2026-01-07 10:10:48.7086|DEBUG|OnDoc|
+2026-01-07 10:10:48.7086|DEBUG|OnDoc|
+2026-01-07 10:10:48.7086|DEBUG|OnDoc|
+2026-01-07 10:10:48.7086|DEBUG|OnDoc|
+2026-01-07 10:10:48.7086|DEBUG|OnDoc|
+2026-01-07 10:10:48.7086|DEBUG|OnDoc|
+2026-01-07 10:10:48.7086|DEBUG|OnDoc|
+2026-01-07 10:10:48.7086|DEBUG|OnDoc|
+2026-01-07 10:10:48.7086|DEBUG|OnDoc|
+2026-01-07 10:10:48.7086|DEBUG|OnDoc|
+2026-01-07 10:10:48.7086|DEBUG|OnDoc|
+2026-01-07 10:10:48.7086|DEBUG|OnDoc|
+2026-01-07 10:10:48.7086|DEBUG|OnDoc|
+2026-01-07 10:10:48.7408|DEBUG|OnDoc|
+2026-01-07 10:10:48.7408|DEBUG|OnDoc|
+2026-01-07 10:10:48.7705|DEBUG|OnDoc|
+2026-01-07 10:10:48.7705|DEBUG|OnDoc|
+2026-01-07 10:10:51.0858|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 10:10:51.0962|DEBUG|OnDoc|
+2026-01-07 10:10:51.0962|DEBUG|OnDoc|
+2026-01-07 10:10:51.1127|DEBUG|OnDoc|
+2026-01-07 10:10:51.1127|DEBUG|OnDoc|
+2026-01-07 10:10:51.1127|DEBUG|OnDoc|
+2026-01-07 10:10:51.1290|DEBUG|OnDoc|
+2026-01-07 10:10:51.1290|DEBUG|OnDoc|
+2026-01-07 10:10:51.1290|DEBUG|OnDoc|
+2026-01-07 10:10:51.1290|DEBUG|OnDoc|Generate_Word
+2026-01-07 10:10:51.1751|DEBUG|OnDoc|Word2013
+2026-01-07 10:10:51.1751|DEBUG|OnDoc|Word2013
+2026-01-07 10:31:19.7303|DEBUG|OnDoc|Generate_Word
+2026-01-07 10:31:19.7696|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000143
+2026-01-07 10:31:19.7696|INFO|DocLog|Dokument über API erstellt
+2026-01-07 10:31:19.7696|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-07 10:32:07.1166|INFO|APIDocLog|Start CreateCLM
+2026-01-07 10:32:07.1947|INFO|APIDocLog|Input JSON
+2026-01-07 10:32:07.1947|DEBUG|OnDoc|
+2026-01-07 10:32:07.1947|DEBUG|OnDoc|
+2026-01-07 10:32:07.1947|DEBUG|OnDoc|
+2026-01-07 10:32:07.1947|DEBUG|OnDoc|
+2026-01-07 10:32:07.1947|DEBUG|OnDoc|
+2026-01-07 10:32:07.1947|DEBUG|OnDoc|
+2026-01-07 10:32:07.1947|DEBUG|OnDoc|
+2026-01-07 10:32:07.2056|DEBUG|OnDoc|
+2026-01-07 10:32:07.2056|DEBUG|OnDoc|
+2026-01-07 10:32:07.2056|DEBUG|OnDoc|
+2026-01-07 10:32:07.2056|DEBUG|OnDoc|
+2026-01-07 10:32:07.2056|DEBUG|OnDoc|
+2026-01-07 10:32:07.2056|DEBUG|OnDoc|
+2026-01-07 10:32:07.2056|DEBUG|OnDoc|
+2026-01-07 10:32:07.2446|DEBUG|OnDoc|
+2026-01-07 10:32:07.2446|DEBUG|OnDoc|
+2026-01-07 10:32:07.2947|DEBUG|OnDoc|
+2026-01-07 10:32:07.2947|DEBUG|OnDoc|
+2026-01-07 10:32:11.2937|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 10:32:11.3299|DEBUG|OnDoc|
+2026-01-07 10:32:11.3467|DEBUG|OnDoc|
+2026-01-07 10:32:11.3467|DEBUG|OnDoc|
+2026-01-07 10:32:11.3467|DEBUG|OnDoc|
+2026-01-07 10:32:11.3467|DEBUG|OnDoc|
+2026-01-07 10:32:11.3632|DEBUG|OnDoc|
+2026-01-07 10:32:11.3632|DEBUG|OnDoc|
+2026-01-07 10:32:11.3632|DEBUG|OnDoc|
+2026-01-07 10:32:11.3792|DEBUG|OnDoc|Generate_Word
+2026-01-07 10:32:11.4173|DEBUG|OnDoc|Word2013
+2026-01-07 10:32:11.4173|DEBUG|OnDoc|Word2013
+2026-01-07 10:32:31.3493|DEBUG|OnDoc|Generate_Word
+2026-01-07 10:32:31.3864|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000159
+2026-01-07 10:32:31.3864|INFO|DocLog|Dokument über API erstellt
+2026-01-07 10:32:31.3864|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-07 10:32:41.3701|INFO|APIDocLog|Start CreateCLM
+2026-01-07 10:32:41.4501|INFO|APIDocLog|Input JSON
+2026-01-07 10:32:41.4501|DEBUG|OnDoc|
+2026-01-07 10:32:41.4501|DEBUG|OnDoc|
+2026-01-07 10:32:41.4555|DEBUG|OnDoc|
+2026-01-07 10:32:41.4555|DEBUG|OnDoc|
+2026-01-07 10:32:41.4555|DEBUG|OnDoc|
+2026-01-07 10:32:41.4555|DEBUG|OnDoc|
+2026-01-07 10:32:41.4555|DEBUG|OnDoc|
+2026-01-07 10:32:41.4555|DEBUG|OnDoc|
+2026-01-07 10:32:41.4555|DEBUG|OnDoc|
+2026-01-07 10:32:41.4555|DEBUG|OnDoc|
+2026-01-07 10:32:41.4555|DEBUG|OnDoc|
+2026-01-07 10:32:41.4555|DEBUG|OnDoc|
+2026-01-07 10:32:41.4555|DEBUG|OnDoc|
+2026-01-07 10:32:41.4555|DEBUG|OnDoc|
+2026-01-07 10:32:41.4954|DEBUG|OnDoc|
+2026-01-07 10:32:41.4954|DEBUG|OnDoc|
+2026-01-07 10:32:41.5379|DEBUG|OnDoc|
+2026-01-07 10:32:41.5379|DEBUG|OnDoc|
+2026-01-07 10:32:41.5700|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 10:32:41.5700|DEBUG|OnDoc|
+2026-01-07 10:32:41.5813|DEBUG|OnDoc|
+2026-01-07 10:32:41.5813|DEBUG|OnDoc|
+2026-01-07 10:32:41.5813|DEBUG|OnDoc|
+2026-01-07 10:32:41.5813|DEBUG|OnDoc|
+2026-01-07 10:32:41.5813|DEBUG|OnDoc|
+2026-01-07 10:32:41.5813|DEBUG|OnDoc|
+2026-01-07 10:32:41.5813|DEBUG|OnDoc|
+2026-01-07 10:32:41.5813|DEBUG|OnDoc|Generate_Word
+2026-01-07 10:32:41.6328|DEBUG|OnDoc|Word2013
+2026-01-07 10:32:41.6328|DEBUG|OnDoc|Word2013
+2026-01-07 10:33:36.1795|DEBUG|OnDoc|Generate_Word
+2026-01-07 10:33:36.2188|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000167
+2026-01-07 10:33:36.2188|INFO|DocLog|Dokument über API erstellt
+2026-01-07 10:33:36.2188|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-07 10:35:31.6215|INFO|APIDocLog|Start CreateCLM
+2026-01-07 10:35:31.7129|INFO|APIDocLog|Input JSON
+2026-01-07 10:35:31.7129|DEBUG|OnDoc|
+2026-01-07 10:35:31.7129|DEBUG|OnDoc|
+2026-01-07 10:35:31.7129|DEBUG|OnDoc|
+2026-01-07 10:35:31.7129|DEBUG|OnDoc|
+2026-01-07 10:35:31.7129|DEBUG|OnDoc|
+2026-01-07 10:35:31.7129|DEBUG|OnDoc|
+2026-01-07 10:35:31.7129|DEBUG|OnDoc|
+2026-01-07 10:35:31.7214|DEBUG|OnDoc|
+2026-01-07 10:35:31.7214|DEBUG|OnDoc|
+2026-01-07 10:35:31.7214|DEBUG|OnDoc|
+2026-01-07 10:35:31.7214|DEBUG|OnDoc|
+2026-01-07 10:35:31.7214|DEBUG|OnDoc|
+2026-01-07 10:35:31.7214|DEBUG|OnDoc|
+2026-01-07 10:35:31.7214|DEBUG|OnDoc|
+2026-01-07 10:35:31.7774|DEBUG|OnDoc|
+2026-01-07 10:35:31.7774|DEBUG|OnDoc|
+2026-01-07 10:35:31.8346|DEBUG|OnDoc|
+2026-01-07 10:35:31.8346|DEBUG|OnDoc|
+2026-01-07 10:35:31.8843|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 10:35:31.8843|DEBUG|OnDoc|
+2026-01-07 10:35:31.8982|DEBUG|OnDoc|
+2026-01-07 10:35:31.8982|DEBUG|OnDoc|
+2026-01-07 10:35:31.8982|DEBUG|OnDoc|
+2026-01-07 10:35:31.8982|DEBUG|OnDoc|
+2026-01-07 10:35:31.9150|DEBUG|OnDoc|
+2026-01-07 10:35:31.9150|DEBUG|OnDoc|
+2026-01-07 10:35:31.9150|DEBUG|OnDoc|
+2026-01-07 10:35:31.9150|DEBUG|OnDoc|Generate_Word
+2026-01-07 10:35:31.9536|DEBUG|OnDoc|Word2013
+2026-01-07 10:35:31.9555|DEBUG|OnDoc|Word2013
+2026-01-07 13:06:35.4064|DEBUG|OnDoc|
+2026-01-07 13:06:35.4635|DEBUG|OnDoc|
+2026-01-07 13:06:35.4635|DEBUG|OnDoc|
+2026-01-07 13:06:35.4635|DEBUG|OnDoc|
+2026-01-07 13:06:35.6784|INFO|APIDocLog|Start CreateCLM
+2026-01-07 13:06:35.7343|INFO|APIDocLog|Input JSON
+2026-01-07 13:06:35.7600|DEBUG|OnDoc|
+2026-01-07 13:06:35.7600|DEBUG|OnDoc|
+2026-01-07 13:06:35.7695|DEBUG|OnDoc|
+2026-01-07 13:06:35.7695|DEBUG|OnDoc|
+2026-01-07 13:06:35.7837|DEBUG|OnDoc|
+2026-01-07 13:06:35.7837|DEBUG|OnDoc|
+2026-01-07 13:06:35.7837|DEBUG|OnDoc|
+2026-01-07 13:06:35.7837|DEBUG|OnDoc|
+2026-01-07 13:06:35.7837|DEBUG|OnDoc|
+2026-01-07 13:06:35.7837|DEBUG|OnDoc|
+2026-01-07 13:06:35.7837|DEBUG|OnDoc|
+2026-01-07 13:06:35.7837|DEBUG|OnDoc|
+2026-01-07 13:06:35.7837|DEBUG|OnDoc|
+2026-01-07 13:06:35.7837|DEBUG|OnDoc|
+2026-01-07 13:07:03.3473|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 13:07:05.1045|DEBUG|OnDoc|
+2026-01-07 13:07:05.1174|DEBUG|OnDoc|
+2026-01-07 13:11:28.5665|DEBUG|OnDoc|
+2026-01-07 13:11:28.6234|DEBUG|OnDoc|
+2026-01-07 13:11:28.6234|DEBUG|OnDoc|
+2026-01-07 13:11:28.6234|DEBUG|OnDoc|
+2026-01-07 13:11:32.8629|INFO|APIDocLog|Start CreateCLM
+2026-01-07 13:11:32.9552|INFO|APIDocLog|Input JSON
+2026-01-07 13:11:32.9721|DEBUG|OnDoc|
+2026-01-07 13:11:32.9721|DEBUG|OnDoc|
+2026-01-07 13:11:32.9721|DEBUG|OnDoc|
+2026-01-07 13:11:32.9878|DEBUG|OnDoc|
+2026-01-07 13:11:32.9878|DEBUG|OnDoc|
+2026-01-07 13:11:33.0042|DEBUG|OnDoc|
+2026-01-07 13:11:33.0042|DEBUG|OnDoc|
+2026-01-07 13:11:33.0042|DEBUG|OnDoc|
+2026-01-07 13:11:33.0042|DEBUG|OnDoc|
+2026-01-07 13:11:33.0042|DEBUG|OnDoc|
+2026-01-07 13:11:33.0042|DEBUG|OnDoc|
+2026-01-07 13:11:33.0042|DEBUG|OnDoc|
+2026-01-07 13:11:33.0042|DEBUG|OnDoc|
+2026-01-07 13:11:33.0042|DEBUG|OnDoc|
+2026-01-07 13:11:33.0579|DEBUG|OnDoc|
+2026-01-07 13:11:33.0579|DEBUG|OnDoc|
+2026-01-07 13:11:33.0972|DEBUG|OnDoc|
+2026-01-07 13:11:33.0972|DEBUG|OnDoc|
+2026-01-07 13:11:33.1195|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 13:11:33.1195|DEBUG|OnDoc|
+2026-01-07 13:11:33.1307|DEBUG|OnDoc|
+2026-01-07 13:11:33.1307|DEBUG|OnDoc|
+2026-01-07 13:11:33.1307|DEBUG|OnDoc|
+2026-01-07 13:11:33.1307|DEBUG|OnDoc|
+2026-01-07 13:11:33.1489|DEBUG|OnDoc|
+2026-01-07 13:11:33.1489|DEBUG|OnDoc|
+2026-01-07 13:11:33.1489|DEBUG|OnDoc|
+2026-01-07 13:11:33.1489|DEBUG|OnDoc|Generate_Word
+2026-01-07 13:11:33.5938|DEBUG|OnDoc|Word2013
+2026-01-07 13:11:33.6028|DEBUG|OnDoc|Word2013
+2026-01-07 13:12:49.3222|DEBUG|OnDoc|Generate_Word
+2026-01-07 13:12:49.3652|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000180
+2026-01-07 13:12:49.3652|INFO|DocLog|Dokument über API erstellt
+2026-01-07 13:12:49.3652|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-07 13:16:38.3616|INFO|APIDocLog|Start CreateCLM
+2026-01-07 13:16:38.4221|INFO|APIDocLog|Input JSON
+2026-01-07 13:16:38.4257|DEBUG|OnDoc|
+2026-01-07 13:16:38.4257|DEBUG|OnDoc|
+2026-01-07 13:16:38.4257|DEBUG|OnDoc|
+2026-01-07 13:16:38.4257|DEBUG|OnDoc|
+2026-01-07 13:16:38.4257|DEBUG|OnDoc|
+2026-01-07 13:16:38.4257|DEBUG|OnDoc|
+2026-01-07 13:16:38.4257|DEBUG|OnDoc|
+2026-01-07 13:16:38.4257|DEBUG|OnDoc|
+2026-01-07 13:16:38.4257|DEBUG|OnDoc|
+2026-01-07 13:16:38.4257|DEBUG|OnDoc|
+2026-01-07 13:16:38.4257|DEBUG|OnDoc|
+2026-01-07 13:16:38.4257|DEBUG|OnDoc|
+2026-01-07 13:16:38.4257|DEBUG|OnDoc|
+2026-01-07 13:16:38.4257|DEBUG|OnDoc|
+2026-01-07 13:16:38.4506|DEBUG|OnDoc|
+2026-01-07 13:16:38.4506|DEBUG|OnDoc|
+2026-01-07 13:16:38.4767|DEBUG|OnDoc|
+2026-01-07 13:16:38.4767|DEBUG|OnDoc|
+2026-01-07 13:16:38.4961|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 13:16:38.4961|DEBUG|OnDoc|
+2026-01-07 13:16:38.5055|DEBUG|OnDoc|
+2026-01-07 13:16:38.5055|DEBUG|OnDoc|
+2026-01-07 13:16:38.5055|DEBUG|OnDoc|
+2026-01-07 13:16:38.5055|DEBUG|OnDoc|
+2026-01-07 13:16:38.5055|DEBUG|OnDoc|
+2026-01-07 13:16:38.5055|DEBUG|OnDoc|
+2026-01-07 13:16:38.5055|DEBUG|OnDoc|
+2026-01-07 13:16:38.5055|DEBUG|OnDoc|Generate_Word
+2026-01-07 13:16:38.5564|DEBUG|OnDoc|Word2013
+2026-01-07 13:16:38.5564|DEBUG|OnDoc|Word2013
+2026-01-07 13:16:39.1282|DEBUG|OnDoc|Generate_Word
+2026-01-07 13:16:39.1282|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000191
+2026-01-07 13:16:39.1282|INFO|DocLog|Dokument über API erstellt
+2026-01-07 13:16:39.1282|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-07 13:16:54.4331|DEBUG|OnDoc|
+2026-01-07 13:16:54.4889|DEBUG|OnDoc|
+2026-01-07 13:16:54.4889|DEBUG|OnDoc|
+2026-01-07 13:16:54.4889|DEBUG|OnDoc|
+2026-01-07 13:17:00.6780|INFO|APIDocLog|Start CreateCLM
+2026-01-07 13:17:00.7609|INFO|APIDocLog|Input JSON
+2026-01-07 13:17:00.7759|DEBUG|OnDoc|
+2026-01-07 13:17:00.7759|DEBUG|OnDoc|
+2026-01-07 13:17:00.7843|DEBUG|OnDoc|
+2026-01-07 13:17:00.7843|DEBUG|OnDoc|
+2026-01-07 13:17:00.7843|DEBUG|OnDoc|
+2026-01-07 13:17:00.7994|DEBUG|OnDoc|
+2026-01-07 13:17:00.7994|DEBUG|OnDoc|
+2026-01-07 13:17:00.7994|DEBUG|OnDoc|
+2026-01-07 13:17:00.7994|DEBUG|OnDoc|
+2026-01-07 13:17:00.7994|DEBUG|OnDoc|
+2026-01-07 13:17:00.7994|DEBUG|OnDoc|
+2026-01-07 13:17:00.7994|DEBUG|OnDoc|
+2026-01-07 13:17:00.7994|DEBUG|OnDoc|
+2026-01-07 13:17:00.7994|DEBUG|OnDoc|
+2026-01-07 13:17:00.8516|DEBUG|OnDoc|
+2026-01-07 13:17:00.8516|DEBUG|OnDoc|
+2026-01-07 13:17:00.8918|DEBUG|OnDoc|
+2026-01-07 13:17:00.8941|DEBUG|OnDoc|
+2026-01-07 13:17:00.9148|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 13:17:00.9148|DEBUG|OnDoc|
+2026-01-07 13:17:00.9332|DEBUG|OnDoc|
+2026-01-07 13:17:00.9332|DEBUG|OnDoc|
+2026-01-07 13:17:00.9332|DEBUG|OnDoc|
+2026-01-07 13:17:00.9332|DEBUG|OnDoc|
+2026-01-07 13:17:00.9470|DEBUG|OnDoc|
+2026-01-07 13:17:00.9470|DEBUG|OnDoc|
+2026-01-07 13:17:00.9553|DEBUG|OnDoc|
+2026-01-07 13:17:00.9553|DEBUG|OnDoc|Generate_Word
+2026-01-07 13:17:01.3593|DEBUG|OnDoc|Word2013
+2026-01-07 13:17:01.3688|DEBUG|OnDoc|Word2013
+2026-01-07 13:32:15.6069|DEBUG|OnDoc|Generate_Word
+2026-01-07 13:32:15.6473|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000209
+2026-01-07 13:32:15.6473|INFO|DocLog|Dokument über API erstellt
+2026-01-07 13:32:15.6473|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-07 13:59:31.7723|INFO|APIDocLog|Start CreateCLM
+2026-01-07 13:59:31.8707|INFO|APIDocLog|Input JSON
+2026-01-07 13:59:31.8707|DEBUG|OnDoc|
+2026-01-07 13:59:31.8707|DEBUG|OnDoc|
+2026-01-07 13:59:31.8707|DEBUG|OnDoc|
+2026-01-07 13:59:31.8707|DEBUG|OnDoc|
+2026-01-07 13:59:31.8707|DEBUG|OnDoc|
+2026-01-07 13:59:31.8784|DEBUG|OnDoc|
+2026-01-07 13:59:31.8784|DEBUG|OnDoc|
+2026-01-07 13:59:31.8784|DEBUG|OnDoc|
+2026-01-07 13:59:31.8784|DEBUG|OnDoc|
+2026-01-07 13:59:31.8784|DEBUG|OnDoc|
+2026-01-07 13:59:31.8784|DEBUG|OnDoc|
+2026-01-07 13:59:31.8784|DEBUG|OnDoc|
+2026-01-07 13:59:31.8784|DEBUG|OnDoc|
+2026-01-07 13:59:31.8784|DEBUG|OnDoc|
+2026-01-07 13:59:31.9362|DEBUG|OnDoc|
+2026-01-07 13:59:31.9362|DEBUG|OnDoc|
+2026-01-07 13:59:31.9974|DEBUG|OnDoc|
+2026-01-07 13:59:31.9974|DEBUG|OnDoc|
+2026-01-07 13:59:32.0515|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 13:59:32.0515|DEBUG|OnDoc|
+2026-01-07 13:59:32.0515|DEBUG|OnDoc|
+2026-01-07 13:59:32.0515|DEBUG|OnDoc|
+2026-01-07 13:59:32.0515|DEBUG|OnDoc|
+2026-01-07 13:59:32.0515|DEBUG|OnDoc|
+2026-01-07 13:59:32.0760|DEBUG|OnDoc|
+2026-01-07 13:59:32.0760|DEBUG|OnDoc|
+2026-01-07 13:59:32.0812|DEBUG|OnDoc|
+2026-01-07 13:59:32.0812|DEBUG|OnDoc|Generate_Word
+2026-01-07 13:59:32.1241|DEBUG|OnDoc|Word2013
+2026-01-07 13:59:32.1241|DEBUG|OnDoc|Word2013
+2026-01-07 13:59:35.8364|DEBUG|OnDoc|Generate_Word
+2026-01-07 13:59:35.8752|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000217
+2026-01-07 13:59:35.8752|INFO|DocLog|Dokument über API erstellt
+2026-01-07 13:59:35.8772|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-07 14:24:47.4354|INFO|APIDocLog|Start CreateCLM
+2026-01-07 14:24:47.5356|INFO|APIDocLog|Input JSON
+2026-01-07 14:24:47.5356|DEBUG|OnDoc|
+2026-01-07 14:24:47.5356|DEBUG|OnDoc|
+2026-01-07 14:24:47.5356|DEBUG|OnDoc|
+2026-01-07 14:24:47.5356|DEBUG|OnDoc|
+2026-01-07 14:24:47.5356|DEBUG|OnDoc|
+2026-01-07 14:24:47.5356|DEBUG|OnDoc|
+2026-01-07 14:24:47.5356|DEBUG|OnDoc|
+2026-01-07 14:24:47.5356|DEBUG|OnDoc|
+2026-01-07 14:24:47.5356|DEBUG|OnDoc|
+2026-01-07 14:24:47.5356|DEBUG|OnDoc|
+2026-01-07 14:24:47.5356|DEBUG|OnDoc|
+2026-01-07 14:24:47.5356|DEBUG|OnDoc|
+2026-01-07 14:24:47.5356|DEBUG|OnDoc|
+2026-01-07 14:24:47.5356|DEBUG|OnDoc|
+2026-01-07 14:24:47.6494|DEBUG|OnDoc|
+2026-01-07 14:24:47.6494|DEBUG|OnDoc|
+2026-01-07 14:24:47.7112|DEBUG|OnDoc|
+2026-01-07 14:24:47.7112|DEBUG|OnDoc|
+2026-01-07 14:24:47.7643|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 14:24:47.7643|DEBUG|OnDoc|
+2026-01-07 14:24:47.7744|DEBUG|OnDoc|
+2026-01-07 14:24:47.7744|DEBUG|OnDoc|
+2026-01-07 14:24:47.7744|DEBUG|OnDoc|
+2026-01-07 14:24:47.7744|DEBUG|OnDoc|
+2026-01-07 14:24:47.7744|DEBUG|OnDoc|
+2026-01-07 14:24:47.7744|DEBUG|OnDoc|
+2026-01-07 14:24:47.7880|DEBUG|OnDoc|
+2026-01-07 14:24:47.7880|DEBUG|OnDoc|Generate_Word
+2026-01-07 14:24:47.8230|DEBUG|OnDoc|Word2013
+2026-01-07 14:24:47.8230|DEBUG|OnDoc|Word2013
+2026-01-07 17:27:47.6414|DEBUG|OnDoc|
+2026-01-07 17:27:47.6998|DEBUG|OnDoc|
+2026-01-07 17:27:47.6998|DEBUG|OnDoc|
+2026-01-07 17:27:47.6998|DEBUG|OnDoc|
+2026-01-07 17:27:53.7398|INFO|APIDocLog|Start CreateCLM
+2026-01-07 17:27:53.8312|INFO|APIDocLog|Input JSON
+2026-01-07 17:27:53.8312|DEBUG|OnDoc|
+2026-01-07 17:27:53.8486|DEBUG|OnDoc|
+2026-01-07 17:27:53.8486|DEBUG|OnDoc|
+2026-01-07 17:27:53.8486|DEBUG|OnDoc|
+2026-01-07 17:27:53.8679|DEBUG|OnDoc|
+2026-01-07 17:27:53.8679|DEBUG|OnDoc|
+2026-01-07 17:27:53.8679|DEBUG|OnDoc|
+2026-01-07 17:27:53.8679|DEBUG|OnDoc|
+2026-01-07 17:27:53.8679|DEBUG|OnDoc|
+2026-01-07 17:27:53.8679|DEBUG|OnDoc|
+2026-01-07 17:27:53.8679|DEBUG|OnDoc|
+2026-01-07 17:27:53.8679|DEBUG|OnDoc|
+2026-01-07 17:27:53.8679|DEBUG|OnDoc|
+2026-01-07 17:27:53.8679|DEBUG|OnDoc|
+2026-01-07 17:28:10.3786|DEBUG|OnDoc|
+2026-01-07 17:28:10.3786|DEBUG|OnDoc|
+2026-01-07 17:28:10.4236|DEBUG|OnDoc|
+2026-01-07 17:28:10.4286|DEBUG|OnDoc|
+2026-01-07 17:28:10.4511|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 17:28:10.4511|DEBUG|OnDoc|
+2026-01-07 17:28:10.4629|DEBUG|OnDoc|
+2026-01-07 17:28:10.4629|DEBUG|OnDoc|
+2026-01-07 17:28:10.4629|DEBUG|OnDoc|
+2026-01-07 17:28:10.4629|DEBUG|OnDoc|
+2026-01-07 17:28:10.4745|DEBUG|OnDoc|
+2026-01-07 17:28:10.4745|DEBUG|OnDoc|
+2026-01-07 17:28:10.4745|DEBUG|OnDoc|
+2026-01-07 17:28:10.4745|DEBUG|OnDoc|Generate_Word
+2026-01-07 17:28:10.8827|DEBUG|OnDoc|Word2013
+2026-01-07 17:28:10.8827|DEBUG|OnDoc|Word2013
+2026-01-07 17:28:13.0370|DEBUG|OnDoc|Generate_Word
+2026-01-07 17:28:13.0506|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000230
+2026-01-07 17:28:13.0506|INFO|DocLog|Dokument über API erstellt
+2026-01-07 17:28:13.0506|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-07 17:28:23.0739|INFO|APIDocLog|Start CreateCLM
+2026-01-07 17:28:23.1094|INFO|APIDocLog|Input JSON
+2026-01-07 17:28:23.1119|DEBUG|OnDoc|
+2026-01-07 17:28:23.1119|DEBUG|OnDoc|
+2026-01-07 17:28:23.1119|DEBUG|OnDoc|
+2026-01-07 17:28:23.1119|DEBUG|OnDoc|
+2026-01-07 17:28:23.1119|DEBUG|OnDoc|
+2026-01-07 17:28:23.1119|DEBUG|OnDoc|
+2026-01-07 17:28:23.1119|DEBUG|OnDoc|
+2026-01-07 17:28:23.1119|DEBUG|OnDoc|
+2026-01-07 17:28:23.1119|DEBUG|OnDoc|
+2026-01-07 17:28:23.1119|DEBUG|OnDoc|
+2026-01-07 17:28:23.1119|DEBUG|OnDoc|
+2026-01-07 17:28:23.1119|DEBUG|OnDoc|
+2026-01-07 17:28:23.1119|DEBUG|OnDoc|
+2026-01-07 17:28:23.1119|DEBUG|OnDoc|
+2026-01-07 17:28:49.2678|DEBUG|OnDoc|
+2026-01-07 17:28:49.2678|DEBUG|OnDoc|
+2026-01-07 17:28:49.3048|DEBUG|OnDoc|
+2026-01-07 17:28:49.3048|DEBUG|OnDoc|
+2026-01-07 17:28:49.3242|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 17:28:49.3242|DEBUG|OnDoc|
+2026-01-07 17:28:49.3418|DEBUG|OnDoc|
+2026-01-07 17:28:49.3418|DEBUG|OnDoc|
+2026-01-07 17:28:49.3418|DEBUG|OnDoc|
+2026-01-07 17:28:49.3418|DEBUG|OnDoc|
+2026-01-07 17:28:49.3493|DEBUG|OnDoc|
+2026-01-07 17:28:49.3493|DEBUG|OnDoc|
+2026-01-07 17:28:49.3493|DEBUG|OnDoc|
+2026-01-07 17:28:49.3493|DEBUG|OnDoc|Generate_Word
+2026-01-07 17:28:49.3927|DEBUG|OnDoc|Word2013
+2026-01-07 17:28:49.3947|DEBUG|OnDoc|Word2013
+2026-01-07 17:28:56.2192|DEBUG|OnDoc|Generate_Word
+2026-01-07 17:28:56.2618|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000241
+2026-01-07 17:28:56.2618|INFO|DocLog|Dokument über API erstellt
+2026-01-07 17:28:56.2618|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-07 17:29:01.7186|INFO|APIDocLog|Start CreateCLM
+2026-01-07 17:29:01.7815|INFO|APIDocLog|Input JSON
+2026-01-07 17:29:01.7845|DEBUG|OnDoc|
+2026-01-07 17:29:01.7845|DEBUG|OnDoc|
+2026-01-07 17:29:01.7845|DEBUG|OnDoc|
+2026-01-07 17:29:01.7845|DEBUG|OnDoc|
+2026-01-07 17:29:01.7845|DEBUG|OnDoc|
+2026-01-07 17:29:01.7845|DEBUG|OnDoc|
+2026-01-07 17:29:01.7845|DEBUG|OnDoc|
+2026-01-07 17:29:01.7845|DEBUG|OnDoc|
+2026-01-07 17:29:01.7845|DEBUG|OnDoc|
+2026-01-07 17:29:01.7845|DEBUG|OnDoc|
+2026-01-07 17:29:01.7845|DEBUG|OnDoc|
+2026-01-07 17:29:01.7845|DEBUG|OnDoc|
+2026-01-07 17:29:01.7845|DEBUG|OnDoc|
+2026-01-07 17:29:01.7845|DEBUG|OnDoc|
+2026-01-07 17:29:18.5384|DEBUG|OnDoc|
+2026-01-07 17:29:18.5384|DEBUG|OnDoc|
+2026-01-07 17:29:18.5886|DEBUG|OnDoc|
+2026-01-07 17:29:18.5886|DEBUG|OnDoc|
+2026-01-07 17:29:18.6192|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 17:29:18.6192|DEBUG|OnDoc|
+2026-01-07 17:29:18.6342|DEBUG|OnDoc|
+2026-01-07 17:29:18.6342|DEBUG|OnDoc|
+2026-01-07 17:29:18.6342|DEBUG|OnDoc|
+2026-01-07 17:29:18.6342|DEBUG|OnDoc|
+2026-01-07 17:29:18.6476|DEBUG|OnDoc|
+2026-01-07 17:29:18.6476|DEBUG|OnDoc|
+2026-01-07 17:29:18.6476|DEBUG|OnDoc|
+2026-01-07 17:29:18.6476|DEBUG|OnDoc|Generate_Word
+2026-01-07 17:29:18.6948|DEBUG|OnDoc|Word2013
+2026-01-07 17:29:18.6948|DEBUG|OnDoc|Word2013
+2026-01-07 17:29:21.0782|DEBUG|OnDoc|Generate_Word
+2026-01-07 17:29:21.0933|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000256
+2026-01-07 17:29:21.0933|INFO|DocLog|Dokument über API erstellt
+2026-01-07 17:29:21.0963|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-07 20:01:55.0457|INFO|APIDocLog|Start CreateCLM
+2026-01-07 20:01:55.1487|INFO|APIDocLog|Input JSON
+2026-01-07 20:01:55.1487|DEBUG|OnDoc|
+2026-01-07 20:01:55.1487|DEBUG|OnDoc|
+2026-01-07 20:01:55.1487|DEBUG|OnDoc|
+2026-01-07 20:01:55.1593|DEBUG|OnDoc|
+2026-01-07 20:01:55.1593|DEBUG|OnDoc|
+2026-01-07 20:01:55.1593|DEBUG|OnDoc|
+2026-01-07 20:01:55.1593|DEBUG|OnDoc|
+2026-01-07 20:01:55.1593|DEBUG|OnDoc|
+2026-01-07 20:01:55.1593|DEBUG|OnDoc|
+2026-01-07 20:01:55.1593|DEBUG|OnDoc|
+2026-01-07 20:01:55.1593|DEBUG|OnDoc|
+2026-01-07 20:01:55.1593|DEBUG|OnDoc|
+2026-01-07 20:01:55.1593|DEBUG|OnDoc|
+2026-01-07 20:01:55.1593|DEBUG|OnDoc|
+2026-01-07 20:01:58.8294|DEBUG|OnDoc|
+2026-01-07 20:01:58.8326|DEBUG|OnDoc|
+2026-01-07 20:01:58.8896|DEBUG|OnDoc|
+2026-01-07 20:01:58.8931|DEBUG|OnDoc|
+2026-01-07 20:01:58.9345|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-07 20:01:58.9345|DEBUG|OnDoc|
+2026-01-07 20:01:58.9435|DEBUG|OnDoc|
+2026-01-07 20:01:58.9435|DEBUG|OnDoc|
+2026-01-07 20:01:58.9435|DEBUG|OnDoc|
+2026-01-07 20:01:58.9435|DEBUG|OnDoc|
+2026-01-07 20:01:58.9435|DEBUG|OnDoc|
+2026-01-07 20:01:58.9435|DEBUG|OnDoc|
+2026-01-07 20:01:58.9594|DEBUG|OnDoc|
+2026-01-07 20:01:58.9594|DEBUG|OnDoc|Generate_Word
+2026-01-07 20:01:58.9955|DEBUG|OnDoc|Word2013
+2026-01-07 20:01:58.9955|DEBUG|OnDoc|Word2013
+2026-01-07 20:02:01.4401|DEBUG|OnDoc|Generate_Word
+2026-01-07 20:02:01.4401|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000264
+2026-01-07 20:02:01.4401|INFO|DocLog|Dokument über API erstellt
+2026-01-07 20:02:01.4401|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-08 09:46:53.2528|DEBUG|OnDoc|
+2026-01-08 09:46:53.3008|DEBUG|OnDoc|
+2026-01-08 09:46:53.3008|DEBUG|OnDoc|
+2026-01-08 09:46:53.3008|DEBUG|OnDoc|
+2026-01-08 09:47:06.5758|INFO|APIDocLog|CreateDoks Start
+2026-01-08 09:47:06.7162|INFO|APIDocLog|Input Json
+2026-01-08 09:47:06.7348|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 09:47:06.7348|INFO|APIDocLog|Ersteller
+2026-01-08 09:47:06.7483|DEBUG|OnDoc|Start GenDoc
+2026-01-08 09:47:06.7483|DEBUG|OnDoc|
+2026-01-08 09:47:06.7483|DEBUG|OnDoc|
+2026-01-08 09:47:06.7628|DEBUG|OnDoc|
+2026-01-08 09:47:06.7628|DEBUG|OnDoc|
+2026-01-08 09:47:06.7628|DEBUG|OnDoc|
+2026-01-08 09:47:06.7628|DEBUG|OnDoc|
+2026-01-08 09:47:06.7824|DEBUG|OnDoc|
+2026-01-08 09:47:06.7824|DEBUG|OnDoc|
+2026-01-08 09:47:06.7824|DEBUG|OnDoc|
+2026-01-08 09:47:06.7824|DEBUG|OnDoc|
+2026-01-08 09:47:06.7824|DEBUG|OnDoc|
+2026-01-08 09:47:06.7824|DEBUG|OnDoc|
+2026-01-08 09:47:06.7824|DEBUG|OnDoc|
+2026-01-08 09:47:06.7824|DEBUG|OnDoc|
+2026-01-08 09:47:06.7824|DEBUG|OnDoc|
+2026-01-08 09:47:06.7824|DEBUG|OnDoc|
+2026-01-08 09:47:06.7824|DEBUG|OnDoc|
+2026-01-08 09:47:06.7824|DEBUG|OnDoc|
+2026-01-08 09:47:06.7974|DEBUG|OnDoc|
+2026-01-08 09:47:06.8305|ERROR|OnDoc|Falsche Syntax in der Nähe von "=".
+2026-01-08 09:47:06.8449|ERROR|APIDocLog|ONDOC-ERR-CreatePaketDoc
+2026-01-08 09:47:17.4388|INFO|APIDocLog|Start CreateDoc
+2026-01-08 09:47:17.5297|INFO|APIDocLog|Input JSON
+2026-01-08 09:47:17.5297|DEBUG|OnDoc|Start GenDoc
+2026-01-08 09:47:17.5297|DEBUG|OnDoc|
+2026-01-08 09:47:17.5437|DEBUG|OnDoc|
+2026-01-08 09:47:17.5437|DEBUG|OnDoc|
+2026-01-08 09:47:17.5437|DEBUG|OnDoc|
+2026-01-08 09:47:17.5437|DEBUG|OnDoc|
+2026-01-08 09:47:17.5437|DEBUG|OnDoc|
+2026-01-08 09:47:17.5437|DEBUG|OnDoc|
+2026-01-08 09:47:17.5437|DEBUG|OnDoc|
+2026-01-08 09:47:17.5437|DEBUG|OnDoc|
+2026-01-08 09:47:17.5437|DEBUG|OnDoc|
+2026-01-08 09:47:17.5437|DEBUG|OnDoc|
+2026-01-08 09:47:17.5437|DEBUG|OnDoc|
+2026-01-08 09:47:17.5437|DEBUG|OnDoc|
+2026-01-08 09:47:17.5437|DEBUG|OnDoc|
+2026-01-08 09:47:17.5437|DEBUG|OnDoc|
+2026-01-08 09:47:17.5437|DEBUG|OnDoc|
+2026-01-08 09:47:17.5849|DEBUG|OnDoc|
+2026-01-08 09:47:17.5849|DEBUG|OnDoc|
+2026-01-08 09:47:17.5849|DEBUG|OnDoc|
+2026-01-08 09:47:17.5907|DEBUG|OnDoc|
+2026-01-08 09:47:17.5907|DEBUG|OnDoc|
+2026-01-08 09:47:17.5907|DEBUG|OnDoc|
+2026-01-08 09:47:17.5907|DEBUG|OnDoc|
+2026-01-08 09:47:17.5907|DEBUG|OnDoc|
+2026-01-08 09:47:17.5907|DEBUG|OnDoc|
+2026-01-08 09:47:17.5907|DEBUG|OnDoc|
+2026-01-08 09:47:17.5907|DEBUG|OnDoc|
+2026-01-08 09:47:17.5907|DEBUG|OnDoc|
+2026-01-08 09:47:17.6615|DEBUG|OnDoc|
+2026-01-08 09:47:17.6615|DEBUG|OnDoc|
+2026-01-08 09:47:17.9327|DEBUG|OnDoc|
+2026-01-08 09:47:17.9432|DEBUG|OnDoc|
+2026-01-08 09:47:17.9432|DEBUG|OnDoc|
+2026-01-08 09:47:17.9432|DEBUG|OnDoc|
+2026-01-08 09:47:17.9685|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 09:47:17.9685|DEBUG|OnDoc|
+2026-01-08 09:47:17.9871|DEBUG|OnDoc|
+2026-01-08 09:47:17.9871|DEBUG|OnDoc|
+2026-01-08 09:47:17.9871|DEBUG|OnDoc|
+2026-01-08 09:47:17.9871|DEBUG|OnDoc|
+2026-01-08 09:47:18.0354|DEBUG|OnDoc|
+2026-01-08 09:47:18.0354|DEBUG|OnDoc|
+2026-01-08 09:47:18.0354|DEBUG|OnDoc|
+2026-01-08 09:47:18.0438|DEBUG|OnDoc|Generate_Word
+2026-01-08 09:47:18.6299|DEBUG|OnDoc|Word2010
+2026-01-08 09:47:18.6401|DEBUG|OnDoc|Word2010
+2026-01-08 09:47:18.9698|DEBUG|OnDoc|
+2026-01-08 09:47:18.9698|DEBUG|OnDoc|
+2026-01-08 09:47:19.0172|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
+2026-01-08 09:47:19.0172|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
+2026-01-08 09:47:19.1058|DEBUG|OnDoc|
+2026-01-08 09:47:19.1164|DEBUG|OnDoc|
+2026-01-08 09:47:19.1382|DEBUG|OnDoc|TGNummer für Mitarbeiter nicht vorhanden Mitarbeiternr: -1
+2026-01-08 09:47:24.5692|DEBUG|OnDoc|Generate_Word
+2026-01-08 09:47:24.6112|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000272
+2026-01-08 09:47:24.6112|INFO|DocLog|Dokument über API erstellt
+2026-01-08 09:47:24.6112|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-08 09:49:04.8565|INFO|APIDocLog|CreateDoks Start
+2026-01-08 09:49:04.9306|INFO|APIDocLog|Input Json
+2026-01-08 09:49:04.9347|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 09:49:04.9347|INFO|APIDocLog|Ersteller
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|Start GenDoc
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9347|DEBUG|OnDoc|
+2026-01-08 09:49:04.9506|DEBUG|OnDoc|
+2026-01-08 09:49:04.9506|DEBUG|OnDoc|
+2026-01-08 09:49:04.9655|ERROR|OnDoc|Falsche Syntax in der Nähe von "=".
+2026-01-08 09:49:04.9819|ERROR|APIDocLog|ONDOC-ERR-CreatePaketDoc
+2026-01-08 09:49:17.8184|INFO|APIDocLog|Start CreateCLM
+2026-01-08 09:49:17.8843|INFO|APIDocLog|Input JSON
+2026-01-08 09:49:17.8990|DEBUG|OnDoc|
+2026-01-08 09:49:17.9066|DEBUG|OnDoc|
+2026-01-08 09:49:17.9066|DEBUG|OnDoc|
+2026-01-08 09:49:17.9066|DEBUG|OnDoc|
+2026-01-08 09:49:17.9237|DEBUG|OnDoc|
+2026-01-08 09:49:17.9237|DEBUG|OnDoc|
+2026-01-08 09:49:17.9237|DEBUG|OnDoc|
+2026-01-08 09:49:17.9237|DEBUG|OnDoc|
+2026-01-08 09:49:17.9237|DEBUG|OnDoc|
+2026-01-08 09:49:17.9237|DEBUG|OnDoc|
+2026-01-08 09:49:17.9237|DEBUG|OnDoc|
+2026-01-08 09:49:17.9237|DEBUG|OnDoc|
+2026-01-08 09:49:17.9237|DEBUG|OnDoc|
+2026-01-08 09:49:17.9237|DEBUG|OnDoc|
+2026-01-08 09:49:24.7267|DEBUG|OnDoc|
+2026-01-08 09:49:24.7312|DEBUG|OnDoc|
+2026-01-08 09:49:24.7678|DEBUG|OnDoc|
+2026-01-08 09:49:24.7678|DEBUG|OnDoc|
+2026-01-08 09:49:24.7861|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 09:49:24.7861|DEBUG|OnDoc|
+2026-01-08 09:49:24.8028|DEBUG|OnDoc|
+2026-01-08 09:49:24.8028|DEBUG|OnDoc|
+2026-01-08 09:49:24.8028|DEBUG|OnDoc|
+2026-01-08 09:49:24.8028|DEBUG|OnDoc|
+2026-01-08 09:49:24.8128|DEBUG|OnDoc|
+2026-01-08 09:49:24.8128|DEBUG|OnDoc|
+2026-01-08 09:49:24.8128|DEBUG|OnDoc|
+2026-01-08 09:49:24.8128|DEBUG|OnDoc|Generate_Word
+2026-01-08 09:49:24.8704|DEBUG|OnDoc|Word2013
+2026-01-08 09:49:24.8724|DEBUG|OnDoc|Word2013
+2026-01-08 09:49:25.4886|DEBUG|OnDoc|Generate_Word
+2026-01-08 09:49:25.4994|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000288
+2026-01-08 09:49:25.4994|INFO|DocLog|Dokument über API erstellt
+2026-01-08 09:49:25.4994|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-08 09:50:45.8637|INFO|APIDocLog|CreateDoks Start
+2026-01-08 09:50:50.5434|INFO|APIDocLog|Input Json
+2026-01-08 09:50:51.0905|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 09:50:51.3356|INFO|APIDocLog|Ersteller
+2026-01-08 09:50:52.7276|DEBUG|OnDoc|Start GenDoc
+2026-01-08 09:50:52.7378|DEBUG|OnDoc|
+2026-01-08 09:50:52.7378|DEBUG|OnDoc|
+2026-01-08 09:50:52.7378|DEBUG|OnDoc|
+2026-01-08 09:50:52.7378|DEBUG|OnDoc|
+2026-01-08 09:50:52.7378|DEBUG|OnDoc|
+2026-01-08 09:50:52.7378|DEBUG|OnDoc|
+2026-01-08 09:50:52.7378|DEBUG|OnDoc|
+2026-01-08 09:50:52.7378|DEBUG|OnDoc|
+2026-01-08 09:50:52.7378|DEBUG|OnDoc|
+2026-01-08 09:50:52.7378|DEBUG|OnDoc|
+2026-01-08 09:50:52.7378|DEBUG|OnDoc|
+2026-01-08 09:50:52.7467|DEBUG|OnDoc|
+2026-01-08 09:50:52.7467|DEBUG|OnDoc|
+2026-01-08 09:50:52.7467|DEBUG|OnDoc|
+2026-01-08 09:50:52.7467|DEBUG|OnDoc|
+2026-01-08 09:50:52.7467|DEBUG|OnDoc|
+2026-01-08 09:50:52.7467|DEBUG|OnDoc|
+2026-01-08 09:50:52.7467|DEBUG|OnDoc|
+2026-01-08 09:50:59.0048|DEBUG|OnDoc|
+2026-01-08 09:50:59.0524|ERROR|OnDoc|Falsche Syntax in der Nähe von "=".
+2026-01-08 09:51:03.0073|ERROR|APIDocLog|ONDOC-ERR-CreatePaketDoc
+2026-01-08 09:51:08.7103|INFO|APIDocLog|CreateDoks Start
+2026-01-08 09:51:11.3983|INFO|APIDocLog|Input Json
+2026-01-08 09:51:11.9593|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 09:51:12.2407|INFO|APIDocLog|Ersteller
+2026-01-08 09:51:13.3292|DEBUG|OnDoc|Start GenDoc
+2026-01-08 09:51:13.3292|DEBUG|OnDoc|
+2026-01-08 09:51:13.3452|DEBUG|OnDoc|
+2026-01-08 09:51:13.3452|DEBUG|OnDoc|
+2026-01-08 09:51:13.3452|DEBUG|OnDoc|
+2026-01-08 09:51:13.3452|DEBUG|OnDoc|
+2026-01-08 09:51:13.3452|DEBUG|OnDoc|
+2026-01-08 09:51:13.3452|DEBUG|OnDoc|
+2026-01-08 09:51:13.3452|DEBUG|OnDoc|
+2026-01-08 09:51:13.3452|DEBUG|OnDoc|
+2026-01-08 09:51:13.3452|DEBUG|OnDoc|
+2026-01-08 09:51:13.3452|DEBUG|OnDoc|
+2026-01-08 09:51:13.3452|DEBUG|OnDoc|
+2026-01-08 09:51:13.3452|DEBUG|OnDoc|
+2026-01-08 09:51:13.3452|DEBUG|OnDoc|
+2026-01-08 09:51:13.3563|DEBUG|OnDoc|
+2026-01-08 09:51:13.3563|DEBUG|OnDoc|
+2026-01-08 09:51:13.3563|DEBUG|OnDoc|
+2026-01-08 09:51:13.3563|DEBUG|OnDoc|
+2026-01-08 09:51:38.8342|DEBUG|OnDoc|
+2026-01-08 09:51:38.8816|ERROR|OnDoc|Falsche Syntax in der Nähe von "=".
+2026-01-08 09:51:38.8942|ERROR|APIDocLog|ONDOC-ERR-CreatePaketDoc
+2026-01-08 09:52:31.8973|INFO|APIDocLog|CreateDoks Start
+2026-01-08 09:52:31.9567|INFO|APIDocLog|Input Json
+2026-01-08 09:52:31.9567|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 09:52:31.9567|INFO|APIDocLog|Ersteller
+2026-01-08 09:52:31.9567|DEBUG|OnDoc|Start GenDoc
+2026-01-08 09:52:31.9567|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:52:31.9683|DEBUG|OnDoc|
+2026-01-08 09:53:28.4208|DEBUG|OnDoc|
+2026-01-08 09:53:28.4888|ERROR|OnDoc|Falsche Syntax in der Nähe von "=".
+2026-01-08 09:53:28.4995|ERROR|APIDocLog|ONDOC-ERR-CreatePaketDoc
+2026-01-08 09:53:36.6166|INFO|APIDocLog|CreateDoks Start
+2026-01-08 09:54:07.8494|INFO|APIDocLog|Input Json
+2026-01-08 09:54:08.7314|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 09:54:08.9848|INFO|APIDocLog|Ersteller
+2026-01-08 09:54:10.4088|DEBUG|OnDoc|Start GenDoc
+2026-01-08 09:54:10.4088|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:54:10.4212|DEBUG|OnDoc|
+2026-01-08 09:55:51.8904|DEBUG|OnDoc|
+2026-01-08 09:55:51.9379|ERROR|OnDoc|Falsche Syntax in der Nähe von "=".
+2026-01-08 09:55:51.9500|ERROR|APIDocLog|ONDOC-ERR-CreatePaketDoc
+2026-01-08 09:58:50.6647|DEBUG|OnDoc|
+2026-01-08 09:58:50.7296|DEBUG|OnDoc|
+2026-01-08 09:58:50.7346|DEBUG|OnDoc|
+2026-01-08 09:58:50.7346|DEBUG|OnDoc|
+2026-01-08 09:59:01.6318|INFO|APIDocLog|CreateDoks Start
+2026-01-08 09:59:01.7551|INFO|APIDocLog|Input Json
+2026-01-08 09:59:01.7551|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 09:59:01.7627|INFO|APIDocLog|Ersteller
+2026-01-08 09:59:01.7627|DEBUG|OnDoc|Start GenDoc
+2026-01-08 09:59:01.7627|DEBUG|OnDoc|
+2026-01-08 09:59:01.7627|DEBUG|OnDoc|
+2026-01-08 09:59:01.7627|DEBUG|OnDoc|
+2026-01-08 09:59:01.7627|DEBUG|OnDoc|
+2026-01-08 09:59:01.7627|DEBUG|OnDoc|
+2026-01-08 09:59:01.7627|DEBUG|OnDoc|
+2026-01-08 09:59:01.7627|DEBUG|OnDoc|
+2026-01-08 09:59:01.7627|DEBUG|OnDoc|
+2026-01-08 09:59:01.7627|DEBUG|OnDoc|
+2026-01-08 09:59:01.7627|DEBUG|OnDoc|
+2026-01-08 09:59:01.7783|DEBUG|OnDoc|
+2026-01-08 09:59:01.7783|DEBUG|OnDoc|
+2026-01-08 09:59:01.7783|DEBUG|OnDoc|
+2026-01-08 09:59:01.7783|DEBUG|OnDoc|
+2026-01-08 09:59:01.7783|DEBUG|OnDoc|
+2026-01-08 09:59:01.7783|DEBUG|OnDoc|
+2026-01-08 09:59:01.7783|DEBUG|OnDoc|
+2026-01-08 09:59:01.7783|DEBUG|OnDoc|
+2026-01-08 09:59:05.5404|DEBUG|OnDoc|
+2026-01-08 09:59:05.5938|ERROR|OnDoc|Falsche Syntax in der Nähe von "=".
+2026-01-08 09:59:05.5938|ERROR|APIDocLog|ONDOC-ERR-CreatePaketDoc
+2026-01-08 10:00:07.3399|INFO|APIDocLog|CreateDoks Start
+2026-01-08 10:00:07.3990|INFO|APIDocLog|Input Json
+2026-01-08 10:00:07.4045|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 10:00:07.4045|INFO|APIDocLog|Ersteller
+2026-01-08 10:00:07.4045|DEBUG|OnDoc|Start GenDoc
+2026-01-08 10:00:07.4045|DEBUG|OnDoc|
+2026-01-08 10:00:07.4045|DEBUG|OnDoc|
+2026-01-08 10:00:07.4045|DEBUG|OnDoc|
+2026-01-08 10:00:07.4045|DEBUG|OnDoc|
+2026-01-08 10:00:07.4045|DEBUG|OnDoc|
+2026-01-08 10:00:07.4185|DEBUG|OnDoc|
+2026-01-08 10:00:07.4185|DEBUG|OnDoc|
+2026-01-08 10:00:07.4185|DEBUG|OnDoc|
+2026-01-08 10:00:07.4185|DEBUG|OnDoc|
+2026-01-08 10:00:07.4185|DEBUG|OnDoc|
+2026-01-08 10:00:07.4185|DEBUG|OnDoc|
+2026-01-08 10:00:07.4185|DEBUG|OnDoc|
+2026-01-08 10:00:07.4185|DEBUG|OnDoc|
+2026-01-08 10:00:07.4185|DEBUG|OnDoc|
+2026-01-08 10:00:07.4185|DEBUG|OnDoc|
+2026-01-08 10:00:07.4185|DEBUG|OnDoc|
+2026-01-08 10:00:07.4185|DEBUG|OnDoc|
+2026-01-08 10:00:07.4185|DEBUG|OnDoc|
+2026-01-08 10:00:09.0647|DEBUG|OnDoc|
+2026-01-08 10:00:09.0758|DEBUG|OnDoc|
+2026-01-08 10:00:09.0758|DEBUG|OnDoc|
+2026-01-08 10:00:09.0758|DEBUG|OnDoc|
+2026-01-08 10:00:09.0758|DEBUG|OnDoc|
+2026-01-08 10:00:09.0758|DEBUG|OnDoc|
+2026-01-08 10:00:09.0758|DEBUG|OnDoc|
+2026-01-08 10:00:09.0758|DEBUG|OnDoc|
+2026-01-08 10:00:09.0758|DEBUG|OnDoc|
+2026-01-08 10:00:09.0758|DEBUG|OnDoc|
+2026-01-08 10:00:09.0758|DEBUG|OnDoc|
+2026-01-08 10:00:09.0758|DEBUG|OnDoc|
+2026-01-08 10:00:09.0758|DEBUG|OnDoc|
+2026-01-08 10:00:09.0758|DEBUG|OnDoc|
+2026-01-08 10:00:09.0758|DEBUG|OnDoc|
+2026-01-08 10:00:09.0758|DEBUG|OnDoc|
+2026-01-08 10:00:09.0907|DEBUG|OnDoc|
+2026-01-08 10:00:09.0907|DEBUG|OnDoc|
+2026-01-08 10:00:09.1216|DEBUG|OnDoc|
+2026-01-08 10:00:09.1216|DEBUG|OnDoc|
+2026-01-08 10:00:09.1448|DEBUG|OnDoc|
+2026-01-08 10:00:09.1448|DEBUG|OnDoc|
+2026-01-08 10:00:09.1448|DEBUG|OnDoc|
+2026-01-08 10:00:09.1448|DEBUG|OnDoc|
+2026-01-08 10:00:09.1680|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 10:00:09.1710|DEBUG|OnDoc|
+2026-01-08 10:00:09.1894|DEBUG|OnDoc|
+2026-01-08 10:00:09.1894|DEBUG|OnDoc|
+2026-01-08 10:00:09.1894|DEBUG|OnDoc|
+2026-01-08 10:00:09.1894|DEBUG|OnDoc|
+2026-01-08 10:00:09.2081|DEBUG|OnDoc|
+2026-01-08 10:00:09.2081|DEBUG|OnDoc|
+2026-01-08 10:00:09.2171|DEBUG|OnDoc|
+2026-01-08 10:00:09.2171|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:00:09.6127|DEBUG|OnDoc|Word2010
+2026-01-08 10:00:09.6232|DEBUG|OnDoc|Word2010
+2026-01-08 10:00:10.9485|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:00:10.9630|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000293
+2026-01-08 10:00:10.9630|INFO|DocLog|Dokument über API erstellt
+2026-01-08 10:00:10.9678|INFO|APIDocLog|Dok erstellt
+2026-01-08 10:00:10.9678|INFO|APIDocLog|Attachment angefügt
+2026-01-08 10:00:15.4828|DEBUG|OnDoc|
+2026-01-08 10:00:15.5243|DEBUG|OnDoc|
+2026-01-08 10:00:15.5243|DEBUG|OnDoc|
+2026-01-08 10:00:15.5669|DEBUG|OnDoc|
+2026-01-08 10:00:17.8527|DEBUG|OnDoc|
+2026-01-08 10:00:17.8687|DEBUG|OnDoc|
+2026-01-08 10:00:17.9672|DEBUG|OnDoc|
+2026-01-08 10:00:17.9672|DEBUG|OnDoc|
+2026-01-08 10:00:17.9843|DEBUG|OnDoc|
+2026-01-08 10:00:17.9843|DEBUG|OnDoc|
+2026-01-08 10:00:18.0032|INFO|DocLog|Versandpaket vorbereitet
+2026-01-08 10:00:18.0032|INFO|APIDocLog|Dokumentpaket abgeschlossen
+2026-01-08 10:01:22.1776|INFO|APIDocLog|CreateDoks Start
+2026-01-08 10:01:22.2600|INFO|APIDocLog|Input Json
+2026-01-08 10:01:22.2628|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 10:01:22.2628|INFO|APIDocLog|Ersteller
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|Start GenDoc
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:22.2628|DEBUG|OnDoc|
+2026-01-08 10:01:46.1512|DEBUG|OnDoc|
+2026-01-08 10:01:46.1876|DEBUG|OnDoc|
+2026-01-08 10:01:46.1876|DEBUG|OnDoc|
+2026-01-08 10:01:46.1876|DEBUG|OnDoc|
+2026-01-08 10:01:46.1876|DEBUG|OnDoc|
+2026-01-08 10:01:46.1876|DEBUG|OnDoc|
+2026-01-08 10:01:46.1876|DEBUG|OnDoc|
+2026-01-08 10:01:46.1876|DEBUG|OnDoc|
+2026-01-08 10:01:46.1876|DEBUG|OnDoc|
+2026-01-08 10:01:46.1997|DEBUG|OnDoc|
+2026-01-08 10:01:46.1997|DEBUG|OnDoc|
+2026-01-08 10:01:46.1997|DEBUG|OnDoc|
+2026-01-08 10:01:46.1997|DEBUG|OnDoc|
+2026-01-08 10:01:46.1997|DEBUG|OnDoc|
+2026-01-08 10:01:46.1997|DEBUG|OnDoc|
+2026-01-08 10:01:46.1997|DEBUG|OnDoc|
+2026-01-08 10:01:46.1997|DEBUG|OnDoc|
+2026-01-08 10:01:46.1997|DEBUG|OnDoc|
+2026-01-08 10:01:46.2189|DEBUG|OnDoc|
+2026-01-08 10:01:46.2189|DEBUG|OnDoc|
+2026-01-08 10:01:46.2320|DEBUG|OnDoc|
+2026-01-08 10:01:46.2320|DEBUG|OnDoc|
+2026-01-08 10:01:46.2320|DEBUG|OnDoc|
+2026-01-08 10:01:46.2320|DEBUG|OnDoc|
+2026-01-08 10:01:46.2320|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 10:01:46.2475|DEBUG|OnDoc|
+2026-01-08 10:01:46.2475|DEBUG|OnDoc|
+2026-01-08 10:01:46.2650|DEBUG|OnDoc|
+2026-01-08 10:01:46.2650|DEBUG|OnDoc|
+2026-01-08 10:01:46.2650|DEBUG|OnDoc|
+2026-01-08 10:01:46.2650|DEBUG|OnDoc|
+2026-01-08 10:01:46.2650|DEBUG|OnDoc|
+2026-01-08 10:01:46.2829|DEBUG|OnDoc|
+2026-01-08 10:01:46.2829|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:01:46.2829|DEBUG|OnDoc|Word2010
+2026-01-08 10:01:46.2947|DEBUG|OnDoc|Word2010
+2026-01-08 10:01:46.5666|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:01:46.5814|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000301
+2026-01-08 10:01:46.5814|INFO|DocLog|Dokument über API erstellt
+2026-01-08 10:01:55.1749|DEBUG|OnDoc|
+2026-01-08 10:01:55.2116|DEBUG|OnDoc|
+2026-01-08 10:01:55.7937|DEBUG|OnDoc|
+2026-01-08 10:01:55.7937|DEBUG|OnDoc|
+2026-01-08 10:01:57.3233|DEBUG|OnDoc|
+2026-01-08 10:01:57.3333|DEBUG|OnDoc|
+2026-01-08 10:02:04.7382|DEBUG|OnDoc|
+2026-01-08 10:02:04.7746|DEBUG|OnDoc|
+2026-01-08 10:02:04.9123|DEBUG|OnDoc|
+2026-01-08 10:02:04.9227|DEBUG|OnDoc|
+2026-01-08 10:02:05.1033|DEBUG|OnDoc|
+2026-01-08 10:02:05.1151|DEBUG|OnDoc|
+2026-01-08 10:02:05.2769|DEBUG|OnDoc|
+2026-01-08 10:02:05.2882|DEBUG|OnDoc|
+2026-01-08 10:02:05.4748|DEBUG|OnDoc|
+2026-01-08 10:02:05.4853|DEBUG|OnDoc|
+2026-01-08 10:02:06.0495|DEBUG|OnDoc|
+2026-01-08 10:02:06.0607|DEBUG|OnDoc|
+2026-01-08 10:02:21.0519|DEBUG|OnDoc|
+2026-01-08 10:02:21.0519|DEBUG|OnDoc|
+2026-01-08 10:02:21.0661|DEBUG|OnDoc|
+2026-01-08 10:02:21.0661|DEBUG|OnDoc|
+2026-01-08 10:02:21.0661|DEBUG|OnDoc|
+2026-01-08 10:02:21.0661|DEBUG|OnDoc|
+2026-01-08 10:02:29.8636|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 10:02:29.8985|DEBUG|OnDoc|
+2026-01-08 10:02:29.9155|DEBUG|OnDoc|
+2026-01-08 10:02:29.9155|DEBUG|OnDoc|
+2026-01-08 10:02:29.9155|DEBUG|OnDoc|
+2026-01-08 10:02:29.9155|DEBUG|OnDoc|
+2026-01-08 10:02:29.9251|DEBUG|OnDoc|
+2026-01-08 10:02:29.9251|DEBUG|OnDoc|
+2026-01-08 10:02:29.9251|DEBUG|OnDoc|
+2026-01-08 10:02:29.9251|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:02:29.9399|DEBUG|OnDoc|Word2010
+2026-01-08 10:02:29.9399|DEBUG|OnDoc|Word2010
+2026-01-08 10:02:30.2143|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:02:38.2921|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000316
+2026-01-08 10:02:39.1139|INFO|DocLog|Dokument über API erstellt
+2026-01-08 10:02:43.6041|INFO|APIDocLog|Dok erstellt
+2026-01-08 10:02:48.9291|INFO|APIDocLog|Attachment angefügt
+2026-01-08 10:03:05.9197|DEBUG|OnDoc|
+2026-01-08 10:03:05.9560|DEBUG|OnDoc|
+2026-01-08 10:03:05.9560|DEBUG|OnDoc|
+2026-01-08 10:03:05.9868|DEBUG|OnDoc|
+2026-01-08 10:03:08.1571|DEBUG|OnDoc|
+2026-01-08 10:03:08.1694|DEBUG|OnDoc|
+2026-01-08 10:03:39.9340|DEBUG|OnDoc|
+2026-01-08 10:03:39.9694|DEBUG|OnDoc|
+2026-01-08 10:03:40.3065|DEBUG|OnDoc|
+2026-01-08 10:03:40.3157|DEBUG|OnDoc|
+2026-01-08 10:03:40.3256|INFO|DocLog|Versandpaket vorbereitet
+2026-01-08 10:03:49.1721|INFO|APIDocLog|Dokumentpaket abgeschlossen
+2026-01-08 10:44:09.7693|DEBUG|OnDoc|
+2026-01-08 10:44:09.8457|DEBUG|OnDoc|
+2026-01-08 10:44:09.8457|DEBUG|OnDoc|
+2026-01-08 10:44:09.8457|DEBUG|OnDoc|
+2026-01-08 10:44:10.0940|INFO|APIDocLog|CreateDoks Start
+2026-01-08 10:44:10.2204|INFO|APIDocLog|Input Json
+2026-01-08 10:44:10.2330|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 10:44:10.2330|INFO|APIDocLog|Ersteller
+2026-01-08 10:44:10.2330|DEBUG|OnDoc|Start GenDoc
+2026-01-08 10:44:10.2330|DEBUG|OnDoc|
+2026-01-08 10:44:10.2330|DEBUG|OnDoc|
+2026-01-08 10:44:10.2330|DEBUG|OnDoc|
+2026-01-08 10:44:10.2330|DEBUG|OnDoc|
+2026-01-08 10:44:10.2330|DEBUG|OnDoc|
+2026-01-08 10:44:10.2330|DEBUG|OnDoc|
+2026-01-08 10:44:10.2495|DEBUG|OnDoc|
+2026-01-08 10:44:10.2495|DEBUG|OnDoc|
+2026-01-08 10:44:10.2495|DEBUG|OnDoc|
+2026-01-08 10:44:10.2495|DEBUG|OnDoc|
+2026-01-08 10:44:10.2495|DEBUG|OnDoc|
+2026-01-08 10:44:10.2495|DEBUG|OnDoc|
+2026-01-08 10:44:10.2495|DEBUG|OnDoc|
+2026-01-08 10:44:10.2495|DEBUG|OnDoc|
+2026-01-08 10:44:10.2495|DEBUG|OnDoc|
+2026-01-08 10:44:10.2495|DEBUG|OnDoc|
+2026-01-08 10:44:10.2495|DEBUG|OnDoc|
+2026-01-08 10:44:10.2495|DEBUG|OnDoc|
+2026-01-08 10:44:10.2641|DEBUG|OnDoc|
+2026-01-08 10:44:10.2641|DEBUG|OnDoc|
+2026-01-08 10:44:10.2641|DEBUG|OnDoc|
+2026-01-08 10:44:10.2641|DEBUG|OnDoc|
+2026-01-08 10:44:10.2641|DEBUG|OnDoc|
+2026-01-08 10:44:10.2641|DEBUG|OnDoc|
+2026-01-08 10:44:10.2641|DEBUG|OnDoc|
+2026-01-08 10:44:10.2641|DEBUG|OnDoc|
+2026-01-08 10:44:10.2641|DEBUG|OnDoc|
+2026-01-08 10:44:10.2641|DEBUG|OnDoc|
+2026-01-08 10:44:10.2641|DEBUG|OnDoc|
+2026-01-08 10:44:10.2641|DEBUG|OnDoc|
+2026-01-08 10:44:10.2641|DEBUG|OnDoc|
+2026-01-08 10:44:10.2641|DEBUG|OnDoc|
+2026-01-08 10:44:10.2782|DEBUG|OnDoc|
+2026-01-08 10:44:10.2782|DEBUG|OnDoc|
+2026-01-08 10:44:10.2782|DEBUG|OnDoc|
+2026-01-08 10:44:10.2782|DEBUG|OnDoc|
+2026-01-08 10:44:10.3275|DEBUG|OnDoc|
+2026-01-08 10:44:10.3275|DEBUG|OnDoc|
+2026-01-08 10:44:10.3600|DEBUG|OnDoc|
+2026-01-08 10:44:10.3600|DEBUG|OnDoc|
+2026-01-08 10:44:10.3600|DEBUG|OnDoc|
+2026-01-08 10:44:10.3600|DEBUG|OnDoc|
+2026-01-08 10:44:10.3880|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 10:44:10.3880|DEBUG|OnDoc|
+2026-01-08 10:44:10.3880|DEBUG|OnDoc|
+2026-01-08 10:44:10.3880|DEBUG|OnDoc|
+2026-01-08 10:44:10.3880|DEBUG|OnDoc|
+2026-01-08 10:44:10.3880|DEBUG|OnDoc|
+2026-01-08 10:44:10.4076|DEBUG|OnDoc|
+2026-01-08 10:44:10.4076|DEBUG|OnDoc|
+2026-01-08 10:44:10.4076|DEBUG|OnDoc|
+2026-01-08 10:44:10.4076|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:44:11.0640|DEBUG|OnDoc|Word2010
+2026-01-08 10:44:11.0640|DEBUG|OnDoc|Word2010
+2026-01-08 10:44:13.0487|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:44:13.0611|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000324
+2026-01-08 10:44:13.0611|INFO|DocLog|Dokument über API erstellt
+2026-01-08 10:44:13.0611|INFO|APIDocLog|Dok erstellt
+2026-01-08 10:44:13.0611|INFO|APIDocLog|Attachment angefügt
+2026-01-08 10:44:13.0754|DEBUG|OnDoc|
+2026-01-08 10:44:13.0754|DEBUG|OnDoc|
+2026-01-08 10:44:13.0754|DEBUG|OnDoc|
+2026-01-08 10:44:13.1086|DEBUG|OnDoc|
+2026-01-08 10:44:15.4374|DEBUG|OnDoc|
+2026-01-08 10:44:15.4374|DEBUG|OnDoc|
+2026-01-08 10:44:15.5850|DEBUG|OnDoc|
+2026-01-08 10:44:15.5949|DEBUG|OnDoc|
+2026-01-08 10:44:15.6127|DEBUG|OnDoc|
+2026-01-08 10:44:15.6127|DEBUG|OnDoc|
+2026-01-08 10:44:15.6300|INFO|DocLog|Versandpaket vorbereitet
+2026-01-08 10:44:15.6300|INFO|APIDocLog|Dokumentpaket abgeschlossen
+2026-01-08 10:51:21.8977|INFO|APIDocLog|CreateDoks Start
+2026-01-08 10:51:21.9574|INFO|APIDocLog|Input Json
+2026-01-08 10:51:21.9574|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 10:51:21.9574|INFO|APIDocLog|Ersteller
+2026-01-08 10:51:21.9574|DEBUG|OnDoc|Start GenDoc
+2026-01-08 10:51:21.9574|DEBUG|OnDoc|
+2026-01-08 10:51:21.9574|DEBUG|OnDoc|
+2026-01-08 10:51:21.9574|DEBUG|OnDoc|
+2026-01-08 10:51:21.9574|DEBUG|OnDoc|
+2026-01-08 10:51:21.9574|DEBUG|OnDoc|
+2026-01-08 10:51:21.9574|DEBUG|OnDoc|
+2026-01-08 10:51:21.9574|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9653|DEBUG|OnDoc|
+2026-01-08 10:51:21.9901|DEBUG|OnDoc|
+2026-01-08 10:51:21.9901|DEBUG|OnDoc|
+2026-01-08 10:51:22.0025|DEBUG|OnDoc|
+2026-01-08 10:51:22.0025|DEBUG|OnDoc|
+2026-01-08 10:51:22.0025|DEBUG|OnDoc|
+2026-01-08 10:51:22.0025|DEBUG|OnDoc|
+2026-01-08 10:51:22.0145|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 10:51:22.0145|DEBUG|OnDoc|
+2026-01-08 10:51:22.0145|DEBUG|OnDoc|
+2026-01-08 10:51:22.0145|DEBUG|OnDoc|
+2026-01-08 10:51:22.0145|DEBUG|OnDoc|
+2026-01-08 10:51:22.0145|DEBUG|OnDoc|
+2026-01-08 10:51:22.0325|DEBUG|OnDoc|
+2026-01-08 10:51:22.0325|DEBUG|OnDoc|
+2026-01-08 10:51:22.0325|DEBUG|OnDoc|
+2026-01-08 10:51:22.0325|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:51:22.0476|DEBUG|OnDoc|Word2010
+2026-01-08 10:51:22.0476|DEBUG|OnDoc|Word2010
+2026-01-08 10:51:22.2706|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:51:22.2805|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000332
+2026-01-08 10:51:22.2805|INFO|DocLog|Dokument über API erstellt
+2026-01-08 10:51:22.2805|INFO|APIDocLog|Dok erstellt
+2026-01-08 10:51:22.2805|INFO|APIDocLog|Attachment angefügt
+2026-01-08 10:51:22.2805|DEBUG|OnDoc|
+2026-01-08 10:51:22.2805|DEBUG|OnDoc|
+2026-01-08 10:51:22.2805|DEBUG|OnDoc|
+2026-01-08 10:51:22.3092|DEBUG|OnDoc|
+2026-01-08 10:51:23.1588|DEBUG|OnDoc|
+2026-01-08 10:51:23.1694|DEBUG|OnDoc|
+2026-01-08 10:51:23.1904|DEBUG|OnDoc|
+2026-01-08 10:51:23.1904|DEBUG|OnDoc|
+2026-01-08 10:51:23.1904|DEBUG|OnDoc|
+2026-01-08 10:51:23.1904|DEBUG|OnDoc|
+2026-01-08 10:52:32.2364|INFO|DocLog|Versandpaket vorbereitet
+2026-01-08 10:54:42.5571|INFO|APIDocLog|CreateDoks Start
+2026-01-08 10:54:42.6136|INFO|APIDocLog|Input Json
+2026-01-08 10:54:42.6136|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 10:54:42.6136|INFO|APIDocLog|Ersteller
+2026-01-08 10:54:42.6136|DEBUG|OnDoc|Start GenDoc
+2026-01-08 10:54:42.6136|DEBUG|OnDoc|
+2026-01-08 10:54:42.6136|DEBUG|OnDoc|
+2026-01-08 10:54:42.6136|DEBUG|OnDoc|
+2026-01-08 10:54:42.6136|DEBUG|OnDoc|
+2026-01-08 10:54:42.6136|DEBUG|OnDoc|
+2026-01-08 10:54:42.6136|DEBUG|OnDoc|
+2026-01-08 10:54:42.6136|DEBUG|OnDoc|
+2026-01-08 10:54:42.6136|DEBUG|OnDoc|
+2026-01-08 10:54:42.6136|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6223|DEBUG|OnDoc|
+2026-01-08 10:54:42.6451|DEBUG|OnDoc|
+2026-01-08 10:54:42.6451|DEBUG|OnDoc|
+2026-01-08 10:54:42.6560|DEBUG|OnDoc|
+2026-01-08 10:54:42.6560|DEBUG|OnDoc|
+2026-01-08 10:54:42.6560|DEBUG|OnDoc|
+2026-01-08 10:54:42.6560|DEBUG|OnDoc|
+2026-01-08 10:54:42.6707|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 10:54:42.6707|DEBUG|OnDoc|
+2026-01-08 10:54:42.6707|DEBUG|OnDoc|
+2026-01-08 10:54:42.6707|DEBUG|OnDoc|
+2026-01-08 10:54:42.6707|DEBUG|OnDoc|
+2026-01-08 10:54:42.6707|DEBUG|OnDoc|
+2026-01-08 10:54:42.6861|DEBUG|OnDoc|
+2026-01-08 10:54:42.6861|DEBUG|OnDoc|
+2026-01-08 10:54:42.6861|DEBUG|OnDoc|
+2026-01-08 10:54:42.6861|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:54:42.7024|DEBUG|OnDoc|Word2010
+2026-01-08 10:54:42.7024|DEBUG|OnDoc|Word2010
+2026-01-08 10:54:42.9367|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:54:42.9367|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000348
+2026-01-08 10:54:42.9367|INFO|DocLog|Dokument über API erstellt
+2026-01-08 10:54:42.9367|INFO|APIDocLog|Dok erstellt
+2026-01-08 10:54:42.9501|INFO|APIDocLog|Attachment angefügt
+2026-01-08 10:54:42.9501|DEBUG|OnDoc|
+2026-01-08 10:54:42.9501|DEBUG|OnDoc|
+2026-01-08 10:54:42.9501|DEBUG|OnDoc|
+2026-01-08 10:54:42.9736|DEBUG|OnDoc|
+2026-01-08 10:54:43.8059|DEBUG|OnDoc|
+2026-01-08 10:54:43.8164|DEBUG|OnDoc|
+2026-01-08 10:55:22.4375|DEBUG|OnDoc|
+2026-01-08 10:55:22.5092|DEBUG|OnDoc|
+2026-01-08 10:55:22.5122|DEBUG|OnDoc|
+2026-01-08 10:55:22.5122|DEBUG|OnDoc|
+2026-01-08 10:55:28.6916|INFO|DocLog|Versandpaket vorbereitet
+2026-01-08 10:55:28.6916|INFO|APIDocLog|Dokumentpaket abgeschlossen
+2026-01-08 10:55:32.7967|INFO|APIDocLog|CreateDoks Start
+2026-01-08 10:55:32.8518|INFO|APIDocLog|Input Json
+2026-01-08 10:55:32.8518|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 10:55:32.8518|INFO|APIDocLog|Ersteller
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|Start GenDoc
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8570|DEBUG|OnDoc|
+2026-01-08 10:55:32.8723|DEBUG|OnDoc|
+2026-01-08 10:55:32.8723|DEBUG|OnDoc|
+2026-01-08 10:55:32.8723|DEBUG|OnDoc|
+2026-01-08 10:55:32.8723|DEBUG|OnDoc|
+2026-01-08 10:55:32.8723|DEBUG|OnDoc|
+2026-01-08 10:55:32.8723|DEBUG|OnDoc|
+2026-01-08 10:55:32.8723|DEBUG|OnDoc|
+2026-01-08 10:55:32.8723|DEBUG|OnDoc|
+2026-01-08 10:55:32.8871|DEBUG|OnDoc|
+2026-01-08 10:55:32.8871|DEBUG|OnDoc|
+2026-01-08 10:55:32.8871|DEBUG|OnDoc|
+2026-01-08 10:55:32.8871|DEBUG|OnDoc|
+2026-01-08 10:55:32.8871|DEBUG|OnDoc|
+2026-01-08 10:55:32.9073|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 10:55:32.9073|DEBUG|OnDoc|
+2026-01-08 10:55:32.9073|DEBUG|OnDoc|
+2026-01-08 10:55:32.9073|DEBUG|OnDoc|
+2026-01-08 10:55:32.9073|DEBUG|OnDoc|
+2026-01-08 10:55:32.9073|DEBUG|OnDoc|
+2026-01-08 10:55:32.9205|DEBUG|OnDoc|
+2026-01-08 10:55:32.9205|DEBUG|OnDoc|
+2026-01-08 10:55:32.9205|DEBUG|OnDoc|
+2026-01-08 10:55:32.9205|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:55:32.9350|DEBUG|OnDoc|Word2010
+2026-01-08 10:55:32.9350|DEBUG|OnDoc|Word2010
+2026-01-08 10:55:33.1596|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:55:33.1698|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000353
+2026-01-08 10:55:33.1698|INFO|DocLog|Dokument über API erstellt
+2026-01-08 10:55:33.1698|INFO|APIDocLog|Dok erstellt
+2026-01-08 10:55:33.1698|INFO|APIDocLog|Attachment angefügt
+2026-01-08 10:55:33.1698|DEBUG|OnDoc|
+2026-01-08 10:55:33.1698|DEBUG|OnDoc|
+2026-01-08 10:55:33.1698|DEBUG|OnDoc|
+2026-01-08 10:55:33.1999|DEBUG|OnDoc|
+2026-01-08 10:55:34.0115|DEBUG|OnDoc|
+2026-01-08 10:55:34.0221|DEBUG|OnDoc|
+2026-01-08 10:56:06.8204|DEBUG|OnDoc|
+2026-01-08 10:56:06.8325|DEBUG|OnDoc|
+2026-01-08 10:56:06.8325|DEBUG|OnDoc|
+2026-01-08 10:56:06.8325|DEBUG|OnDoc|
+2026-01-08 10:56:06.8515|INFO|DocLog|Versandpaket vorbereitet
+2026-01-08 10:56:06.8515|INFO|APIDocLog|Dokumentpaket abgeschlossen
+2026-01-08 10:56:09.4033|INFO|APIDocLog|CreateDoks Start
+2026-01-08 10:56:09.4469|INFO|APIDocLog|Input Json
+2026-01-08 10:56:09.4509|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 10:56:09.4509|INFO|APIDocLog|Ersteller
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|Start GenDoc
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4509|DEBUG|OnDoc|
+2026-01-08 10:56:09.4655|DEBUG|OnDoc|
+2026-01-08 10:56:09.4655|DEBUG|OnDoc|
+2026-01-08 10:56:09.4655|DEBUG|OnDoc|
+2026-01-08 10:56:09.4655|DEBUG|OnDoc|
+2026-01-08 10:56:09.4655|DEBUG|OnDoc|
+2026-01-08 10:56:09.4655|DEBUG|OnDoc|
+2026-01-08 10:56:09.4655|DEBUG|OnDoc|
+2026-01-08 10:56:09.4655|DEBUG|OnDoc|
+2026-01-08 10:56:09.4655|DEBUG|OnDoc|
+2026-01-08 10:56:09.4655|DEBUG|OnDoc|
+2026-01-08 10:56:09.4655|DEBUG|OnDoc|
+2026-01-08 10:56:09.4655|DEBUG|OnDoc|
+2026-01-08 10:56:09.4837|DEBUG|OnDoc|
+2026-01-08 10:56:09.4837|DEBUG|OnDoc|
+2026-01-08 10:56:09.4837|DEBUG|OnDoc|
+2026-01-08 10:56:09.4837|DEBUG|OnDoc|
+2026-01-08 10:56:09.4837|DEBUG|OnDoc|
+2026-01-08 10:56:09.4837|DEBUG|OnDoc|
+2026-01-08 10:56:09.5067|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 10:56:09.5067|DEBUG|OnDoc|
+2026-01-08 10:56:09.5162|DEBUG|OnDoc|
+2026-01-08 10:56:09.5162|DEBUG|OnDoc|
+2026-01-08 10:56:09.5162|DEBUG|OnDoc|
+2026-01-08 10:56:09.5162|DEBUG|OnDoc|
+2026-01-08 10:56:09.5162|DEBUG|OnDoc|
+2026-01-08 10:56:09.5162|DEBUG|OnDoc|
+2026-01-08 10:56:09.5295|DEBUG|OnDoc|
+2026-01-08 10:56:09.5295|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:56:09.5295|DEBUG|OnDoc|Word2010
+2026-01-08 10:56:09.5295|DEBUG|OnDoc|Word2010
+2026-01-08 10:56:09.7659|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:56:09.7659|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000369
+2026-01-08 10:56:09.7659|INFO|DocLog|Dokument über API erstellt
+2026-01-08 10:56:09.7659|INFO|APIDocLog|Dok erstellt
+2026-01-08 10:56:09.7659|INFO|APIDocLog|Attachment angefügt
+2026-01-08 10:56:47.1344|DEBUG|OnDoc|
+2026-01-08 10:56:47.1702|DEBUG|OnDoc|
+2026-01-08 10:56:47.1702|DEBUG|OnDoc|
+2026-01-08 10:56:47.1931|DEBUG|OnDoc|
+2026-01-08 10:56:47.9778|DEBUG|OnDoc|
+2026-01-08 10:56:47.9883|DEBUG|OnDoc|
+2026-01-08 10:57:00.2903|DEBUG|OnDoc|
+2026-01-08 10:57:00.3258|DEBUG|OnDoc|
+2026-01-08 10:57:00.3258|DEBUG|OnDoc|
+2026-01-08 10:57:00.3493|DEBUG|OnDoc|
+2026-01-08 10:57:17.7154|DEBUG|OnDoc|
+2026-01-08 10:57:17.7513|DEBUG|OnDoc|
+2026-01-08 10:57:20.8232|DEBUG|OnDoc|
+2026-01-08 10:57:20.8903|DEBUG|OnDoc|
+2026-01-08 10:57:36.8619|DEBUG|OnDoc|
+2026-01-08 10:57:36.8974|DEBUG|OnDoc|
+2026-01-08 10:57:38.0091|DEBUG|OnDoc|
+2026-01-08 10:57:38.0414|DEBUG|OnDoc|
+2026-01-08 10:57:47.1054|DEBUG|OnDoc|
+2026-01-08 10:57:47.1425|DEBUG|OnDoc|
+2026-01-08 10:57:47.2141|DEBUG|OnDoc|
+2026-01-08 10:57:47.2246|DEBUG|OnDoc|
+2026-01-08 10:57:47.2246|DEBUG|OnDoc|
+2026-01-08 10:57:47.2246|DEBUG|OnDoc|
+2026-01-08 10:58:14.2061|DEBUG|OnDoc|
+2026-01-08 10:58:14.2424|DEBUG|OnDoc|
+2026-01-08 10:58:15.1437|DEBUG|OnDoc|
+2026-01-08 10:58:15.1437|DEBUG|OnDoc|
+2026-01-08 10:58:16.5681|DEBUG|OnDoc|
+2026-01-08 10:58:16.5772|DEBUG|OnDoc|
+2026-01-08 10:58:48.8572|DEBUG|OnDoc|
+2026-01-08 10:58:48.8882|DEBUG|OnDoc|
+2026-01-08 10:58:48.8882|DEBUG|OnDoc|
+2026-01-08 10:58:48.8882|DEBUG|OnDoc|
+2026-01-08 10:59:35.3686|INFO|APIDocLog|CreateDoks Start
+2026-01-08 10:59:35.4514|INFO|APIDocLog|Input Json
+2026-01-08 10:59:35.4514|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 10:59:35.4514|INFO|APIDocLog|Ersteller
+2026-01-08 10:59:35.4514|DEBUG|OnDoc|Start GenDoc
+2026-01-08 10:59:35.4514|DEBUG|OnDoc|
+2026-01-08 10:59:35.4514|DEBUG|OnDoc|
+2026-01-08 10:59:35.4514|DEBUG|OnDoc|
+2026-01-08 10:59:35.4514|DEBUG|OnDoc|
+2026-01-08 10:59:35.4514|DEBUG|OnDoc|
+2026-01-08 10:59:35.4514|DEBUG|OnDoc|
+2026-01-08 10:59:35.4514|DEBUG|OnDoc|
+2026-01-08 10:59:35.4514|DEBUG|OnDoc|
+2026-01-08 10:59:35.4514|DEBUG|OnDoc|
+2026-01-08 10:59:35.4514|DEBUG|OnDoc|
+2026-01-08 10:59:35.4514|DEBUG|OnDoc|
+2026-01-08 10:59:35.4514|DEBUG|OnDoc|
+2026-01-08 10:59:35.4514|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4656|DEBUG|OnDoc|
+2026-01-08 10:59:35.4815|DEBUG|OnDoc|
+2026-01-08 10:59:35.4815|DEBUG|OnDoc|
+2026-01-08 10:59:35.4815|DEBUG|OnDoc|
+2026-01-08 10:59:35.4815|DEBUG|OnDoc|
+2026-01-08 10:59:35.5124|DEBUG|OnDoc|
+2026-01-08 10:59:35.5124|DEBUG|OnDoc|
+2026-01-08 10:59:35.5297|DEBUG|OnDoc|
+2026-01-08 10:59:35.5297|DEBUG|OnDoc|
+2026-01-08 10:59:35.5297|DEBUG|OnDoc|
+2026-01-08 10:59:35.5297|DEBUG|OnDoc|
+2026-01-08 10:59:35.5463|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 10:59:35.5463|DEBUG|OnDoc|
+2026-01-08 10:59:35.5463|DEBUG|OnDoc|
+2026-01-08 10:59:35.5463|DEBUG|OnDoc|
+2026-01-08 10:59:35.5463|DEBUG|OnDoc|
+2026-01-08 10:59:35.5463|DEBUG|OnDoc|
+2026-01-08 10:59:35.5627|DEBUG|OnDoc|
+2026-01-08 10:59:35.5627|DEBUG|OnDoc|
+2026-01-08 10:59:35.5627|DEBUG|OnDoc|
+2026-01-08 10:59:35.5627|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:59:35.9635|DEBUG|OnDoc|Word2010
+2026-01-08 10:59:35.9734|DEBUG|OnDoc|Word2010
+2026-01-08 10:59:37.2176|DEBUG|OnDoc|Generate_Word
+2026-01-08 10:59:37.2176|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000377
+2026-01-08 10:59:37.2176|INFO|DocLog|Dokument über API erstellt
+2026-01-08 10:59:37.2315|INFO|APIDocLog|Dok erstellt
+2026-01-08 10:59:37.2315|INFO|APIDocLog|Attachment angefügt
+2026-01-08 11:00:05.9553|DEBUG|OnDoc|
+2026-01-08 11:00:06.0063|DEBUG|OnDoc|
+2026-01-08 11:00:06.0392|DEBUG|OnDoc|
+2026-01-08 11:00:06.0704|DEBUG|OnDoc|
+2026-01-08 11:00:08.2586|DEBUG|OnDoc|
+2026-01-08 11:00:08.2703|DEBUG|OnDoc|
+2026-01-08 11:00:09.4253|DEBUG|OnDoc|
+2026-01-08 11:00:09.4353|DEBUG|OnDoc|
+2026-01-08 11:00:09.4353|DEBUG|OnDoc|
+2026-01-08 11:00:09.4353|DEBUG|OnDoc|
+2026-01-08 11:00:09.4614|INFO|DocLog|Versandpaket vorbereitet
+2026-01-08 11:00:09.4614|INFO|APIDocLog|Dokumentpaket abgeschlossen
+2026-01-08 11:00:12.8205|INFO|APIDocLog|CreateDoks Start
+2026-01-08 11:00:12.8803|INFO|APIDocLog|Input Json
+2026-01-08 11:00:12.8803|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 11:00:12.8803|INFO|APIDocLog|Ersteller
+2026-01-08 11:00:12.8803|DEBUG|OnDoc|Start GenDoc
+2026-01-08 11:00:12.8803|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.8919|DEBUG|OnDoc|
+2026-01-08 11:00:12.9030|DEBUG|OnDoc|
+2026-01-08 11:00:12.9030|DEBUG|OnDoc|
+2026-01-08 11:00:12.9030|DEBUG|OnDoc|
+2026-01-08 11:00:12.9030|DEBUG|OnDoc|
+2026-01-08 11:00:12.9030|DEBUG|OnDoc|
+2026-01-08 11:00:12.9030|DEBUG|OnDoc|
+2026-01-08 11:00:12.9030|DEBUG|OnDoc|
+2026-01-08 11:00:12.9030|DEBUG|OnDoc|
+2026-01-08 11:00:12.9030|DEBUG|OnDoc|
+2026-01-08 11:00:12.9030|DEBUG|OnDoc|
+2026-01-08 11:00:12.9030|DEBUG|OnDoc|
+2026-01-08 11:00:12.9030|DEBUG|OnDoc|
+2026-01-08 11:00:12.9030|DEBUG|OnDoc|
+2026-01-08 11:00:12.9030|DEBUG|OnDoc|
+2026-01-08 11:00:12.9191|DEBUG|OnDoc|
+2026-01-08 11:00:12.9191|DEBUG|OnDoc|
+2026-01-08 11:00:12.9191|DEBUG|OnDoc|
+2026-01-08 11:00:12.9191|DEBUG|OnDoc|
+2026-01-08 11:00:12.9191|DEBUG|OnDoc|
+2026-01-08 11:00:12.9359|DEBUG|OnDoc|
+2026-01-08 11:00:12.9359|DEBUG|OnDoc|
+2026-01-08 11:00:12.9515|DEBUG|OnDoc|
+2026-01-08 11:00:12.9515|DEBUG|OnDoc|
+2026-01-08 11:00:12.9515|DEBUG|OnDoc|
+2026-01-08 11:00:12.9515|DEBUG|OnDoc|
+2026-01-08 11:00:12.9515|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 11:00:12.9664|DEBUG|OnDoc|
+2026-01-08 11:00:12.9664|DEBUG|OnDoc|
+2026-01-08 11:00:12.9664|DEBUG|OnDoc|
+2026-01-08 11:00:12.9664|DEBUG|OnDoc|
+2026-01-08 11:00:12.9664|DEBUG|OnDoc|
+2026-01-08 11:00:12.9871|DEBUG|OnDoc|
+2026-01-08 11:00:12.9871|DEBUG|OnDoc|
+2026-01-08 11:00:12.9871|DEBUG|OnDoc|
+2026-01-08 11:00:12.9972|DEBUG|OnDoc|Generate_Word
+2026-01-08 11:00:12.9972|DEBUG|OnDoc|Word2010
+2026-01-08 11:00:12.9972|DEBUG|OnDoc|Word2010
+2026-01-08 11:00:13.2373|DEBUG|OnDoc|Generate_Word
+2026-01-08 11:00:13.2483|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000385
+2026-01-08 11:00:13.2483|INFO|DocLog|Dokument über API erstellt
+2026-01-08 11:00:13.2483|INFO|APIDocLog|Dok erstellt
+2026-01-08 11:00:13.2483|INFO|APIDocLog|Attachment angefügt
+2026-01-08 11:00:50.7251|DEBUG|OnDoc|
+2026-01-08 11:00:50.7609|DEBUG|OnDoc|
+2026-01-08 11:00:50.7609|DEBUG|OnDoc|
+2026-01-08 11:00:50.7927|DEBUG|OnDoc|
+2026-01-08 11:00:52.9743|DEBUG|OnDoc|
+2026-01-08 11:00:52.9866|DEBUG|OnDoc|
+2026-01-08 11:00:54.2562|DEBUG|OnDoc|
+2026-01-08 11:00:54.2662|DEBUG|OnDoc|
+2026-01-08 11:00:54.2662|DEBUG|OnDoc|
+2026-01-08 11:00:54.2662|DEBUG|OnDoc|
+2026-01-08 11:00:54.2829|INFO|DocLog|Versandpaket vorbereitet
+2026-01-08 11:00:54.2829|INFO|APIDocLog|Dokumentpaket abgeschlossen
+2026-01-08 11:01:05.6757|INFO|APIDocLog|CreateDoks Start
+2026-01-08 11:01:10.3870|INFO|APIDocLog|Input Json
+2026-01-08 11:01:11.3580|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 11:01:11.6621|INFO|APIDocLog|Ersteller
+2026-01-08 11:01:12.6760|DEBUG|OnDoc|Start GenDoc
+2026-01-08 11:01:12.6850|DEBUG|OnDoc|
+2026-01-08 11:01:12.6850|DEBUG|OnDoc|
+2026-01-08 11:01:12.6850|DEBUG|OnDoc|
+2026-01-08 11:01:12.6850|DEBUG|OnDoc|
+2026-01-08 11:01:12.6850|DEBUG|OnDoc|
+2026-01-08 11:01:12.6850|DEBUG|OnDoc|
+2026-01-08 11:01:12.6850|DEBUG|OnDoc|
+2026-01-08 11:01:12.6850|DEBUG|OnDoc|
+2026-01-08 11:01:12.6850|DEBUG|OnDoc|
+2026-01-08 11:01:12.6850|DEBUG|OnDoc|
+2026-01-08 11:01:12.6850|DEBUG|OnDoc|
+2026-01-08 11:01:12.7016|DEBUG|OnDoc|
+2026-01-08 11:01:12.7016|DEBUG|OnDoc|
+2026-01-08 11:01:12.7016|DEBUG|OnDoc|
+2026-01-08 11:01:12.7016|DEBUG|OnDoc|
+2026-01-08 11:01:12.7016|DEBUG|OnDoc|
+2026-01-08 11:01:12.7016|DEBUG|OnDoc|
+2026-01-08 11:01:12.7016|DEBUG|OnDoc|
+2026-01-08 11:01:23.0254|DEBUG|OnDoc|
+2026-01-08 11:01:23.0631|DEBUG|OnDoc|
+2026-01-08 11:01:23.6446|DEBUG|OnDoc|
+2026-01-08 11:01:23.6536|DEBUG|OnDoc|
+2026-01-08 11:01:26.3858|DEBUG|OnDoc|
+2026-01-08 11:01:26.3954|DEBUG|OnDoc|
+2026-01-08 11:01:31.7826|DEBUG|OnDoc|
+2026-01-08 11:01:31.8189|DEBUG|OnDoc|
+2026-01-08 11:01:31.9848|DEBUG|OnDoc|
+2026-01-08 11:01:31.9848|DEBUG|OnDoc|
+2026-01-08 11:01:32.1580|DEBUG|OnDoc|
+2026-01-08 11:01:32.1580|DEBUG|OnDoc|
+2026-01-08 11:01:32.3444|DEBUG|OnDoc|
+2026-01-08 11:01:32.3444|DEBUG|OnDoc|
+2026-01-08 11:01:32.5232|DEBUG|OnDoc|
+2026-01-08 11:01:32.5328|DEBUG|OnDoc|
+2026-01-08 11:01:33.1415|DEBUG|OnDoc|
+2026-01-08 11:01:33.1415|DEBUG|OnDoc|
+2026-01-08 11:01:56.3074|DEBUG|OnDoc|
+2026-01-08 11:01:56.3104|DEBUG|OnDoc|
+2026-01-08 11:01:56.3311|DEBUG|OnDoc|
+2026-01-08 11:01:56.3311|DEBUG|OnDoc|
+2026-01-08 11:01:56.3311|DEBUG|OnDoc|
+2026-01-08 11:01:56.3311|DEBUG|OnDoc|
+2026-01-08 11:02:03.6704|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 11:02:03.7080|DEBUG|OnDoc|
+2026-01-08 11:02:03.7228|DEBUG|OnDoc|
+2026-01-08 11:02:03.7228|DEBUG|OnDoc|
+2026-01-08 11:02:03.7228|DEBUG|OnDoc|
+2026-01-08 11:02:03.7228|DEBUG|OnDoc|
+2026-01-08 11:02:03.7345|DEBUG|OnDoc|
+2026-01-08 11:02:03.7345|DEBUG|OnDoc|
+2026-01-08 11:02:03.7345|DEBUG|OnDoc|
+2026-01-08 11:02:03.7345|DEBUG|OnDoc|Generate_Word
+2026-01-08 11:02:03.7547|DEBUG|OnDoc|Word2010
+2026-01-08 11:02:03.7547|DEBUG|OnDoc|Word2010
+2026-01-08 11:02:03.9845|DEBUG|OnDoc|Generate_Word
+2026-01-08 11:02:15.5324|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000390
+2026-01-08 11:02:15.9505|INFO|DocLog|Dokument über API erstellt
+2026-01-08 11:02:29.2984|INFO|APIDocLog|Dok erstellt
+2026-01-08 11:02:29.3676|INFO|APIDocLog|Attachment angefügt
+2026-01-08 11:02:32.7948|DEBUG|OnDoc|
+2026-01-08 11:02:32.8302|DEBUG|OnDoc|
+2026-01-08 11:02:32.8302|DEBUG|OnDoc|
+2026-01-08 11:02:32.8580|DEBUG|OnDoc|
+2026-01-08 11:02:35.0898|DEBUG|OnDoc|
+2026-01-08 11:02:35.1006|DEBUG|OnDoc|
+2026-01-08 11:02:36.7668|DEBUG|OnDoc|
+2026-01-08 11:02:36.7668|DEBUG|OnDoc|
+2026-01-08 11:02:36.7784|DEBUG|OnDoc|
+2026-01-08 11:02:36.7784|DEBUG|OnDoc|
+2026-01-08 11:02:36.7957|INFO|DocLog|Versandpaket vorbereitet
+2026-01-08 11:02:36.7957|INFO|APIDocLog|Dokumentpaket abgeschlossen
+2026-01-08 11:02:44.4090|INFO|APIDocLog|CreateDoks Start
+2026-01-08 11:02:46.2859|INFO|APIDocLog|Input Json
+2026-01-08 11:02:46.6389|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 11:02:46.8111|INFO|APIDocLog|Ersteller
+2026-01-08 11:02:47.5004|DEBUG|OnDoc|Start GenDoc
+2026-01-08 11:02:47.5004|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:47.5123|DEBUG|OnDoc|
+2026-01-08 11:02:58.6432|DEBUG|OnDoc|
+2026-01-08 11:02:58.6789|DEBUG|OnDoc|
+2026-01-08 11:02:59.2209|DEBUG|OnDoc|
+2026-01-08 11:02:59.2310|DEBUG|OnDoc|
+2026-01-08 11:03:01.3518|DEBUG|OnDoc|
+2026-01-08 11:03:01.3617|DEBUG|OnDoc|
+2026-01-08 11:03:05.5001|DEBUG|OnDoc|
+2026-01-08 11:03:05.5358|DEBUG|OnDoc|
+2026-01-08 11:03:05.6359|DEBUG|OnDoc|
+2026-01-08 11:03:05.6465|DEBUG|OnDoc|
+2026-01-08 11:03:05.8008|DEBUG|OnDoc|
+2026-01-08 11:03:05.8107|DEBUG|OnDoc|
+2026-01-08 11:03:05.9957|DEBUG|OnDoc|
+2026-01-08 11:03:06.0069|DEBUG|OnDoc|
+2026-01-08 11:03:06.1675|DEBUG|OnDoc|
+2026-01-08 11:03:06.1767|DEBUG|OnDoc|
+2026-01-08 11:03:07.0140|DEBUG|OnDoc|
+2026-01-08 11:03:07.0140|DEBUG|OnDoc|
+2026-01-08 11:03:24.5018|DEBUG|OnDoc|
+2026-01-08 11:03:24.5018|DEBUG|OnDoc|
+2026-01-08 11:03:24.5142|DEBUG|OnDoc|
+2026-01-08 11:03:24.5142|DEBUG|OnDoc|
+2026-01-08 11:03:24.5142|DEBUG|OnDoc|
+2026-01-08 11:03:24.5142|DEBUG|OnDoc|
+2026-01-08 11:03:27.5249|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 11:03:27.5345|DEBUG|OnDoc|
+2026-01-08 11:03:27.5345|DEBUG|OnDoc|
+2026-01-08 11:03:27.5345|DEBUG|OnDoc|
+2026-01-08 11:03:27.5439|DEBUG|OnDoc|
+2026-01-08 11:03:27.5439|DEBUG|OnDoc|
+2026-01-08 11:03:27.5439|DEBUG|OnDoc|
+2026-01-08 11:03:27.5439|DEBUG|OnDoc|
+2026-01-08 11:03:27.5439|DEBUG|OnDoc|
+2026-01-08 11:03:27.5439|DEBUG|OnDoc|Generate_Word
+2026-01-08 11:03:27.5655|DEBUG|OnDoc|Word2010
+2026-01-08 11:03:27.5655|DEBUG|OnDoc|Word2010
+2026-01-08 11:03:27.7982|DEBUG|OnDoc|Generate_Word
+2026-01-08 11:03:28.9280|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000404
+2026-01-08 11:03:29.3442|INFO|DocLog|Dokument über API erstellt
+2026-01-08 11:03:56.6868|INFO|APIDocLog|Dok erstellt
+2026-01-08 11:04:02.4937|INFO|APIDocLog|Attachment angefügt
+2026-01-08 11:04:11.8251|DEBUG|OnDoc|
+2026-01-08 11:04:11.8622|DEBUG|OnDoc|
+2026-01-08 11:04:11.8622|DEBUG|OnDoc|
+2026-01-08 11:04:11.8977|DEBUG|OnDoc|
+2026-01-08 11:04:11.8977|DEBUG|OnDoc|
+2026-01-08 11:04:11.9059|DEBUG|OnDoc|
+2026-01-08 11:04:11.9059|DEBUG|OnDoc|
+2026-01-08 11:04:11.9059|DEBUG|OnDoc|
+2026-01-08 11:04:11.9059|DEBUG|OnDoc|
+2026-01-08 11:04:11.9059|DEBUG|OnDoc|
+2026-01-08 11:04:11.9059|DEBUG|OnDoc|
+2026-01-08 11:04:11.9059|DEBUG|OnDoc|
+2026-01-08 11:04:17.8622|DEBUG|OnDoc|
+2026-01-08 11:04:17.8998|DEBUG|OnDoc|
+2026-01-08 11:04:17.9096|DEBUG|OnDoc|
+2026-01-08 11:04:17.9096|DEBUG|OnDoc|
+2026-01-08 11:04:17.9891|INFO|DocLog|Versandpaket vorbereitet
+2026-01-08 11:04:17.9891|INFO|APIDocLog|Dokumentpaket abgeschlossen
+2026-01-08 11:05:03.9515|INFO|APIDocLog|Start CreateDoc
+2026-01-08 11:05:04.0302|INFO|APIDocLog|Input JSON
+2026-01-08 11:05:04.0302|DEBUG|OnDoc|Start GenDoc
+2026-01-08 11:05:04.0302|DEBUG|OnDoc|
+2026-01-08 11:05:04.0302|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0438|DEBUG|OnDoc|
+2026-01-08 11:05:04.0598|DEBUG|OnDoc|
+2026-01-08 11:05:04.0598|DEBUG|OnDoc|
+2026-01-08 11:05:04.0598|DEBUG|OnDoc|
+2026-01-08 11:05:04.0598|DEBUG|OnDoc|
+2026-01-08 11:05:04.0598|DEBUG|OnDoc|
+2026-01-08 11:05:04.0598|DEBUG|OnDoc|
+2026-01-08 11:05:04.0598|DEBUG|OnDoc|
+2026-01-08 11:05:04.0598|DEBUG|OnDoc|
+2026-01-08 11:05:04.0949|DEBUG|OnDoc|
+2026-01-08 11:05:04.0949|DEBUG|OnDoc|
+2026-01-08 11:05:04.1149|DEBUG|OnDoc|
+2026-01-08 11:05:04.1149|DEBUG|OnDoc|
+2026-01-08 11:05:04.1149|DEBUG|OnDoc|
+2026-01-08 11:05:04.1149|DEBUG|OnDoc|
+2026-01-08 11:05:04.1466|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 11:05:04.1466|DEBUG|OnDoc|
+2026-01-08 11:05:04.1592|DEBUG|OnDoc|
+2026-01-08 11:05:04.1592|DEBUG|OnDoc|
+2026-01-08 11:05:04.1592|DEBUG|OnDoc|
+2026-01-08 11:05:04.1592|DEBUG|OnDoc|
+2026-01-08 11:05:04.1749|DEBUG|OnDoc|
+2026-01-08 11:05:04.1749|DEBUG|OnDoc|
+2026-01-08 11:05:04.1749|DEBUG|OnDoc|
+2026-01-08 11:05:04.1749|DEBUG|OnDoc|Generate_Word
+2026-01-08 11:05:04.1928|DEBUG|OnDoc|Word2010
+2026-01-08 11:05:04.1928|DEBUG|OnDoc|Word2010
+2026-01-08 11:05:04.4908|DEBUG|OnDoc|
+2026-01-08 11:05:04.5003|DEBUG|OnDoc|
+2026-01-08 11:05:04.5358|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
+2026-01-08 11:05:04.5358|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
+2026-01-08 11:05:04.6018|DEBUG|OnDoc|
+2026-01-08 11:05:04.6068|DEBUG|OnDoc|
+2026-01-08 11:05:04.6299|DEBUG|OnDoc|TGNummer für Mitarbeiter nicht vorhanden Mitarbeiternr: -1
+2026-01-08 11:05:04.8087|DEBUG|OnDoc|Generate_Word
+2026-01-08 11:05:04.8226|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000412
+2026-01-08 11:05:04.8226|INFO|DocLog|Dokument über API erstellt
+2026-01-08 11:05:04.8226|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-08 11:06:50.9122|INFO|APIDocLog|Start CreateDoc
+2026-01-08 11:06:50.9927|INFO|APIDocLog|Input JSON
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|Start GenDoc
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:50.9968|DEBUG|OnDoc|
+2026-01-08 11:06:51.0124|DEBUG|OnDoc|
+2026-01-08 11:06:51.0124|DEBUG|OnDoc|
+2026-01-08 11:06:51.0124|DEBUG|OnDoc|
+2026-01-08 11:06:51.0124|DEBUG|OnDoc|
+2026-01-08 11:06:51.0124|DEBUG|OnDoc|
+2026-01-08 11:06:51.0124|DEBUG|OnDoc|
+2026-01-08 11:06:51.0124|DEBUG|OnDoc|
+2026-01-08 11:06:51.0574|DEBUG|OnDoc|
+2026-01-08 11:06:51.0574|DEBUG|OnDoc|
+2026-01-08 11:06:51.0714|DEBUG|OnDoc|
+2026-01-08 11:06:51.0714|DEBUG|OnDoc|
+2026-01-08 11:06:51.0714|DEBUG|OnDoc|
+2026-01-08 11:06:51.0714|DEBUG|OnDoc|
+2026-01-08 11:06:51.1061|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 11:06:51.1061|DEBUG|OnDoc|
+2026-01-08 11:06:51.1223|DEBUG|OnDoc|
+2026-01-08 11:06:51.1223|DEBUG|OnDoc|
+2026-01-08 11:06:51.1223|DEBUG|OnDoc|
+2026-01-08 11:06:51.1223|DEBUG|OnDoc|
+2026-01-08 11:06:51.1223|DEBUG|OnDoc|
+2026-01-08 11:06:51.1223|DEBUG|OnDoc|
+2026-01-08 11:06:51.1393|DEBUG|OnDoc|
+2026-01-08 11:06:51.1393|DEBUG|OnDoc|Generate_Word
+2026-01-08 11:06:51.1393|DEBUG|OnDoc|Word2010
+2026-01-08 11:06:51.1393|DEBUG|OnDoc|Word2010
+2026-01-08 11:06:51.4369|DEBUG|OnDoc|
+2026-01-08 11:06:51.4369|DEBUG|OnDoc|
+2026-01-08 11:06:51.4902|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
+2026-01-08 11:06:51.4902|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
+2026-01-08 11:06:51.5497|DEBUG|OnDoc|
+2026-01-08 11:06:51.5497|DEBUG|OnDoc|
+2026-01-08 11:06:51.5789|DEBUG|OnDoc|TGNummer für Mitarbeiter nicht vorhanden Mitarbeiternr: -1
+2026-01-08 11:06:51.7311|DEBUG|OnDoc|Generate_Word
+2026-01-08 11:06:51.7311|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000428
+2026-01-08 11:06:51.7311|INFO|DocLog|Dokument über API erstellt
+2026-01-08 11:06:51.7311|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-08 11:08:35.1981|INFO|APIDocLog|CreateDoks Start
+2026-01-08 11:08:35.2565|INFO|APIDocLog|Input Json
+2026-01-08 11:08:35.2565|INFO|APIDocLog|Herkunftsapplikation
+2026-01-08 11:08:35.2635|INFO|APIDocLog|Ersteller
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|Start GenDoc
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2635|DEBUG|OnDoc|
+2026-01-08 11:08:35.2790|DEBUG|OnDoc|
+2026-01-08 11:08:35.2790|DEBUG|OnDoc|
+2026-01-08 11:08:35.2790|DEBUG|OnDoc|
+2026-01-08 11:08:35.2790|DEBUG|OnDoc|
+2026-01-08 11:08:35.2790|DEBUG|OnDoc|
+2026-01-08 11:08:35.2790|DEBUG|OnDoc|
+2026-01-08 11:08:35.2790|DEBUG|OnDoc|
+2026-01-08 11:08:35.2790|DEBUG|OnDoc|
+2026-01-08 11:08:35.2790|DEBUG|OnDoc|
+2026-01-08 11:08:35.2969|DEBUG|OnDoc|
+2026-01-08 11:08:35.2969|DEBUG|OnDoc|
+2026-01-08 11:08:35.2969|DEBUG|OnDoc|
+2026-01-08 11:08:35.2969|DEBUG|OnDoc|
+2026-01-08 11:08:35.2969|DEBUG|OnDoc|
+2026-01-08 11:08:35.2969|DEBUG|OnDoc|
+2026-01-08 11:08:35.3195|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 11:08:35.3195|DEBUG|OnDoc|
+2026-01-08 11:08:35.3271|DEBUG|OnDoc|
+2026-01-08 11:08:35.3271|DEBUG|OnDoc|
+2026-01-08 11:08:35.3271|DEBUG|OnDoc|
+2026-01-08 11:08:35.3271|DEBUG|OnDoc|
+2026-01-08 11:08:35.3271|DEBUG|OnDoc|
+2026-01-08 11:08:35.3271|DEBUG|OnDoc|
+2026-01-08 11:08:35.3271|DEBUG|OnDoc|
+2026-01-08 11:08:35.3271|DEBUG|OnDoc|Generate_Word
+2026-01-08 11:08:35.3456|DEBUG|OnDoc|Word2010
+2026-01-08 11:08:35.3456|DEBUG|OnDoc|Word2010
+2026-01-08 11:08:35.6321|DEBUG|OnDoc|Generate_Word
+2026-01-08 11:08:35.6432|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000433
+2026-01-08 11:08:35.6432|INFO|DocLog|Dokument über API erstellt
+2026-01-08 11:08:35.6432|INFO|APIDocLog|Dok erstellt
+2026-01-08 11:08:35.6432|INFO|APIDocLog|Attachment angefügt
+2026-01-08 11:08:37.1866|DEBUG|OnDoc|
+2026-01-08 11:08:37.2517|DEBUG|OnDoc|
+2026-01-08 11:08:37.2517|DEBUG|OnDoc|
+2026-01-08 11:08:37.2910|DEBUG|OnDoc|
+2026-01-08 11:08:37.2910|DEBUG|OnDoc|
+2026-01-08 11:08:37.2976|DEBUG|OnDoc|
+2026-01-08 11:08:37.2976|DEBUG|OnDoc|
+2026-01-08 11:08:37.2976|DEBUG|OnDoc|
+2026-01-08 11:08:37.2976|DEBUG|OnDoc|
+2026-01-08 11:08:37.2976|DEBUG|OnDoc|
+2026-01-08 11:08:37.2976|DEBUG|OnDoc|
+2026-01-08 11:08:37.2976|DEBUG|OnDoc|
+2026-01-08 11:08:38.2037|DEBUG|OnDoc|
+2026-01-08 11:08:38.2037|DEBUG|OnDoc|
+2026-01-08 11:08:38.2529|DEBUG|OnDoc|
+2026-01-08 11:08:38.2529|DEBUG|OnDoc|
+2026-01-08 11:08:38.3172|INFO|DocLog|Versandpaket vorbereitet
+2026-01-08 11:08:38.3172|INFO|APIDocLog|Dokumentpaket abgeschlossen
+2026-01-08 11:09:14.3831|INFO|APIDocLog|Start CreateCLM
+2026-01-08 11:09:14.4628|INFO|APIDocLog|Input JSON
+2026-01-08 11:09:14.4891|DEBUG|OnDoc|
+2026-01-08 11:09:14.4891|DEBUG|OnDoc|
+2026-01-08 11:09:14.4986|DEBUG|OnDoc|
+2026-01-08 11:09:14.4986|DEBUG|OnDoc|
+2026-01-08 11:09:14.5127|DEBUG|OnDoc|
+2026-01-08 11:09:14.5127|DEBUG|OnDoc|
+2026-01-08 11:09:14.5127|DEBUG|OnDoc|
+2026-01-08 11:09:14.5127|DEBUG|OnDoc|
+2026-01-08 11:09:14.5127|DEBUG|OnDoc|
+2026-01-08 11:09:14.5127|DEBUG|OnDoc|
+2026-01-08 11:09:14.5127|DEBUG|OnDoc|
+2026-01-08 11:09:14.5127|DEBUG|OnDoc|
+2026-01-08 11:09:14.5127|DEBUG|OnDoc|
+2026-01-08 11:09:14.5127|DEBUG|OnDoc|
+2026-01-08 11:09:14.5729|DEBUG|OnDoc|
+2026-01-08 11:09:14.5749|DEBUG|OnDoc|
+2026-01-08 11:09:14.6272|DEBUG|OnDoc|
+2026-01-08 11:09:14.6272|DEBUG|OnDoc|
+2026-01-08 11:09:14.6635|DEBUG|OnDoc|Generate_Doc_EDOKA
+2026-01-08 11:09:14.6635|DEBUG|OnDoc|
+2026-01-08 11:09:14.6765|DEBUG|OnDoc|
+2026-01-08 11:09:14.6765|DEBUG|OnDoc|
+2026-01-08 11:09:14.6765|DEBUG|OnDoc|
+2026-01-08 11:09:14.6765|DEBUG|OnDoc|
+2026-01-08 11:09:14.6867|DEBUG|OnDoc|
+2026-01-08 11:09:14.6867|DEBUG|OnDoc|
+2026-01-08 11:09:14.6867|DEBUG|OnDoc|
+2026-01-08 11:09:14.6867|DEBUG|OnDoc|Generate_Word
+2026-01-08 11:09:14.7710|DEBUG|OnDoc|Word2013
+2026-01-08 11:09:14.7798|DEBUG|OnDoc|Word2013
+2026-01-08 11:09:15.9522|DEBUG|OnDoc|Generate_Word
+2026-01-08 11:09:15.9661|DEBUG|OnDoc|Ende GenDoc DokumentID:OFFEDK0082026000000449
+2026-01-08 11:09:15.9661|INFO|DocLog|Dokument über API erstellt
+2026-01-08 11:09:15.9661|INFO|APIDocLog|Dokument abgeschlossen
+2026-01-08 12:41:16.4768|DEBUG|OnDoc|
+2026-01-08 12:41:16.5064|DEBUG|OnDoc|
+2026-01-08 12:41:16.5064|DEBUG|OnDoc|
+2026-01-08 12:41:16.5064|DEBUG|OnDoc|
+2026-01-08 13:15:04.4916|DEBUG|OnDoc|
+2026-01-08 13:15:04.5137|DEBUG|OnDoc|
+2026-01-08 13:15:04.5137|DEBUG|OnDoc|
+2026-01-08 13:15:04.5137|DEBUG|OnDoc|
+2026-01-08 13:20:57.4018|DEBUG|OnDoc|
+2026-01-08 13:20:57.4666|DEBUG|OnDoc|
+2026-01-08 13:20:57.4666|DEBUG|OnDoc|
+2026-01-08 13:20:57.4666|DEBUG|OnDoc|
+2026-01-08 13:28:22.3926|DEBUG|OnDoc|
+2026-01-08 13:28:22.4207|DEBUG|OnDoc|
+2026-01-08 13:28:22.4207|DEBUG|OnDoc|
+2026-01-08 13:28:22.4207|DEBUG|OnDoc|
+2026-01-08 13:30:02.2641|DEBUG|OnDoc|
+2026-01-08 13:30:02.2641|DEBUG|OnDoc|
+2026-01-08 13:30:02.3127|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
+2026-01-08 13:30:02.3127|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
+2026-01-08 13:30:02.3920|DEBUG|OnDoc|
+2026-01-08 13:30:02.3920|DEBUG|OnDoc|
+2026-01-08 13:30:02.4221|DEBUG|OnDoc|TGNummer für Mitarbeiter nicht vorhanden Mitarbeiternr: -1
+2026-01-08 13:49:31.9048|DEBUG|OnDoc|
+2026-01-08 13:49:31.9258|DEBUG|OnDoc|
+2026-01-08 13:49:31.9258|DEBUG|OnDoc|
+2026-01-08 13:49:31.9258|DEBUG|OnDoc|
+2026-01-08 13:53:38.6724|DEBUG|OnDoc|
+2026-01-08 13:53:38.7049|DEBUG|OnDoc|
+2026-01-08 13:53:38.7049|DEBUG|OnDoc|
+2026-01-08 13:53:38.7049|DEBUG|OnDoc|
+2026-01-08 14:03:38.2041|DEBUG|OnDoc|
+2026-01-08 14:03:38.2386|DEBUG|OnDoc|
+2026-01-08 14:03:38.2386|DEBUG|OnDoc|
+2026-01-08 14:03:38.2386|DEBUG|OnDoc|
+2026-01-08 14:25:31.7134|DEBUG|OnDoc|
+2026-01-08 14:25:31.7425|DEBUG|OnDoc|
+2026-01-08 14:25:31.7425|DEBUG|OnDoc|
+2026-01-08 14:25:31.7425|DEBUG|OnDoc|
+2026-01-08 19:28:47.0236|DEBUG|OnDoc|
+2026-01-08 19:28:47.0466|DEBUG|OnDoc|
+2026-01-08 19:28:47.0466|DEBUG|OnDoc|
+2026-01-08 19:28:47.0466|DEBUG|OnDoc|
+2026-01-08 19:31:24.8938|DEBUG|OnDoc|
+2026-01-08 19:31:24.9226|DEBUG|OnDoc|
+2026-01-08 19:31:24.9226|DEBUG|OnDoc|
+2026-01-08 19:31:24.9226|DEBUG|OnDoc|
+2026-01-08 19:44:35.6215|DEBUG|OnDoc|
+2026-01-08 19:44:35.6784|DEBUG|OnDoc|
+2026-01-08 19:44:35.6784|DEBUG|OnDoc|
+2026-01-08 19:44:35.6784|DEBUG|OnDoc|
diff --git a/API_NetFramework/obj/Debug/API_NetFramework.csproj.AssemblyReference.cache b/API_NetFramework/obj/Debug/API_NetFramework.csproj.AssemblyReference.cache
index da5c2857e..ea8cb19a3 100644
Binary files a/API_NetFramework/obj/Debug/API_NetFramework.csproj.AssemblyReference.cache and b/API_NetFramework/obj/Debug/API_NetFramework.csproj.AssemblyReference.cache differ
diff --git a/API_NetFramework/obj/Debug/API_NetFramework.csproj.CoreCompileInputs.cache b/API_NetFramework/obj/Debug/API_NetFramework.csproj.CoreCompileInputs.cache
index 3ceb69772..e5549fff9 100644
--- a/API_NetFramework/obj/Debug/API_NetFramework.csproj.CoreCompileInputs.cache
+++ b/API_NetFramework/obj/Debug/API_NetFramework.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-f4edd25b59965f3aba1dd0fe3be0134c23fa88f0d01526b0e52d3378a785bf89
+912e2514d1f2ddb24b54769f68c94a4776c9e4de5dc37cfb43da8300c2e75df3
diff --git a/API_NetFramework/obj/Debug/API_NetFramework.csproj.FileListAbsolute.txt b/API_NetFramework/obj/Debug/API_NetFramework.csproj.FileListAbsolute.txt
index dd303a87d..2e2a770f5 100644
--- a/API_NetFramework/obj/Debug/API_NetFramework.csproj.FileListAbsolute.txt
+++ b/API_NetFramework/obj/Debug/API_NetFramework.csproj.FileListAbsolute.txt
@@ -323,3 +323,5 @@ E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\DOCGEN.pdb
E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\DOCGEN.dll.config
E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\OfficePrinter.pdb
E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\Database.dll.config
+E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\System.Web.Http.Tracing.dll
+E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\System.Web.Http.Tracing.xml
diff --git a/API_NetFramework/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/API_NetFramework/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index b73249220..165a9c97e 100644
Binary files a/API_NetFramework/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/API_NetFramework/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/API_NetFramework/obj/Debug/OnDoc_NetFramework.dll b/API_NetFramework/obj/Debug/OnDoc_NetFramework.dll
index 2e2da7ff7..16fdbb6ca 100644
Binary files a/API_NetFramework/obj/Debug/OnDoc_NetFramework.dll and b/API_NetFramework/obj/Debug/OnDoc_NetFramework.dll differ
diff --git a/API_NetFramework/obj/Debug/OnDoc_NetFramework.pdb b/API_NetFramework/obj/Debug/OnDoc_NetFramework.pdb
index 36842328b..547c3bbdf 100644
Binary files a/API_NetFramework/obj/Debug/OnDoc_NetFramework.pdb and b/API_NetFramework/obj/Debug/OnDoc_NetFramework.pdb differ
diff --git a/API_NetFramework/packages.config b/API_NetFramework/packages.config
index 76841d340..593e3fe73 100644
--- a/API_NetFramework/packages.config
+++ b/API_NetFramework/packages.config
@@ -16,6 +16,7 @@
+
diff --git a/BarcodeLib/bin/Debug/Database.dll b/BarcodeLib/bin/Debug/Database.dll
index fbbe3f949..ed1e14fc2 100644
Binary files a/BarcodeLib/bin/Debug/Database.dll and b/BarcodeLib/bin/Debug/Database.dll differ
diff --git a/BarcodeLib/bin/Debug/Database.pdb b/BarcodeLib/bin/Debug/Database.pdb
index 921de6268..fdafff8eb 100644
Binary files a/BarcodeLib/bin/Debug/Database.pdb and b/BarcodeLib/bin/Debug/Database.pdb differ
diff --git a/BarcodeLib/bin/Debug/Model.dll b/BarcodeLib/bin/Debug/Model.dll
index 0ec5a240a..589721439 100644
Binary files a/BarcodeLib/bin/Debug/Model.dll and b/BarcodeLib/bin/Debug/Model.dll differ
diff --git a/BarcodeLib/bin/Debug/Model.pdb b/BarcodeLib/bin/Debug/Model.pdb
index 7b22f3a3e..bdceac1f0 100644
Binary files a/BarcodeLib/bin/Debug/Model.pdb and b/BarcodeLib/bin/Debug/Model.pdb differ
diff --git a/BarcodeLib/obj/Debug/BarcodeLib.csproj.AssemblyReference.cache b/BarcodeLib/obj/Debug/BarcodeLib.csproj.AssemblyReference.cache
index 9b8ef22eb..8f3cd8c7b 100644
Binary files a/BarcodeLib/obj/Debug/BarcodeLib.csproj.AssemblyReference.cache and b/BarcodeLib/obj/Debug/BarcodeLib.csproj.AssemblyReference.cache differ
diff --git a/BarcodeLibVBDatamatrix/bin/Debug/Model.dll b/BarcodeLibVBDatamatrix/bin/Debug/Model.dll
index 74d2710ed..b2007c3c5 100644
Binary files a/BarcodeLibVBDatamatrix/bin/Debug/Model.dll and b/BarcodeLibVBDatamatrix/bin/Debug/Model.dll differ
diff --git a/BarcodeLibVBDatamatrix/bin/Debug/Model.pdb b/BarcodeLibVBDatamatrix/bin/Debug/Model.pdb
index 1f7611581..244081632 100644
Binary files a/BarcodeLibVBDatamatrix/bin/Debug/Model.pdb and b/BarcodeLibVBDatamatrix/bin/Debug/Model.pdb differ
diff --git a/BarcodeLibVBDatamatrix/obj/Debug/BarcodeLibVBDatamatrix.vbproj.AssemblyReference.cache b/BarcodeLibVBDatamatrix/obj/Debug/BarcodeLibVBDatamatrix.vbproj.AssemblyReference.cache
index f4b953370..3acca0365 100644
Binary files a/BarcodeLibVBDatamatrix/obj/Debug/BarcodeLibVBDatamatrix.vbproj.AssemblyReference.cache and b/BarcodeLibVBDatamatrix/obj/Debug/BarcodeLibVBDatamatrix.vbproj.AssemblyReference.cache differ
diff --git a/Client/Diverses/MitarbeiterProfil.Designer.cs b/Client/Diverses/MitarbeiterProfil.Designer.cs
index a641b5f4b..de782b110 100644
--- a/Client/Diverses/MitarbeiterProfil.Designer.cs
+++ b/Client/Diverses/MitarbeiterProfil.Designer.cs
@@ -30,8 +30,8 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MitarbeiterProfil));
+ Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo3 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
- Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo2 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
this.ribbon1 = new System.Windows.Forms.Ribbon();
this.ribbonTab1 = new System.Windows.Forms.RibbonTab();
this.RibbonPanelExit = new System.Windows.Forms.RibbonPanel();
@@ -165,7 +165,7 @@
this.ribbon1.OrbStyle = System.Windows.Forms.RibbonOrbStyle.Office_2013;
this.ribbon1.OrbVisible = false;
this.ribbon1.RibbonTabFont = new System.Drawing.Font("Trebuchet MS", 9F);
- this.ribbon1.Size = new System.Drawing.Size(802, 121);
+ this.ribbon1.Size = new System.Drawing.Size(742, 121);
this.ribbon1.TabIndex = 0;
this.ribbon1.Tabs.Add(this.ribbonTab1);
this.ribbon1.Tabs.Add(this.ribbonTab2);
@@ -533,8 +533,9 @@
// txtfunktion
//
this.txtfunktion.Location = new System.Drawing.Point(138, 174);
+ this.txtfunktion.Multiline = true;
this.txtfunktion.Name = "txtfunktion";
- this.txtfunktion.Size = new System.Drawing.Size(147, 20);
+ this.txtfunktion.Size = new System.Drawing.Size(219, 56);
this.txtfunktion.TabIndex = 13;
//
// label10
@@ -657,7 +658,7 @@
this.GrpGetSignature.Controls.Add(this.btnDeleteImage);
this.GrpGetSignature.Controls.Add(this.btnSaveSignature);
this.GrpGetSignature.Controls.Add(this.sign1);
- this.GrpGetSignature.Location = new System.Drawing.Point(89, 79);
+ this.GrpGetSignature.Location = new System.Drawing.Point(32, 19);
this.GrpGetSignature.Name = "GrpGetSignature";
this.GrpGetSignature.Size = new System.Drawing.Size(651, 394);
this.GrpGetSignature.TabIndex = 21;
@@ -787,6 +788,7 @@
//
this.GrpGAS.Controls.Add(this.panelpersadresse);
this.GrpGAS.Controls.Add(this.label30);
+ this.GrpGAS.Controls.Add(this.GrpGetSignature);
this.GrpGAS.Controls.Add(this.label31);
this.GrpGAS.Controls.Add(this.label32);
this.GrpGAS.Controls.Add(this.label29);
@@ -797,9 +799,9 @@
this.GrpGAS.Controls.Add(this.TreeViewADVPersadresse);
this.GrpGAS.Controls.Add(this.label19);
this.GrpGAS.Controls.Add(this.treeViewAdvAdresse);
- this.GrpGAS.Location = new System.Drawing.Point(14, 30);
+ this.GrpGAS.Location = new System.Drawing.Point(8, 30);
this.GrpGAS.Name = "GrpGAS";
- this.GrpGAS.Size = new System.Drawing.Size(696, 509);
+ this.GrpGAS.Size = new System.Drawing.Size(733, 461);
this.GrpGAS.TabIndex = 22;
this.GrpGAS.TabStop = false;
this.GrpGAS.Text = "Rückantwort-Adressen";
@@ -1065,15 +1067,15 @@
// TreeViewADVPersadresse
//
this.TreeViewADVPersadresse.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
- treeNodeAdvStyleInfo1.CheckBoxTickThickness = 1;
- treeNodeAdvStyleInfo1.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
- treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true;
- treeNodeAdvStyleInfo1.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
- treeNodeAdvStyleInfo1.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
- treeNodeAdvStyleInfo1.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
- treeNodeAdvStyleInfo1.TextColor = System.Drawing.Color.Black;
+ treeNodeAdvStyleInfo3.CheckBoxTickThickness = 1;
+ treeNodeAdvStyleInfo3.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
+ treeNodeAdvStyleInfo3.EnsureDefaultOptionedChild = true;
+ treeNodeAdvStyleInfo3.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
+ treeNodeAdvStyleInfo3.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
+ treeNodeAdvStyleInfo3.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
+ treeNodeAdvStyleInfo3.TextColor = System.Drawing.Color.Black;
this.TreeViewADVPersadresse.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
- new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo1)});
+ new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo3)});
this.TreeViewADVPersadresse.ContextMenuStrip = this.contextMenuStrip1;
//
//
@@ -1142,15 +1144,15 @@
// treeViewAdvAdresse
//
this.treeViewAdvAdresse.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
- treeNodeAdvStyleInfo2.CheckBoxTickThickness = 1;
- treeNodeAdvStyleInfo2.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
- treeNodeAdvStyleInfo2.EnsureDefaultOptionedChild = true;
- treeNodeAdvStyleInfo2.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
- treeNodeAdvStyleInfo2.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
- treeNodeAdvStyleInfo2.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
- treeNodeAdvStyleInfo2.TextColor = System.Drawing.Color.Black;
+ treeNodeAdvStyleInfo1.CheckBoxTickThickness = 1;
+ treeNodeAdvStyleInfo1.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
+ treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true;
+ treeNodeAdvStyleInfo1.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
+ treeNodeAdvStyleInfo1.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
+ treeNodeAdvStyleInfo1.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
+ treeNodeAdvStyleInfo1.TextColor = System.Drawing.Color.Black;
this.treeViewAdvAdresse.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
- new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo2)});
+ new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo1)});
this.treeViewAdvAdresse.ContextMenuStrip = this.contextMenuStrip2;
//
//
@@ -1203,8 +1205,7 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(806, 496);
- this.Controls.Add(this.GrpGetSignature);
+ this.ClientSize = new System.Drawing.Size(746, 496);
this.Controls.Add(this.GrpGAS);
this.Controls.Add(this.GrpBoxMitarbeiter);
this.Controls.Add(this.GrpBoxDetails);
diff --git a/Client/Diverses/SplashScreen.Designer.cs b/Client/Diverses/SplashScreen.Designer.cs
index c2c90d9f7..2ef031668 100644
--- a/Client/Diverses/SplashScreen.Designer.cs
+++ b/Client/Diverses/SplashScreen.Designer.cs
@@ -65,7 +65,7 @@
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(472, 26);
this.label2.TabIndex = 2;
- this.label2.Text = "28. Dezember 2025";
+ this.label2.Text = "9. Januar 2026";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.label2.Click += new System.EventHandler(this.label2_Click);
//
diff --git a/Client/Klassen/clsProcessWatch.cs b/Client/Klassen/clsProcessWatch.cs
index 4e51ab536..b1648c94e 100644
--- a/Client/Klassen/clsProcessWatch.cs
+++ b/Client/Klassen/clsProcessWatch.cs
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Management;
+using System.Runtime.InteropServices;
using System.Security.AccessControl;
using System.Text;
using System.Threading;
@@ -10,13 +11,72 @@ using System.Threading.Tasks;
using System.Timers;
using System.Windows.Forms;
using Database;
+using Microsoft.Office.Interop.Word;
+using OnDoc.UICintrols;
+using Syncfusion.Olap.MDXQueryParser;
using Syncfusion.Windows.Forms.Tools;
using Syncfusion.WinForms.Input.Enums;
+using static Syncfusion.Windows.Forms.Tools.ColorDlgAdv;
+using Word = Microsoft.Office.Interop.Word;
namespace OnDoc.Klassen
{
+
public static class clsProcessWatch
{
+ [DllImport("user32.dll", CharSet = CharSet.Unicode)]
+ private static extern int GetWindowText(IntPtr hWnd, StringBuilder strText, int maxCount);
+
+ [DllImport("user32.dll", CharSet = CharSet.Unicode)]
+ private static extern int GetWindowTextLength(IntPtr hWnd);
+
+ [DllImport("user32.dll")]
+ private static extern bool EnumWindows(EnumWindowsProc enumProc, IntPtr lParam);
+
+ // Delegate to filter which windows to include
+ public delegate bool EnumWindowsProc(IntPtr hWnd, IntPtr lParam);
+
+ /// Get the text for the window pointed to by hWnd
+ public static string GetWindowText(IntPtr hWnd)
+ {
+ int size = GetWindowTextLength(hWnd);
+ if (size > 0)
+ {
+ var builder = new StringBuilder(size + 1);
+ GetWindowText(hWnd, builder, builder.Capacity);
+ return builder.ToString();
+ }
+
+ return String.Empty;
+ }
+ public static IEnumerable FindWindows(EnumWindowsProc filter)
+ {
+ IntPtr found = IntPtr.Zero;
+ List windows = new List();
+
+ EnumWindows(delegate (IntPtr wnd, IntPtr param)
+ {
+ if (filter(wnd, param))
+ {
+ // only add the windows that pass the filter
+ windows.Add(wnd);
+ }
+
+ // but return true here so that we iterate all windows
+ return true;
+ }, IntPtr.Zero);
+
+ return windows;
+ }
+
+ public static IEnumerable FindWindowsWithText(string titleText)
+ {
+ return FindWindows(delegate (IntPtr wnd, IntPtr param)
+ {
+ return GetWindowText(wnd).Contains(titleText);
+ });
+ }
+
public static System.Timers.Timer watchtimer = new System.Timers.Timer(Convert.ToInt32(Properties.Settings.Default.OfficeWatchTimerIntervall));
@@ -72,7 +132,7 @@ namespace OnDoc.Klassen
return "NO OWNER";
}
- private static void WatchProcesses(object source, ElapsedEventArgs e)
+ private static void WatchProcesses1(object source, ElapsedEventArgs e)
{
bool word = false;
bool excel = false;
@@ -80,13 +140,14 @@ namespace OnDoc.Klassen
bool found = false;
watchtimer.Enabled = false;
found = false;
- Logging.Logging.Debug("Start Watch_Process:"+ DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"), "OnDoc.Processwatch","" );
+ Logging.Logging.Debug("Start Watch_Process:" + DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"), "OnDoc.Processwatch", "");
try
{
foreach (FileToCheck fc in FilestoCheck)
{
if (fc.filedatetime < DateTime.Now.AddSeconds(-3))
{
+
found = false;
word = false;
excel = false;
@@ -101,12 +162,18 @@ namespace OnDoc.Klassen
{
Thread.Sleep(200);
Process[] localByName = Process.GetProcessesByName("WINWORD");
+ Logging.Logging.Debug("Get Processe", "", "");
+
foreach (Process p in localByName)
+
{
+ Logging.Logging.Debug(localByName.Count().ToString(), "", "");
+
string owner = GetProcessOwner(p.Id);
owner = owner.ToUpper();
Logging.Logging.Debug(AppParams.systemtgnummer + "/" + AppParams.currenttgnummer + "/" + owner + "/" + fc.dokumentid + "/" + p.MainWindowTitle, "", "");
+
if (p.MainWindowTitle.IndexOf(fc.dokumentid) > -1 ||
(p.MainWindowTitle.Trim() == "" && owner.Contains(AppParams.systemtgnummer.ToUpper())))
{
@@ -194,9 +261,71 @@ namespace OnDoc.Klassen
}
finally
{
- watchtimer.Enabled = true ;
+ watchtimer.Enabled = true;
}
}
+ private static void WatchProcesses(object source, ElapsedEventArgs e)
+ {
+ bool word = false;
+ bool excel = false;
+ bool pdf = false;
+ bool found = false;
+ watchtimer.Enabled = false;
+ found = false;
+ Logging.Logging.Debug("Start Watch_Process:" + DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"), "OnDoc.Processwatch", "");
+ try
+ {
+ foreach (FileToCheck fc in FilestoCheck)
+ {
+ if (fc.filedatetime < DateTime.Now.AddSeconds(-3))
+ {
+ found = false;
+ var windows = FindWindowsWithText(fc.dokumentid);
+ if (windows.Count() > 0)
+ {
+ found = true;
+ save_to_db(fc);
+
+ }
+ windows = null;
+
+ if (!found)
+ {
+ Logging.Logging.Debug("Not Found " + fc.filename + " / " + DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"), "OnDoc.Processwatch", fc.dokumentid);
+ if (Check_Modified(fc) == true)
+ {
+ Save_File(fc.dokumentid, fc.filename);
+ Logging.DocLog.Info("Dokument gespeichert und geschlossen", "Processwatch", fc.dokumentid, "", fc.filename);
+ RemoveFromList(fc.dokumentid);
+ Remove_Dok_in_Bearbeitung(fc.dokumentid);
+ Remove_Dokumentbearbeitung_Zwingend(fc.dokumentid);
+ Remove_Approvals(fc.dokumentid);
+ return;
+ }
+ else
+ {
+ Logging.DocLog.Info("Dokument ohne speichern geschlossen", "Processwatch", fc.dokumentid, "", fc.filename);
+ RemoveFromList(fc.dokumentid);
+ Remove_Dok_in_Bearbeitung(fc.dokumentid);
+ return;
+ };
+ }
+ }
+
+ }
+ watchtimer.Enabled = true;
+ }
+ catch (Exception ex)
+ {
+ Logging.Logging.Debug("Error Processwatch", "OnDoc", ex.Message);
+ }
+ finally
+ {
+
+ watchtimer.Enabled = true;
+ }
+ }
+
private static void Remove_Dok_in_Bearbeitung(string dokumentid)
{
DB db = new DB(AppParams.connectionstring);
diff --git a/Client/Properties/AssemblyInfo.cs b/Client/Properties/AssemblyInfo.cs
index 29d647a21..53816a7e6 100644
--- a/Client/Properties/AssemblyInfo.cs
+++ b/Client/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.7.11.03")]
-[assembly: AssemblyFileVersion("1.7.11.03")]
+[assembly: AssemblyVersion("1.7.11.05")]
+[assembly: AssemblyFileVersion("1.7.11.05")]
diff --git a/Client/UIControls/Approval.cs b/Client/UIControls/Approval.cs
index 46cab2ae6..fb6d062b5 100644
--- a/Client/UIControls/Approval.cs
+++ b/Client/UIControls/Approval.cs
@@ -51,6 +51,7 @@ namespace OnDoc.UIControls
}
private void treeViewAdv1_NodeMouseClick(object sender, Syncfusion.Windows.Forms.Tools.TreeViewAdvMouseClickEventArgs e)
{
+ treeViewAdv1.SelectedNode = e.Node;
if (treeViewAdv1.SelectedNode.Level == 1)
{
this.ribbonButtonApproved.Enabled = false;
diff --git a/Client/Versandstrasse/Versandstrasse.cs b/Client/Versandstrasse/Versandstrasse.cs
index 3099a0844..9904b80c9 100644
--- a/Client/Versandstrasse/Versandstrasse.cs
+++ b/Client/Versandstrasse/Versandstrasse.cs
@@ -1436,8 +1436,8 @@ namespace OnDoc.Versandstrasse
DB db = new DB(AppParams.connectionstring);
DB db2 = new DB(AppParams.connectionstring);
-
-// db.Get_Tabledata("Select * from ondoc_versandstrasse_paket where isnull(signed,1)=1 and aktiv=1 and ersteller=" + AppParams.CurrentMitarbeiter + " and versendet=0", false, true);
+ //STH
+ //db.Get_Tabledata("Select * from ondoc_versandstrasse_paket where isnull(signed,1)=1 and aktiv=1 and ersteller=" + AppParams.CurrentMitarbeiter + " and versendet=0", false, true);
db.Get_Tabledata("Select * from ondoc_versandstrasse_paket where aktiv=1 and ersteller=" + AppParams.CurrentMitarbeiter + " and versendet=0", false, true);
treeViewAdvCouverts.Nodes.Clear();
foreach (DataRow dr in db.dsdaten.Tables[0].Rows)
diff --git a/Client/bin/Debug/DOCGEN.dll b/Client/bin/Debug/DOCGEN.dll
index 2ad6cfc6b..9d25b587f 100644
Binary files a/Client/bin/Debug/DOCGEN.dll and b/Client/bin/Debug/DOCGEN.dll differ
diff --git a/Client/bin/Debug/DOCGEN.pdb b/Client/bin/Debug/DOCGEN.pdb
index 2d2fa1abe..62957d905 100644
Binary files a/Client/bin/Debug/DOCGEN.pdb and b/Client/bin/Debug/DOCGEN.pdb differ
diff --git a/Client/bin/Debug/Database.dll b/Client/bin/Debug/Database.dll
index fbbe3f949..ed1e14fc2 100644
Binary files a/Client/bin/Debug/Database.dll and b/Client/bin/Debug/Database.dll differ
diff --git a/Client/bin/Debug/Database.pdb b/Client/bin/Debug/Database.pdb
index 921de6268..fdafff8eb 100644
Binary files a/Client/bin/Debug/Database.pdb and b/Client/bin/Debug/Database.pdb differ
diff --git a/Client/bin/Debug/Model.dll b/Client/bin/Debug/Model.dll
index 0ec5a240a..589721439 100644
Binary files a/Client/bin/Debug/Model.dll and b/Client/bin/Debug/Model.dll differ
diff --git a/Client/bin/Debug/Model.pdb b/Client/bin/Debug/Model.pdb
index 7b22f3a3e..bdceac1f0 100644
Binary files a/Client/bin/Debug/Model.pdb and b/Client/bin/Debug/Model.pdb differ
diff --git a/Client/bin/Debug/OnDoc.exe b/Client/bin/Debug/OnDoc.exe
index 1abce5467..b57af157a 100644
Binary files a/Client/bin/Debug/OnDoc.exe and b/Client/bin/Debug/OnDoc.exe differ
diff --git a/Client/bin/Debug/OnDoc.pdb b/Client/bin/Debug/OnDoc.pdb
index 5d0598521..0f50648d7 100644
Binary files a/Client/bin/Debug/OnDoc.pdb and b/Client/bin/Debug/OnDoc.pdb differ
diff --git a/Client/bin/Debug/OnDocClient.zip b/Client/bin/Debug/OnDocClient.zip
index b93cf9bd6..997d4f046 100644
Binary files a/Client/bin/Debug/OnDocClient.zip and b/Client/bin/Debug/OnDocClient.zip differ
diff --git a/Client/bin/Debug/de-DE/OnDoc.resources.dll b/Client/bin/Debug/de-DE/OnDoc.resources.dll
index 03597cf30..4da0738a4 100644
Binary files a/Client/bin/Debug/de-DE/OnDoc.resources.dll and b/Client/bin/Debug/de-DE/OnDoc.resources.dll differ
diff --git a/Client/obj/Debug/Client.csproj.AssemblyReference.cache b/Client/obj/Debug/Client.csproj.AssemblyReference.cache
index fe9acd38b..d79a2f05d 100644
Binary files a/Client/obj/Debug/Client.csproj.AssemblyReference.cache and b/Client/obj/Debug/Client.csproj.AssemblyReference.cache differ
diff --git a/Client/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Client/obj/Debug/DesignTimeResolveAssemblyReferences.cache
index 5a13ae129..d99906715 100644
Binary files a/Client/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/Client/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/Client/obj/Debug/OnDoc.exe b/Client/obj/Debug/OnDoc.exe
index 1abce5467..b57af157a 100644
Binary files a/Client/obj/Debug/OnDoc.exe and b/Client/obj/Debug/OnDoc.exe differ
diff --git a/Client/obj/Debug/OnDoc.pdb b/Client/obj/Debug/OnDoc.pdb
index 5d0598521..0f50648d7 100644
Binary files a/Client/obj/Debug/OnDoc.pdb and b/Client/obj/Debug/OnDoc.pdb differ
diff --git a/Client/obj/Debug/de-DE/OnDoc.resources.dll b/Client/obj/Debug/de-DE/OnDoc.resources.dll
index 03597cf30..4da0738a4 100644
Binary files a/Client/obj/Debug/de-DE/OnDoc.resources.dll and b/Client/obj/Debug/de-DE/OnDoc.resources.dll differ
diff --git a/DOCGEN/Klassen/SyncFWord.cs b/DOCGEN/Klassen/SyncFWord.cs
index 3fc33f3a6..e10063e4d 100644
--- a/DOCGEN/Klassen/SyncFWord.cs
+++ b/DOCGEN/Klassen/SyncFWord.cs
@@ -205,7 +205,7 @@ namespace DOCGEN.Klassen
MemoryStream mssign = new MemoryStream(Convert.FromBase64String(unterschrift));
System.Drawing.Image img = System.Drawing.Image.FromStream(mssign);
-
+
Shape signature = bm.BookmarkStart.OwnerParagraph.AppendShape(Syncfusion.DocIO.DLS.AutoShapeType.Rectangle, 124, 52);
signature.TextFrame.InternalMargin.Top = 0;
signature.TextFrame.InternalMargin.Left = 0;
@@ -220,7 +220,7 @@ namespace DOCGEN.Klassen
signature.WrapFormat.TextWrappingStyle = TextWrappingStyle.Behind;
signature.LineFormat.DashStyle = LineDashing.Solid;
signature.LineFormat.Color = Color.White;
-
+
signature.WrapFormat.AllowOverlap = true;
signature.VerticalPosition = signature.VerticalPosition - 51;
@@ -352,13 +352,13 @@ namespace DOCGEN.Klassen
IWParagraph p;
try
{
-
+
p = section.HeadersFooters.FirstPageHeader.Paragraphs[section.HeadersFooters.FirstPageHeader.Paragraphs.Count - 1];
}
catch { p = section.HeadersFooters.FirstPageHeader.AddParagraph(); }
-
+
BookmarkStart bookmarkStart = new BookmarkStart(document, "TGEDKCompanyBBEB99");
BookmarkEnd bookmarkEnd = new BookmarkEnd(document, "TGEDKCompanyBBEB99");
p.ChildEntities.Insert(0, bookmarkStart);
@@ -578,8 +578,8 @@ namespace DOCGEN.Klassen
//Accesses the Body of section where all the contents in document are apart
WTextBody sectionBody = section.Body;
IterateTextBody(sectionBody);
-
-
+
+
}
}
if (apivalue.Type == "Absatz")
@@ -627,6 +627,51 @@ namespace DOCGEN.Klassen
}
}
catch { }
+ try
+ {
+ foreach (CLMDocItem item in docdata.CLMDocItems)
+ {
+ if (item.itemvalue.ToString() != "" && item.type != null)
+ {
+ foreach (WSection section in document.Sections)
+ //Iterates through section child elements
+ foreach (WTextBody textBody in section.ChildEntities)
+ {
+ //Iterates through form fields
+ foreach (WFormField formField in textBody.FormFields)
+ {
+ if (formField.Name == item.field.ToString())
+ {
+ switch (item.type.ToString())
+ {
+ case "4": //Text and CheckBox
+ string type = formField.FieldType.ToString();
+ if (type == "FieldFormCheckBox")
+ {
+ WCheckBox cb = (WCheckBox)formField;
+ if (item.itemvalue.ToString().ToUpper() == "X")
+ {
+ cb.Checked = true;
+ }
+ }
+ else
+ {
+ formField.Text = item.itemvalue.ToString();
+
+ }
+ break;
+ case "5": //Image
+ break;
+ }
+
+ }
+
+ }
+ }
+ }
+ }
+ }
+ catch { }
//gaga
//if (docdata.As_Faksimile == "True" && serienbrief==true)
@@ -674,7 +719,7 @@ namespace DOCGEN.Klassen
}
foreach (textreplace tr in docdata.TextToReplace)
{
- Replace_Text(ref document,tr.TextToFind, tr.TextToReplace);
+ Replace_Text(ref document, tr.TextToFind, tr.TextToReplace);
}
if (locked)
{
@@ -686,7 +731,7 @@ namespace DOCGEN.Klassen
foreach (clsDocMacro dm in docdata.DocMacros)
{
-
+
switch (dm.Name.ToUpper())
{
case "DOKUMENTSCHUETZEN":
@@ -763,9 +808,9 @@ namespace DOCGEN.Klassen
}
else
{
-
+
document.Protect(ProtectionType.NoProtection, "Australia");
-
+
if (variable != "")
{
try
@@ -783,7 +828,7 @@ namespace DOCGEN.Klassen
paragraph.Items.Insert(1, bookmarkEnd);
}
document.Protect(ProtectionType.AllowOnlyFormFields, "Australia");
-
+
}
}
}
@@ -945,7 +990,7 @@ namespace DOCGEN.Klassen
paragraph.ChildEntities.RemoveAt(index);
// Insert the new text ranges (in order: closing tag, bold text, opening tag) into the paragraph.
- // paragraph.ChildEntities.Insert(index, endTextRange);
+ // paragraph.ChildEntities.Insert(index, endTextRange);
paragraph.ChildEntities.Insert(index, boldTextRange);
//paragraph.ChildEntities.Insert(index, startTextRange);
}
@@ -1275,7 +1320,7 @@ namespace DOCGEN.Klassen
{
barcodeimage = Barcode.Get_Datamatrix(DataMatrix.net.DmtxScheme.DmtxSchemeAscii, docData.barcode_content, 6, 6, 0, "Right", docData.barcode_text + docData.barcode_zusatz, docData.Zusatz_Font, docData.Zusatz_FontSize);
}
- //barcodeimage = AutoSizeImage(barcodeimage, docData.barcode_width, docData.barcode_height, false);
+ //barcodeimage = AutoSizeImage(barcodeimage, docData.barcode_width, docData.barcode_height, false);
return barcodeimage;
break;
default:
@@ -1528,7 +1573,7 @@ namespace DOCGEN.Klassen
IWSection section = document.Sections[0];
IWParagraph paragraph = section.HeadersFooters.Header.AddParagraph();
- string b64 = Newtonsoft.Json.JsonConvert.DeserializeObject(get_image(4, -1, 0));
+ string b64 = Newtonsoft.Json.JsonConvert.DeserializeObject(get_image(4, -1, 0));
byte[] imageBytes = Convert.FromBase64String(b64);
using (var ms = new MemoryStream(imageBytes, 0, imageBytes.Length))
@@ -1536,7 +1581,7 @@ namespace DOCGEN.Klassen
System.Drawing.Image image = System.Drawing.Image.FromStream(ms);
paragraph.AppendPicture(image);
}
-
+
////Get the Word document section.
//IWSection section = document.Sections[0];
diff --git a/DOCGEN/bin/Debug/DOCGEN.dll b/DOCGEN/bin/Debug/DOCGEN.dll
index 2ad6cfc6b..9d25b587f 100644
Binary files a/DOCGEN/bin/Debug/DOCGEN.dll and b/DOCGEN/bin/Debug/DOCGEN.dll differ
diff --git a/DOCGEN/bin/Debug/DOCGEN.pdb b/DOCGEN/bin/Debug/DOCGEN.pdb
index 2d2fa1abe..62957d905 100644
Binary files a/DOCGEN/bin/Debug/DOCGEN.pdb and b/DOCGEN/bin/Debug/DOCGEN.pdb differ
diff --git a/DOCGEN/bin/Debug/Database.dll b/DOCGEN/bin/Debug/Database.dll
index fbbe3f949..ed1e14fc2 100644
Binary files a/DOCGEN/bin/Debug/Database.dll and b/DOCGEN/bin/Debug/Database.dll differ
diff --git a/DOCGEN/bin/Debug/Database.pdb b/DOCGEN/bin/Debug/Database.pdb
index 921de6268..fdafff8eb 100644
Binary files a/DOCGEN/bin/Debug/Database.pdb and b/DOCGEN/bin/Debug/Database.pdb differ
diff --git a/DOCGEN/bin/Debug/Model.dll b/DOCGEN/bin/Debug/Model.dll
index 0ec5a240a..589721439 100644
Binary files a/DOCGEN/bin/Debug/Model.dll and b/DOCGEN/bin/Debug/Model.dll differ
diff --git a/DOCGEN/bin/Debug/Model.pdb b/DOCGEN/bin/Debug/Model.pdb
index 7b22f3a3e..bdceac1f0 100644
Binary files a/DOCGEN/bin/Debug/Model.pdb and b/DOCGEN/bin/Debug/Model.pdb differ
diff --git a/DOCGEN/obj/Debug/DOCGEN.dll b/DOCGEN/obj/Debug/DOCGEN.dll
index 2ad6cfc6b..9d25b587f 100644
Binary files a/DOCGEN/obj/Debug/DOCGEN.dll and b/DOCGEN/obj/Debug/DOCGEN.dll differ
diff --git a/DOCGEN/obj/Debug/DOCGEN.pdb b/DOCGEN/obj/Debug/DOCGEN.pdb
index 2d2fa1abe..62957d905 100644
Binary files a/DOCGEN/obj/Debug/DOCGEN.pdb and b/DOCGEN/obj/Debug/DOCGEN.pdb differ
diff --git a/DOCGEN/obj/Debug/DocGen.csproj.AssemblyReference.cache b/DOCGEN/obj/Debug/DocGen.csproj.AssemblyReference.cache
index 62a990d93..0fd354d1d 100644
Binary files a/DOCGEN/obj/Debug/DocGen.csproj.AssemblyReference.cache and b/DOCGEN/obj/Debug/DocGen.csproj.AssemblyReference.cache differ
diff --git a/Database/bin/Debug/Database.dll b/Database/bin/Debug/Database.dll
index fbbe3f949..ed1e14fc2 100644
Binary files a/Database/bin/Debug/Database.dll and b/Database/bin/Debug/Database.dll differ
diff --git a/Database/bin/Debug/Database.pdb b/Database/bin/Debug/Database.pdb
index 921de6268..fdafff8eb 100644
Binary files a/Database/bin/Debug/Database.pdb and b/Database/bin/Debug/Database.pdb differ
diff --git a/Database/bin/Debug/Model.dll b/Database/bin/Debug/Model.dll
index 0ec5a240a..589721439 100644
Binary files a/Database/bin/Debug/Model.dll and b/Database/bin/Debug/Model.dll differ
diff --git a/Database/bin/Debug/Model.pdb b/Database/bin/Debug/Model.pdb
index 7b22f3a3e..bdceac1f0 100644
Binary files a/Database/bin/Debug/Model.pdb and b/Database/bin/Debug/Model.pdb differ
diff --git a/Database/db.cs b/Database/db.cs
index cc97fc71e..8248f7177 100644
--- a/Database/db.cs
+++ b/Database/db.cs
@@ -593,37 +593,41 @@ namespace Database
edoka_conn.CloseConnection(true);
}
//DokumentInfoWert
- foreach (DataRow dr in DocData.dokumentwerte.Rows)
+ try
{
- if (dr["cold_indexfeld"].ToString() == "") { dr["cold_indexfeld"] = 0; }
- if (dr["cold_indexfeld"].ToString() == "0")
+ foreach (DataRow dr in DocData.dokumentwerte.Rows)
{
- db.clear_parameter();
- db.add_parameter("@dokumentid", dokumentid);
- db.add_parameter("@vorlagenfeldnr", dr["vorlagenfeldnr"].ToString());
- db.add_parameter("@value", dr["feldwert"].ToString());
- db.Get_Tabledata("dbo.SP_Dokument_Information_Wert", true, false);
- }
- else
- {
- db.Get_Tabledata("Select count(*) from dokumentcoldindexwert where dokumentid='" + dokumentid + "'", false, true);
- if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]) == 0)
+ if (dr["cold_indexfeld"].ToString() == "") { dr["cold_indexfeld"] = 0; }
+ if (dr["cold_indexfeld"].ToString() == "0")
{
db.clear_parameter();
db.add_parameter("@dokumentid", dokumentid);
- db.add_parameter("@indextyp", "1");
- db.Get_Tabledata("SP_Dokument_Cold_Index", true, false);
+ db.add_parameter("@vorlagenfeldnr", dr["vorlagenfeldnr"].ToString());
+ db.add_parameter("@value", dr["feldwert"].ToString());
+ db.Get_Tabledata("dbo.SP_Dokument_Information_Wert", true, false);
}
else
{
- db.clear_parameter();
- db.add_parameter("@dokumentid", dokumentid);
- db.add_parameter("@coldfeldnr", dr["cold_indexfeld"].ToString());
- db.add_parameter("@value", dr["feldwert"].ToString());
- db.Get_Tabledata("SP_Dokument_Cold_Index_Update", true, false);
+ db.Get_Tabledata("Select count(*) from dokumentcoldindexwert where dokumentid='" + dokumentid + "'", false, true);
+ if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]) == 0)
+ {
+ db.clear_parameter();
+ db.add_parameter("@dokumentid", dokumentid);
+ db.add_parameter("@indextyp", "1");
+ db.Get_Tabledata("SP_Dokument_Cold_Index", true, false);
+ }
+ else
+ {
+ db.clear_parameter();
+ db.add_parameter("@dokumentid", dokumentid);
+ db.add_parameter("@coldfeldnr", dr["cold_indexfeld"].ToString());
+ db.add_parameter("@value", dr["feldwert"].ToString());
+ db.Get_Tabledata("SP_Dokument_Cold_Index_Update", true, false);
+ }
}
}
}
+ catch { }
db.Get_Tabledata("Select * from dokumenttyp where dokumenttypnr=" + dok.iDokumenttypnr.ToString(), false, true);
int toapprove = DocData.toapprove;
diff --git a/Database/obj/Debug/Database.csproj.AssemblyReference.cache b/Database/obj/Debug/Database.csproj.AssemblyReference.cache
index 624707722..2d9442782 100644
Binary files a/Database/obj/Debug/Database.csproj.AssemblyReference.cache and b/Database/obj/Debug/Database.csproj.AssemblyReference.cache differ
diff --git a/Database/obj/Debug/Database.dll b/Database/obj/Debug/Database.dll
index fbbe3f949..ed1e14fc2 100644
Binary files a/Database/obj/Debug/Database.dll and b/Database/obj/Debug/Database.dll differ
diff --git a/Database/obj/Debug/Database.pdb b/Database/obj/Debug/Database.pdb
index 921de6268..fdafff8eb 100644
Binary files a/Database/obj/Debug/Database.pdb and b/Database/obj/Debug/Database.pdb differ
diff --git a/DocIO_Demo_SHU/bin/Debug/DOCGEN.dll b/DocIO_Demo_SHU/bin/Debug/DOCGEN.dll
index cde83b028..2ad6cfc6b 100644
Binary files a/DocIO_Demo_SHU/bin/Debug/DOCGEN.dll and b/DocIO_Demo_SHU/bin/Debug/DOCGEN.dll differ
diff --git a/DocIO_Demo_SHU/bin/Debug/DOCGEN.pdb b/DocIO_Demo_SHU/bin/Debug/DOCGEN.pdb
index adf7f1dd7..2d2fa1abe 100644
Binary files a/DocIO_Demo_SHU/bin/Debug/DOCGEN.pdb and b/DocIO_Demo_SHU/bin/Debug/DOCGEN.pdb differ
diff --git a/DocIO_Demo_SHU/bin/Debug/Logging.dll b/DocIO_Demo_SHU/bin/Debug/Logging.dll
index 637453a90..980d7597b 100644
Binary files a/DocIO_Demo_SHU/bin/Debug/Logging.dll and b/DocIO_Demo_SHU/bin/Debug/Logging.dll differ
diff --git a/DocIO_Demo_SHU/bin/Debug/Logging.pdb b/DocIO_Demo_SHU/bin/Debug/Logging.pdb
index 8834ecd5f..75ce3d64b 100644
Binary files a/DocIO_Demo_SHU/bin/Debug/Logging.pdb and b/DocIO_Demo_SHU/bin/Debug/Logging.pdb differ
diff --git a/DocIO_Demo_SHU/bin/Debug/Model.dll b/DocIO_Demo_SHU/bin/Debug/Model.dll
index 9adaf725c..b2007c3c5 100644
Binary files a/DocIO_Demo_SHU/bin/Debug/Model.dll and b/DocIO_Demo_SHU/bin/Debug/Model.dll differ
diff --git a/DocIO_Demo_SHU/bin/Debug/Model.pdb b/DocIO_Demo_SHU/bin/Debug/Model.pdb
index 715538efb..244081632 100644
Binary files a/DocIO_Demo_SHU/bin/Debug/Model.pdb and b/DocIO_Demo_SHU/bin/Debug/Model.pdb differ
diff --git a/DocIO_Demo_SHU/bin/Debug/OnDocOffice.dll b/DocIO_Demo_SHU/bin/Debug/OnDocOffice.dll
index de6abeade..776ea6b17 100644
Binary files a/DocIO_Demo_SHU/bin/Debug/OnDocOffice.dll and b/DocIO_Demo_SHU/bin/Debug/OnDocOffice.dll differ
diff --git a/DocIO_Demo_SHU/bin/Debug/OnDocOffice.pdb b/DocIO_Demo_SHU/bin/Debug/OnDocOffice.pdb
index 8c9e2424a..30c0f059f 100644
Binary files a/DocIO_Demo_SHU/bin/Debug/OnDocOffice.pdb and b/DocIO_Demo_SHU/bin/Debug/OnDocOffice.pdb differ
diff --git a/DocIO_Demo_SHU/obj/Debug/DocIO_Demo_SHU.csproj.AssemblyReference.cache b/DocIO_Demo_SHU/obj/Debug/DocIO_Demo_SHU.csproj.AssemblyReference.cache
index b89c4b815..5678f0b2b 100644
Binary files a/DocIO_Demo_SHU/obj/Debug/DocIO_Demo_SHU.csproj.AssemblyReference.cache and b/DocIO_Demo_SHU/obj/Debug/DocIO_Demo_SHU.csproj.AssemblyReference.cache differ
diff --git a/Excel_Test/obj/Debug/Excel_Test.csproj.AssemblyReference.cache b/Excel_Test/obj/Debug/Excel_Test.csproj.AssemblyReference.cache
index 51d145890..94d3d07d3 100644
Binary files a/Excel_Test/obj/Debug/Excel_Test.csproj.AssemblyReference.cache and b/Excel_Test/obj/Debug/Excel_Test.csproj.AssemblyReference.cache differ
diff --git a/Excel_Test/obj/Debug/Excel_Test.csproj.FileListAbsolute.txt b/Excel_Test/obj/Debug/Excel_Test.csproj.FileListAbsolute.txt
index fb923a8a5..a27a680f5 100644
--- a/Excel_Test/obj/Debug/Excel_Test.csproj.FileListAbsolute.txt
+++ b/Excel_Test/obj/Debug/Excel_Test.csproj.FileListAbsolute.txt
@@ -68,3 +68,5 @@ E:\Software-Projekte\OnDoc\OnDoc\Excel_Test\bin\Debug\vbBarcodes.xml
E:\Software-Projekte\OnDoc\OnDoc\Excel_Test\bin\Debug\MW6.SDK.dll
E:\Software-Projekte\OnDoc\OnDoc\Excel_Test\bin\Debug\CSVNET.dll
E:\Software-Projekte\OnDoc\OnDoc\Excel_Test\bin\Debug\CSVNET.pdb
+E:\Software-Projekte\OnDoc\OnDoc\Excel_Test\obj\Debug\Excel_Test.csproj.SuggestedBindingRedirects.cache
+E:\Software-Projekte\OnDoc\OnDoc\Excel_Test\obj\Debug\Excel_Test.exe.config
diff --git a/Excel_Test/obj/Debug/Excel_Test.csproj.SuggestedBindingRedirects.cache b/Excel_Test/obj/Debug/Excel_Test.csproj.SuggestedBindingRedirects.cache
new file mode 100644
index 000000000..c29dde78d
--- /dev/null
+++ b/Excel_Test/obj/Debug/Excel_Test.csproj.SuggestedBindingRedirects.cache
@@ -0,0 +1 @@
+6d76e7a2caa84cc541daed57fe5afac7bb9484f5c33350578418a0d84207e06f
diff --git a/Excel_Test/obj/Debug/Excel_Test.exe.config b/Excel_Test/obj/Debug/Excel_Test.exe.config
new file mode 100644
index 000000000..ac374055d
--- /dev/null
+++ b/Excel_Test/obj/Debug/Excel_Test.exe.config
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Model/OnDocApiDoc.cs b/Model/OnDocApiDoc.cs
index 58cae83bd..352d9f87d 100644
--- a/Model/OnDocApiDoc.cs
+++ b/Model/OnDocApiDoc.cs
@@ -10,11 +10,11 @@ namespace Model
{
public class DocCreate
{
- public string Versandstrasse { get; set; }
+ public string Versandstrasse { get; set; }
public string VersandDirekt { get; set; } = "";
public string VersandOption { get; set; } = "";
public string GASAdresse { get; set; } = "";
- public string ResultOnDoc { get; set; }
+ public string ResultOnDoc { get; set; }
public string ResultSender { get; set; }
public string ResultFileType { get; set; }
public string ConfirmationMail { get; set; }
@@ -68,14 +68,14 @@ namespace Model
public string TextToReplace { get; set; }
}
-
+
public class JsonTable
{
public List> Listen { get; set; }
}
public class DokumentCreate
{
- public string Versandstrasse { get; set; }
+ public string Versandstrasse { get; set; }
public string VersandDirekt { get; set; } = "";
public string VersandVerantwortlich { get; set; }
public string VersandOption { get; set; } = "";
@@ -118,7 +118,26 @@ namespace Model
{
public string dokumentid { get; set; }
public string dokument { get; set; }
-
- }
+ }
+ public class CLMDocItem
+ {
+ public string itemname;
+ public string itemtag;
+ public string itemvalue;
+ public string doclinkname;
+ public string type;
+ public string field;
+ public string bmstart;
+ public string bmend;
+ public string top;
+ public string left;
+ public string width;
+ public string height;
+
+ }
+ //public class CLMDocItems
+ //{
+ // public List CLMDocItem { get; set; }
+ //}
}
diff --git a/Model/bin/Debug/Model.dll b/Model/bin/Debug/Model.dll
index 0ec5a240a..589721439 100644
Binary files a/Model/bin/Debug/Model.dll and b/Model/bin/Debug/Model.dll differ
diff --git a/Model/bin/Debug/Model.pdb b/Model/bin/Debug/Model.pdb
index 7b22f3a3e..bdceac1f0 100644
Binary files a/Model/bin/Debug/Model.pdb and b/Model/bin/Debug/Model.pdb differ
diff --git a/Model/clsDocData.cs b/Model/clsDocData.cs
index 8ff8992b6..42ed2be04 100644
--- a/Model/clsDocData.cs
+++ b/Model/clsDocData.cs
@@ -98,6 +98,7 @@ namespace Model
public List APIValues { get; set; }
public List TextToReplace { get; set; }
+ public List CLMDocItems { get; set; }
}
diff --git a/Model/obj/Debug/Model.dll b/Model/obj/Debug/Model.dll
index 0ec5a240a..589721439 100644
Binary files a/Model/obj/Debug/Model.dll and b/Model/obj/Debug/Model.dll differ
diff --git a/Model/obj/Debug/Model.pdb b/Model/obj/Debug/Model.pdb
index 7b22f3a3e..bdceac1f0 100644
Binary files a/Model/obj/Debug/Model.pdb and b/Model/obj/Debug/Model.pdb differ
diff --git a/NativVorlagen/obj/Debug/NativVorlagen.csproj.AssemblyReference.cache b/NativVorlagen/obj/Debug/NativVorlagen.csproj.AssemblyReference.cache
index fe474852f..6baa40a35 100644
Binary files a/NativVorlagen/obj/Debug/NativVorlagen.csproj.AssemblyReference.cache and b/NativVorlagen/obj/Debug/NativVorlagen.csproj.AssemblyReference.cache differ
diff --git a/NativVorlagen/obj/Debug/NativVorlagen.csproj.FileListAbsolute.txt b/NativVorlagen/obj/Debug/NativVorlagen.csproj.FileListAbsolute.txt
index 3020ff876..accb492df 100644
--- a/NativVorlagen/obj/Debug/NativVorlagen.csproj.FileListAbsolute.txt
+++ b/NativVorlagen/obj/Debug/NativVorlagen.csproj.FileListAbsolute.txt
@@ -62,3 +62,5 @@ E:\Software-Projekte\OnDoc\OnDoc\NativVorlagen\bin\Debug\Syncfusion.Grid.Windows
E:\Software-Projekte\OnDoc\OnDoc\NativVorlagen\obj\Debug\NativVor.29F51F95.Up2Date
E:\Software-Projekte\OnDoc\OnDoc\NativVorlagen\obj\Debug\NativVorlagen.exe
E:\Software-Projekte\OnDoc\OnDoc\NativVorlagen\obj\Debug\NativVorlagen.pdb
+E:\Software-Projekte\OnDoc\OnDoc\NativVorlagen\obj\Debug\NativVorlagen.csproj.SuggestedBindingRedirects.cache
+E:\Software-Projekte\OnDoc\OnDoc\NativVorlagen\obj\Debug\NativVorlagen.exe.config
diff --git a/NativVorlagen/obj/Debug/NativVorlagen.csproj.SuggestedBindingRedirects.cache b/NativVorlagen/obj/Debug/NativVorlagen.csproj.SuggestedBindingRedirects.cache
new file mode 100644
index 000000000..c29dde78d
--- /dev/null
+++ b/NativVorlagen/obj/Debug/NativVorlagen.csproj.SuggestedBindingRedirects.cache
@@ -0,0 +1 @@
+6d76e7a2caa84cc541daed57fe5afac7bb9484f5c33350578418a0d84207e06f
diff --git a/NativVorlagen/obj/Debug/NativVorlagen.exe.config b/NativVorlagen/obj/Debug/NativVorlagen.exe.config
new file mode 100644
index 000000000..43fa54493
--- /dev/null
+++ b/NativVorlagen/obj/Debug/NativVorlagen.exe.config
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ E:\Software-Projekte\OnDoc\Nativ\
+
+
+ h:\edoka_work\
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OfficeToPDFConverter/obj/Debug/OfficeToPDFConverter.csproj.AssemblyReference.cache b/OfficeToPDFConverter/obj/Debug/OfficeToPDFConverter.csproj.AssemblyReference.cache
index 6010105c7..a5268f6a0 100644
Binary files a/OfficeToPDFConverter/obj/Debug/OfficeToPDFConverter.csproj.AssemblyReference.cache and b/OfficeToPDFConverter/obj/Debug/OfficeToPDFConverter.csproj.AssemblyReference.cache differ
diff --git a/OfficeToPDFConverter/obj/Debug/OfficeToPDFConverter.csproj.CoreCompileInputs.cache b/OfficeToPDFConverter/obj/Debug/OfficeToPDFConverter.csproj.CoreCompileInputs.cache
index a52892e2b..add27d0ff 100644
--- a/OfficeToPDFConverter/obj/Debug/OfficeToPDFConverter.csproj.CoreCompileInputs.cache
+++ b/OfficeToPDFConverter/obj/Debug/OfficeToPDFConverter.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-26adcd250e91980369d40f64bc7feb6761a6219081acfe8442ae185c2c016d76
+0eb5325e2c488e3781593515455a28c9bde0a1fe084c091e983a29e386437fea
diff --git a/OnDocOffice/bin/Debug/DOCGEN.dll b/OnDocOffice/bin/Debug/DOCGEN.dll
index 2ad6cfc6b..9d25b587f 100644
Binary files a/OnDocOffice/bin/Debug/DOCGEN.dll and b/OnDocOffice/bin/Debug/DOCGEN.dll differ
diff --git a/OnDocOffice/bin/Debug/DOCGEN.pdb b/OnDocOffice/bin/Debug/DOCGEN.pdb
index 2d2fa1abe..62957d905 100644
Binary files a/OnDocOffice/bin/Debug/DOCGEN.pdb and b/OnDocOffice/bin/Debug/DOCGEN.pdb differ
diff --git a/OnDocOffice/bin/Debug/Database.dll b/OnDocOffice/bin/Debug/Database.dll
index fbbe3f949..ed1e14fc2 100644
Binary files a/OnDocOffice/bin/Debug/Database.dll and b/OnDocOffice/bin/Debug/Database.dll differ
diff --git a/OnDocOffice/bin/Debug/Database.pdb b/OnDocOffice/bin/Debug/Database.pdb
index 921de6268..fdafff8eb 100644
Binary files a/OnDocOffice/bin/Debug/Database.pdb and b/OnDocOffice/bin/Debug/Database.pdb differ
diff --git a/OnDocOffice/bin/Debug/Model.dll b/OnDocOffice/bin/Debug/Model.dll
index 0ec5a240a..589721439 100644
Binary files a/OnDocOffice/bin/Debug/Model.dll and b/OnDocOffice/bin/Debug/Model.dll differ
diff --git a/OnDocOffice/bin/Debug/Model.pdb b/OnDocOffice/bin/Debug/Model.pdb
index 7b22f3a3e..bdceac1f0 100644
Binary files a/OnDocOffice/bin/Debug/Model.pdb and b/OnDocOffice/bin/Debug/Model.pdb differ
diff --git a/OnDocOffice/obj/Debug/OnDocOffice.csproj.AssemblyReference.cache b/OnDocOffice/obj/Debug/OnDocOffice.csproj.AssemblyReference.cache
index b18c49635..24dfd4187 100644
Binary files a/OnDocOffice/obj/Debug/OnDocOffice.csproj.AssemblyReference.cache and b/OnDocOffice/obj/Debug/OnDocOffice.csproj.AssemblyReference.cache differ
diff --git a/OnDocScript/bin/Debug/OnDocScriptGraphQL.dll b/OnDocScript/bin/Debug/OnDocScriptGraphQL.dll
index 790695cf2..fee896b0c 100644
Binary files a/OnDocScript/bin/Debug/OnDocScriptGraphQL.dll and b/OnDocScript/bin/Debug/OnDocScriptGraphQL.dll differ
diff --git a/OnDocScript/bin/Debug/OnDocScriptGraphQL.pdb b/OnDocScript/bin/Debug/OnDocScriptGraphQL.pdb
index e07ec5573..352af44a4 100644
Binary files a/OnDocScript/bin/Debug/OnDocScriptGraphQL.pdb and b/OnDocScript/bin/Debug/OnDocScriptGraphQL.pdb differ
diff --git a/OnDocScript/obj/Debug/OnDocScript.csproj.AssemblyReference.cache b/OnDocScript/obj/Debug/OnDocScript.csproj.AssemblyReference.cache
index 50c507c4a..a8ba59409 100644
Binary files a/OnDocScript/obj/Debug/OnDocScript.csproj.AssemblyReference.cache and b/OnDocScript/obj/Debug/OnDocScript.csproj.AssemblyReference.cache differ
diff --git a/OnDocWPF/bin/Debug/net8.0-windows/OnDocWPF.exe b/OnDocWPF/bin/Debug/net8.0-windows/OnDocWPF.exe
index 11b3d1943..fb7fb5326 100644
Binary files a/OnDocWPF/bin/Debug/net8.0-windows/OnDocWPF.exe and b/OnDocWPF/bin/Debug/net8.0-windows/OnDocWPF.exe differ
diff --git a/ToolsDoksImportExport/bin/Debug/Database.dll.config b/ToolsDoksImportExport/bin/Debug/Database.dll.config
new file mode 100644
index 000000000..221bbe71f
--- /dev/null
+++ b/ToolsDoksImportExport/bin/Debug/Database.dll.config
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ToolsDoksImportExport/bin/Debug/Logging.dll b/ToolsDoksImportExport/bin/Debug/Logging.dll
index 2d6fd3221..980d7597b 100644
Binary files a/ToolsDoksImportExport/bin/Debug/Logging.dll and b/ToolsDoksImportExport/bin/Debug/Logging.dll differ
diff --git a/ToolsDoksImportExport/bin/Debug/Logging.dll.config b/ToolsDoksImportExport/bin/Debug/Logging.dll.config
new file mode 100644
index 000000000..3df69c5a5
--- /dev/null
+++ b/ToolsDoksImportExport/bin/Debug/Logging.dll.config
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ToolsDoksImportExport/bin/Debug/Logging.pdb b/ToolsDoksImportExport/bin/Debug/Logging.pdb
index 8834ecd5f..75ce3d64b 100644
Binary files a/ToolsDoksImportExport/bin/Debug/Logging.pdb and b/ToolsDoksImportExport/bin/Debug/Logging.pdb differ
diff --git a/ToolsDoksImportExport/bin/Debug/Model.dll b/ToolsDoksImportExport/bin/Debug/Model.dll
index 74d2710ed..b2007c3c5 100644
Binary files a/ToolsDoksImportExport/bin/Debug/Model.dll and b/ToolsDoksImportExport/bin/Debug/Model.dll differ
diff --git a/ToolsDoksImportExport/bin/Debug/Model.pdb b/ToolsDoksImportExport/bin/Debug/Model.pdb
index 1f7611581..244081632 100644
Binary files a/ToolsDoksImportExport/bin/Debug/Model.pdb and b/ToolsDoksImportExport/bin/Debug/Model.pdb differ
diff --git a/ToolsDoksImportExport/bin/Debug/NLog.Database.dll b/ToolsDoksImportExport/bin/Debug/NLog.Database.dll
index d5c959ecb..047d27acf 100644
Binary files a/ToolsDoksImportExport/bin/Debug/NLog.Database.dll and b/ToolsDoksImportExport/bin/Debug/NLog.Database.dll differ
diff --git a/ToolsDoksImportExport/bin/Debug/NLog.Database.xml b/ToolsDoksImportExport/bin/Debug/NLog.Database.xml
index 2ca03c0e6..d13749e14 100644
--- a/ToolsDoksImportExport/bin/Debug/NLog.Database.xml
+++ b/ToolsDoksImportExport/bin/Debug/NLog.Database.xml
@@ -105,6 +105,14 @@
Name of the parameter.
The parameter layout.
+
+
+ Initializes a new instance of the class.
+
+ Name of the parameter.
+ The parameter layout.
+ Method-delegate to perform custom initialization database-parameter. Ex. for AOT to assign custom DbType.
+
Gets or sets the database parameter name.
@@ -113,7 +121,7 @@
- Gets or sets the layout that should be use to calculate the value for the parameter.
+ Gets or sets the layout used for rendering the database-parameter value.
@@ -121,8 +129,16 @@
Gets or sets the database parameter DbType.
+
+ Not compatible with AOT since using type-reflection to convert into Enum and assigning value.
+
+
+
+ Gets or sets the database parameter DbType (without reflection logic)
+
+
Gets or sets the database parameter size.
@@ -209,12 +225,26 @@
Initializes a new instance of the class.
+
+ Not compatible with AOT since using type-reflection with to resolve DbConnection-factory.
+
Initializes a new instance of the class.
Name of the target.
+
+ Not compatible with AOT since using type-reflection with to resolve DbConnection-factory.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A factory function that creates instances of for connecting to the database (AOT compatible)
+
@@ -235,7 +265,7 @@
(Note that provider invariant names are not supported on .NET Compact Framework).
- Alternatively the parameter value can be be a fully qualified name of the provider
+ Alternatively the parameter value can be be a fully qualified name of the provider
connection type (class implementing ) or one of the following tokens:
- Gets or sets a value indicating whether to keep the
+ Gets or sets a value indicating whether to keep the
database connection open between the log events.
@@ -321,10 +351,10 @@
Gets or sets the text of the SQL command to be run on each log level.
- Typically this is a SQL INSERT statement or a stored procedure call.
+ Typically this is a SQL INSERT statement or a stored procedure call.
It should use the database-specific parameters (marked as @parameter
for SQL server or :parameter for Oracle, other data providers
- have their own notation) and not the layout renderers,
+ have their own notation) and not the layout renderers,
because the latter is prone to SQL injection attacks.
The layout renderers should be specified as <parameter /> elements instead.
@@ -336,7 +366,7 @@
This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure".
- When using the value StoredProcedure, the commandText-property would
+ When using the value StoredProcedure, the commandText-property would
normally be the name of the stored procedure. TableDirect method is not supported in this context.
@@ -392,7 +422,7 @@
-
+
Set the to use it for opening connections to the database.
@@ -423,10 +453,10 @@
- Build the connectionstring from the properties.
+ Build the connectionstring from the properties.
- Using at first, and falls back to the properties ,
+ Using at first, and falls back to the properties ,
, and
Event to render the layout inside the properties.
@@ -457,5 +487,180 @@
Reflection helpers.
+
+
+ Initializes a new instance of the class
+ with the specified member types.
+
+ The types of members dynamically accessed.
+
+
+
+ Gets the which specifies the type
+ of members dynamically accessed.
+
+
+
+
+ Specifies the types of members that are dynamically accessed.
+
+ This enumeration has a attribute that allows a
+ bitwise combination of its member values.
+
+
+
+
+ Specifies no members.
+
+
+
+
+ Specifies the default, parameterless public constructor.
+
+
+
+
+ Specifies all public constructors.
+
+
+
+
+ Specifies all non-public constructors.
+
+
+
+
+ Specifies all public methods.
+
+
+
+
+ Specifies all non-public methods.
+
+
+
+
+ Specifies all public fields.
+
+
+
+
+ Specifies all non-public fields.
+
+
+
+
+ Specifies all public nested types.
+
+
+
+
+ Specifies all non-public nested types.
+
+
+
+
+ Specifies all public properties.
+
+
+
+
+ Specifies all non-public properties.
+
+
+
+
+ Specifies all public events.
+
+
+
+
+ Specifies all non-public events.
+
+
+
+
+ Specifies all interfaces implemented by the type.
+
+
+
+
+ Specifies all members.
+
+
+
+
+ Suppresses reporting of a specific rule violation, allowing multiple suppressions on a
+ single code artifact.
+
+
+ is different than
+ in that it doesn't have a
+ . So it is always preserved in the compiled assembly.
+
+
+
+
+ Initializes a new instance of the
+ class, specifying the category of the tool and the identifier for an analysis rule.
+
+ The category for the attribute.
+ The identifier of the analysis rule the attribute applies to.
+
+
+
+ Gets the category identifying the classification of the attribute.
+
+
+ The property describes the tool or tool analysis category
+ for which a message suppression attribute applies.
+
+
+
+
+ Gets the identifier of the analysis tool rule to be suppressed.
+
+
+ Concatenated together, the and
+ properties form a unique check identifier.
+
+
+
+
+ Gets or sets the scope of the code that is relevant for the attribute.
+
+
+ The Scope property is an optional argument that specifies the metadata scope for which
+ the attribute is relevant.
+
+
+
+
+ Gets or sets a fully qualified path that represents the target of the attribute.
+
+
+ The property is an optional argument identifying the analysis target
+ of the attribute. An example value is "System.IO.Stream.ctor():System.Void".
+ Because it is fully qualified, it can be long, particularly for targets such as parameters.
+ The analysis tool user interface should be capable of automatically formatting the parameter.
+
+
+
+
+ Gets or sets an optional argument expanding on exclusion criteria.
+
+
+ The property is an optional argument that specifies additional
+ exclusion where the literal metadata target is not sufficiently precise. For example,
+ the cannot be applied within a method,
+ and it may be desirable to suppress a violation against a statement in the method that will
+ give a rule violation, but not against all statements in the method.
+
+
+
+
+ Gets or sets the justification for suppressing the code analysis message.
+
+
diff --git a/ToolsDoksImportExport/bin/Debug/NLog.dll b/ToolsDoksImportExport/bin/Debug/NLog.dll
index 54fe62533..443d19a27 100644
Binary files a/ToolsDoksImportExport/bin/Debug/NLog.dll and b/ToolsDoksImportExport/bin/Debug/NLog.dll differ
diff --git a/ToolsDoksImportExport/bin/Debug/NLog.xml b/ToolsDoksImportExport/bin/Debug/NLog.xml
index 96ffa38b0..5188834db 100644
--- a/ToolsDoksImportExport/bin/Debug/NLog.xml
+++ b/ToolsDoksImportExport/bin/Debug/NLog.xml
@@ -4,6 +4,4071 @@
NLog
+
+
+ Indicates that the value of the marked element could be null sometimes,
+ so checking for null is required before its usage.
+
+
+ [CanBeNull] object Test() => null;
+
+ void UseTest() {
+ var p = Test();
+ var s = p.ToString(); // Warning: Possible 'System.NullReferenceException'
+ }
+
+
+
+
+ Indicates that the value of the marked element can never be null.
+
+
+ [NotNull] object Foo() {
+ return null; // Warning: Possible 'null' assignment
+ }
+
+
+
+
+ Indicates that the marked method builds string by the format pattern and (optional) arguments.
+ The parameter, which contains the format string, should be given in the constructor. The format string
+ should be in -like form.
+
+
+ [StringFormatMethod("message")]
+ void ShowError(string message, params object[] args) { /* do something */ }
+
+ void Foo() {
+ ShowError("Failed: {0}"); // Warning: Non-existing argument in format string
+ }
+
+
+
+
+ Specifies which parameter of an annotated method should be treated as the format string
+
+
+
+
+ Indicates that the marked parameter is a message template where placeholders are to be replaced by the following arguments
+ in the order in which they appear
+
+
+ void LogInfo([StructuredMessageTemplate]string message, params object[] args) { /* do something */ }
+
+ void Foo() {
+ LogInfo("User created: {username}"); // Warning: Non-existing argument in format string
+ }
+
+
+
+
+ Describes dependency between method input and output.
+
+
+ Function Definition Table syntax:
+
+ - FDT ::= FDTRow [;FDTRow]*
+ - FDTRow ::= Input => Output | Output <= Input
+ - Input ::= ParameterName: Value [, Input]*
+ - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value}
+ - Value ::= true | false | null | notnull | canbenull
+
+ If the method has a single input parameter, its name could be omitted.
+ Using halt (or void/nothing, which is the same) for the method output
+ means that the method doesn't return normally (throws or terminates the process).
+ Value canbenull is only applicable for output parameters.
+ You can use multiple [ContractAnnotation] for each FDT row, or use single attribute
+ with rows separated by the semicolon. There is no notion of order rows, all rows are checked
+ for applicability and applied per each program state tracked by the analysis engine.
+
+
+
+ [ContractAnnotation("=> halt")]
+ public void TerminationMethod()
+
+
+ [ContractAnnotation("null <= param:null")] // reverse condition syntax
+ public string GetName(string surname)
+
+
+ [ContractAnnotation("s:null => true")]
+ public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty()
+
+
+ // A method that returns null if the parameter is null,
+ // and not null if the parameter is not null
+ [ContractAnnotation("null => null; notnull => notnull")]
+ public object Transform(object data)
+
+
+ [ContractAnnotation("=> true, result: notnull; => false, result: null")]
+ public bool TryParse(string s, out Person result)
+
+
+
+
+
+ Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library),
+ so this symbol will be ignored by usage-checking inspections.
+ You can use and
+ to configure how this attribute is applied.
+
+
+ [UsedImplicitly]
+ public class TypeConverter {}
+
+ public class SummaryData
+ {
+ [UsedImplicitly(ImplicitUseKindFlags.InstantiatedWithFixedConstructorSignature)]
+ public SummaryData() {}
+ }
+
+ [UsedImplicitly(ImplicitUseTargetFlags.WithInheritors | ImplicitUseTargetFlags.Default)]
+ public interface IService {}
+
+
+
+
+ Can be applied to attributes, type parameters, and parameters of a type assignable from .
+ When applied to an attribute, the decorated attribute behaves the same as .
+ When applied to a type parameter or to a parameter of type ,
+ indicates that the corresponding type is used implicitly.
+
+
+
+
+ Specifies the details of implicitly used symbol when it is marked
+ with or .
+
+
+
+ Only entity marked with attribute considered used.
+
+
+ Indicates implicit assignment to a member.
+
+
+
+ Indicates implicit instantiation of a type with fixed constructor signature.
+ That means any unused constructor parameters won't be reported as such.
+
+
+
+ Indicates implicit instantiation of a type.
+
+
+
+ Specifies what is considered to be used implicitly when marked
+ with or .
+
+
+
+ Members of the type marked with the attribute are considered used.
+
+
+ Inherited entities are considered used.
+
+
+ Entity marked with the attribute and all its members considered used.
+
+
+
+ Asynchronous continuation delegate - function invoked at the end of asynchronous
+ processing.
+
+ Exception during asynchronous processing or null if no exception
+ was thrown.
+
+
+
+ Helpers for asynchronous operations.
+
+
+
+
+ Iterates over all items in the given collection and runs the specified action
+ in sequence (each action executes only after the preceding one has completed without an error).
+
+ Type of each item.
+ The items to iterate.
+ The asynchronous continuation to invoke once all items
+ have been iterated.
+ The action to invoke for each item.
+
+
+
+ Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end.
+
+ The repeat count.
+ The asynchronous continuation to invoke at the end.
+ The action to invoke.
+
+
+
+ Modifies the continuation by pre-pending given action to execute just before it.
+
+ The async continuation.
+ The action to pre-pend.
+ Continuation which will execute the given action before forwarding to the actual continuation.
+
+
+
+ Attaches a timeout to a continuation which will invoke the continuation when the specified
+ timeout has elapsed.
+
+ The asynchronous continuation.
+ The timeout.
+ Wrapped continuation.
+
+
+
+ Iterates over all items in the given collection and runs the specified action
+ in parallel (each action executes on a thread from thread pool).
+
+ Type of each item.
+ The items to iterate.
+ The asynchronous continuation to invoke once all items
+ have been iterated.
+ The action to invoke for each item.
+
+
+
+ Runs the specified asynchronous action synchronously (blocks until the continuation has
+ been invoked).
+
+ The action.
+
+ Using this method is not recommended because it will block the calling thread.
+
+
+
+
+ Wraps the continuation with a guard which will only make sure that the continuation function
+ is invoked only once.
+
+ The asynchronous continuation.
+ Wrapped asynchronous continuation.
+
+
+
+ Gets the combined exception from all exceptions in the list.
+
+ The exceptions.
+ Combined exception or null if no exception was thrown.
+
+
+
+ Disposes the Timer, and waits for it to leave the Timer-callback-method
+
+ The Timer object to dispose
+ Timeout to wait (TimeSpan.Zero means dispose without waiting)
+ Timer disposed within timeout (true/false)
+
+
+
+ Asynchronous action.
+
+ Continuation to be invoked at the end of action.
+
+
+
+ Asynchronous action with one argument.
+
+ Type of the argument.
+ Argument to the action.
+ Continuation to be invoked at the end of action.
+
+
+
+ Represents the logging event with asynchronous continuation.
+
+
+
+
+ Initializes a new instance of the struct.
+
+ The log event.
+ The continuation.
+
+
+
+ Gets the log event.
+
+
+
+
+ Gets the continuation.
+
+
+
+
+ Implements the operator ==.
+
+ The event info1.
+ The event info2.
+ The result of the operator.
+
+
+
+ Implements the operator ==.
+
+ The event info1.
+ The event info2.
+ The result of the operator.
+
+
+
+
+
+
+
+
+
+
+
+
+ String Conversion Helpers
+
+
+
+
+ Converts input string value into . Parsing is case-insensitive.
+
+ Input value
+ Output value
+ Default value
+ Returns if the input value could not be parsed
+
+
+
+ Converts input string value into . Parsing is case-insensitive.
+
+ Input value
+ The type of the enum
+ Output value. Null if parse failed
+
+
+
+ Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded.
+
+ The enumeration type to which to convert value.
+ The string representation of the enumeration name or underlying value to convert.
+ to ignore case; to consider case.
+ When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized.
+ if the value parameter was converted successfully; otherwise, .
+ Wrapper because Enum.TryParse is not present in .net 3.5
+
+
+
+ Enum.TryParse implementation for .net 3.5
+
+
+ Don't uses reflection
+
+
+
+ Enables to extract extra context details for
+
+
+
+
+ Name of context
+
+
+
+
+ The current LogFactory next to LogManager
+
+
+
+
+ Handle Internal LogEvent written to the InternalLogger
+
+
+ Never use/call NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
+
+
+
+
+ Internal LogEvent details from
+
+
+
+
+ The rendered message
+
+
+
+
+ The log level
+
+
+
+
+ The exception. Could be null.
+
+
+
+
+ The type that triggered this internal log event, for example the FileTarget.
+ This property is not always populated.
+
+
+
+
+ The context name that triggered this internal log event, for example the name of the Target.
+ This property is not always populated.
+
+
+
+
+ NLog internal logger.
+
+ Writes to file, console or custom text writer (see )
+
+ Documentation on NLog Wiki
+
+
+
+ Gets a value indicating whether internal log includes Trace messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Debug messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Info messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Warn messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Error messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Fatal messages.
+
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Trace level.
+ will be only called when logging is enabled for level Trace.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Trace level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Trace level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Trace level.
+ will be only called when logging is enabled for level Trace.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Logs the specified message without an at the Debug level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Debug level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Debug level.
+ will be only called when logging is enabled for level Debug.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Debug level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Debug level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Debug level.
+ will be only called when logging is enabled for level Debug.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Logs the specified message without an at the Info level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Info level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Info level.
+ will be only called when logging is enabled for level Info.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Info level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Info level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Info level.
+ will be only called when logging is enabled for level Info.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Logs the specified message without an at the Warn level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Warn level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Warn level.
+ will be only called when logging is enabled for level Warn.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Warn level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Warn level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Warn level.
+ will be only called when logging is enabled for level Warn.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Logs the specified message without an at the Error level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Error level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Error level.
+ will be only called when logging is enabled for level Error.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Error level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Error level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Error level.
+ will be only called when logging is enabled for level Error.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Logs the specified message without an at the Fatal level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Fatal level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Fatal level.
+ will be only called when logging is enabled for level Fatal.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Fatal level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Fatal level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Fatal level.
+ will be only called when logging is enabled for level Fatal.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Set the config of the InternalLogger with defaults and config.
+
+
+
+
+ Gets or sets the minimal internal log level.
+
+ If set to , then messages of the levels , and will be written.
+
+
+
+ Gets or sets a value indicating whether internal messages should be written to the console output stream.
+
+ Your application must be a console application.
+
+
+
+ Gets or sets a value indicating whether internal messages should be written to the console error stream.
+
+ Your application must be a console application.
+
+
+
+ Gets or sets the file path of the internal log file.
+
+ A value of value disables internal logging to a file.
+
+
+
+ Gets or sets the text writer that will receive internal logs.
+
+
+
+
+ Internal LogEvent written to the InternalLogger
+
+
+ EventHandler will only be triggered for events, where severity matches the configured .
+
+ Never use/call NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
+
+
+
+
+ Gets or sets a value indicating whether timestamp should be included in internal log output.
+
+
+
+
+ Is there an thrown when writing the message?
+
+
+
+
+ Logs the specified message without an at the specified level.
+
+ Log level.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the specified level.
+
+ Log level.
+ Log message.
+
+
+
+ Logs the specified message without an at the specified level.
+ will be only called when logging is enabled for level .
+
+ Log level.
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the specified level.
+ will be only called when logging is enabled for level .
+
+ Exception to be logged.
+ Log level.
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the specified level.
+
+ Exception to be logged.
+ Log level.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message with an at the specified level.
+
+ Exception to be logged.
+ Log level.
+ Log message.
+
+
+
+ Write to internallogger.
+
+ optional exception to be logged.
+ level
+ message
+ optional args for
+
+
+
+ Create log line with timestamp, exception message etc (if configured)
+
+
+
+
+ Determine if logging should be avoided because of exception type.
+
+ The exception to check.
+ if logging should be avoided; otherwise, .
+
+
+
+ Determine if logging is enabled for given LogLevel
+
+ The for the log event.
+ if logging is enabled; otherwise, .
+
+
+
+ Determine if logging is enabled.
+
+ if logging is enabled; otherwise, .
+
+
+
+ A cyclic buffer of object.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Buffer size.
+ Whether buffer should grow as it becomes full.
+ The maximum number of items that the buffer can grow to.
+
+
+
+ Gets the capacity of the buffer
+
+
+
+
+ Gets the number of items in the buffer
+
+
+
+
+ Adds the specified log event to the buffer.
+
+ Log event.
+ The number of items in the buffer.
+
+
+
+ Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation.
+
+ Events in the buffer.
+
+
+
+ Condition and expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Left hand side of the AND expression.
+ Right hand side of the AND expression.
+
+
+
+ Gets the left hand side of the AND expression.
+
+
+
+
+ Gets the right hand side of the AND expression.
+
+
+
+
+ Returns a string representation of this expression.
+
+ A concatenated '(Left) and (Right)' string.
+
+
+
+ Evaluates the expression by evaluating and recursively.
+
+ Evaluation context.
+ The value of the conjunction operator.
+
+
+
+ Exception during evaluation of condition expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+ The parameter is null.
+
+
+ The class name is null or is zero (0).
+
+
+
+
+ Condition message expression (represented by the exception keyword).
+
+
+
+
+
+
+
+ Evaluates the current .
+
+ Evaluation context.
+ The object.
+
+
+
+ Base class for representing nodes in condition expression trees.
+
+ Documentation on NLog Wiki
+
+
+
+ Converts condition text to a condition expression tree.
+
+ Condition text to be converted.
+ Condition expression tree.
+
+
+
+ Evaluates the expression.
+
+ Evaluation context.
+ Expression result.
+
+
+
+ Returns a string representation of the expression.
+
+
+
+
+ Evaluates the expression.
+
+ Evaluation context.
+ Expression result.
+
+
+
+ Condition layout expression (represented by a string literal
+ with embedded ${}).
+
+
+
+
+ Initializes a new instance of the class.
+
+ The layout.
+
+
+
+ Gets the layout.
+
+ The layout.
+
+
+
+
+
+
+ Evaluates the expression by rendering the formatted output from
+ the
+
+ Evaluation context.
+ The output rendered from the layout.
+
+
+
+ Condition level expression (represented by the level keyword).
+
+
+
+
+
+
+
+ Evaluates to the current log level.
+
+ Evaluation context.
+ The object representing current log level.
+
+
+
+ Condition literal expression (numeric, LogLevel.XXX, true or false).
+
+
+
+
+ Initializes a new instance of the class.
+
+ Literal value.
+
+
+
+ Gets the literal value.
+
+ The literal value.
+
+
+
+
+
+
+ Evaluates the expression.
+
+ Evaluation context. Ignored.
+ The literal value as passed in the constructor.
+
+
+
+ Condition logger name expression (represented by the logger keyword).
+
+
+
+
+
+
+
+ Evaluates to the logger name.
+
+ Evaluation context.
+ The logger name.
+
+
+
+ Condition message expression (represented by the message keyword).
+
+
+
+
+
+
+
+ Evaluates to the logger message.
+
+ Evaluation context.
+ The logger message.
+
+
+
+ Marks class as a log event Condition and assigns a name to it.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Condition method name.
+
+
+
+ Gets the method parameters
+
+
+
+
+
+
+
+
+
+
+ A bunch of utility methods (mostly predicates) which can be used in
+ condition expressions. Partially inspired by XPath 1.0.
+
+
+
+
+ Compares two values for equality.
+
+ The first value.
+ The second value.
+ true when two objects are equal, false otherwise.
+
+
+
+ Compares two strings for equality.
+
+ The first string.
+ The second string.
+ Optional. If true, case is ignored; if false (default), case is significant.
+ true when two strings are equal, false otherwise.
+
+
+
+ Gets or sets a value indicating whether the second string is a substring of the first one.
+
+ The first string.
+ The second string.
+ Optional. If true (default), case is ignored; if false, case is significant.
+ true when the second string is a substring of the first string, false otherwise.
+
+
+
+ Gets or sets a value indicating whether the second string is a prefix of the first one.
+
+ The first string.
+ The second string.
+ Optional. If true (default), case is ignored; if false, case is significant.
+ true when the second string is a prefix of the first string, false otherwise.
+
+
+
+ Gets or sets a value indicating whether the second string is a suffix of the first one.
+
+ The first string.
+ The second string.
+ Optional. If true (default), case is ignored; if false, case is significant.
+ true when the second string is a prefix of the first string, false otherwise.
+
+
+
+ Returns the length of a string.
+
+ A string whose lengths is to be evaluated.
+ The length of the string.
+
+
+
+ Marks the class as containing condition methods.
+
+
+
+
+ Condition not expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expression.
+
+
+
+ Gets the expression to be negated.
+
+ The expression.
+
+
+
+
+
+
+
+
+
+ Condition or expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Left hand side of the OR expression.
+ Right hand side of the OR expression.
+
+
+
+ Gets the left expression.
+
+ The left expression.
+
+
+
+ Gets the right expression.
+
+ The right expression.
+
+
+
+
+
+
+ Evaluates the expression by evaluating and recursively.
+
+ Evaluation context.
+ The value of the alternative operator.
+
+
+
+ Exception during parsing of condition expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+ The parameter is null.
+
+
+ The class name is null or is zero (0).
+
+
+
+
+ Condition parser. Turns a string representation of condition expression
+ into an expression tree.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The string reader.
+ Instance of used to resolve references to condition methods and layout renderers.
+
+
+
+ Parses the specified condition string and turns it into
+ tree.
+
+ The expression to be parsed.
+ The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
+
+
+
+ Parses the specified condition string and turns it into
+ tree.
+
+ The expression to be parsed.
+ Instance of used to resolve references to condition methods and layout renderers.
+ The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
+
+
+
+ Parses the specified condition string and turns it into
+ tree.
+
+ The string reader.
+ Instance of used to resolve references to condition methods and layout renderers.
+
+ The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
+
+
+
+
+ Try stringed keyword to
+
+
+
+ success?
+
+
+
+ Parse number
+
+ negative number? minus should be parsed first.
+
+
+
+
+ Condition relational (==, !=, <, <=,
+ > or >=) expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The left expression.
+ The right expression.
+ The relational operator.
+
+
+
+ Gets the left expression.
+
+ The left expression.
+
+
+
+ Gets the right expression.
+
+ The right expression.
+
+
+
+ Gets the relational operator.
+
+ The operator.
+
+
+
+
+
+
+
+
+
+ Compares the specified values using specified relational operator.
+
+ The first value.
+ The second value.
+ The relational operator.
+ Result of the given relational operator.
+
+
+
+ Promote values to the type needed for the comparison, e.g. parse a string to int.
+
+
+
+
+
+
+ Promotes to type
+
+
+
+ success?
+
+
+
+ Try to promote both values. First try to promote to ,
+ when failed, try to .
+
+
+
+
+
+ Get the order for the type for comparison.
+
+
+ index, 0 to max int. Lower is first
+
+
+
+ Dictionary from type to index. Lower index should be tested first.
+
+
+
+
+ Build the dictionary needed for the order of the types.
+
+
+
+
+
+ Get the string representing the current
+
+
+
+
+
+ Relational operators used in conditions.
+
+
+
+
+ Equality (==).
+
+
+
+
+ Inequality (!=).
+
+
+
+
+ Less than (<).
+
+
+
+
+ Greater than (>).
+
+
+
+
+ Less than or equal (<=).
+
+
+
+
+ Greater than or equal (>=).
+
+
+
+
+ Hand-written tokenizer for conditions.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The string reader.
+
+
+
+ Asserts current token type and advances to the next token.
+
+ Expected token type.
+ If token type doesn't match, an exception is thrown.
+
+
+
+ Asserts that current token is a keyword and returns its value and advances to the next token.
+
+ Keyword value.
+
+
+
+ Gets or sets a value indicating whether current keyword is equal to the specified value.
+
+ The keyword.
+
+ A value of if current keyword is equal to the specified value; otherwise, .
+
+
+
+
+ Gets or sets a value indicating whether the tokenizer has reached the end of the token stream.
+
+
+ A value of if the tokenizer has reached the end of the token stream; otherwise, .
+
+
+
+
+ Gets or sets a value indicating whether current token is a number.
+
+
+ A value of if current token is a number; otherwise, .
+
+
+
+
+ Gets or sets a value indicating whether the specified token is of specified type.
+
+ The token type.
+
+ A value of if current token is of specified type; otherwise, .
+
+
+
+
+ Gets the next token and sets and properties.
+
+
+
+
+ Try the comparison tokens (greater, smaller, greater-equals, smaller-equals)
+
+ current char
+ is match
+
+
+
+ Try the logical tokens (and, or, not, equals)
+
+ current char
+ is match
+
+
+
+ Mapping between characters and token types for punctuations.
+
+
+
+
+ Initializes a new instance of the CharToTokenType struct.
+
+ The character.
+ Type of the token.
+
+
+
+ Token types for condition expressions.
+
+
+
+
+ Marks the class or a member as advanced. Advanced classes and members are hidden by
+ default in generated documentation.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain.
+
+
+
+ Implementors must have the [ThreadAgnostic] attribute
+
+ A layout(renderer) could be converted to a literal when:
+ - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput]
+
+ Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout.
+
+
+
+
+ Used to mark configurable parameters which are arrays.
+ Specifies the mapping between XML elements and .NET types.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type of the array item.
+ The XML element name that represents the item.
+
+
+
+ Gets the .NET type of the array item.
+
+
+
+
+ Gets the XML element name.
+
+
+
+
+ Gets all usable exported types from the given assembly.
+
+ Assembly to scan.
+ Usable types from the given assembly.
+ Types which cannot be loaded are skipped.
+
+
+
+ Load from url
+
+ file or path, including .dll
+ basepath, optional
+
+
+
+
+ Load from url
+
+
+
+
+ Provides logging interface and utility functions.
+
+
+
+
+ Represents NLog ConfigSection for loading from app.config / web.config
+
+
+ <configSections>
+ <section name="NLog" type="NLog.Config.ConfigSectionHandler, NLog" />
+ </configSections>
+
+
+
+
+ Gets the default object by parsing
+ the application configuration file (app.exe.config).
+
+
+
+
+ Overriding base implementation to just store
+ of the relevant app.config section.
+
+ The XmlReader that reads from the configuration file.
+ to serialize only the collection key properties; otherwise, .
+
+
+
+ Override base implementation to return a object
+ for
+ instead of the instance.
+
+
+ A instance, that has been deserialized from app.config.
+
+
+
+
+ Provides registration information for named items (targets, layouts, layout renderers, etc.)
+
+ Supports creating item-instance from their type-alias, when parsing NLog configuration
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets default singleton instance of .
+
+
+ This property implements lazy instantiation so that the is not built before
+ the internal logger is configured.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the ambient property factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+ Gets or sets the JSON serializer to use with
+
+
+
+
+ Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect)
+
+
+ - (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering.
+ - : Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with )
+ - : Always performs parsing and rendering using string.Format (Fastest if not using structured logging)
+
+
+
+
+ Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
+ Registers named items from the assembly.
+
+ The assembly.
+
+
+
+ Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
+ Registers named items from the assembly.
+
+ The assembly.
+ Item name prefix.
+
+
+
+ Clears the contents of all factories.
+
+
+
+
+ Obsolete since dynamic type loading is not compatible with publish as trimmed application.
+ Registers the type.
+
+ The type to register.
+ The item name prefix.
+
+
+
+ Attribute used to mark the default parameters for layout renderers.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Dynamic filtering with a positive list of enabled levels
+
+
+
+
+ Dynamic filtering with a minlevel and maxlevel range
+
+
+
+
+ Format of the exception output to the specific target.
+
+
+
+
+ Appends the Message of an Exception to the specified target.
+
+
+
+
+ Appends the type of an Exception to the specified target.
+
+
+
+
+ Appends the short type of an Exception to the specified target.
+
+
+
+
+ Appends the result of calling ToString() on an Exception to the specified target.
+
+
+
+
+ Appends the method name from Exception's stack trace to the specified target.
+
+
+
+
+ Appends the stack trace from an Exception to the specified target.
+
+
+
+
+ Appends the contents of an Exception's Data property to the specified target.
+
+
+
+
+ Destructure the exception (usually into JSON)
+
+
+
+
+ Appends the from the application or the object that caused the error.
+
+
+
+
+ Appends the from the application or the object that caused the error.
+
+
+
+
+ Appends any additional properties that specific type of Exception might have.
+
+
+
+
+ Factory for class-based items.
+
+ The base type of each item.
+ The type of the attribute used to annotate items.
+
+
+
+ Registers the type.
+
+ The type to register.
+ The item name prefix.
+
+
+
+ Registers the item based on a type name.
+
+ Name of the item.
+ Name of the type.
+
+
+
+ Clears the contents of the factory.
+
+
+
+
+
+
+
+ Factory specialized for s.
+
+
+
+
+
+
+
+ Register a layout renderer with a callback function.
+
+ Name of the layoutrenderer, without ${}.
+ the renderer that renders the value.
+
+
+
+
+
+
+ Factory of named items (such as , , , etc.).
+
+
+
+
+ Factory of named items (such as , , , etc.).
+
+
+
+
+ Tries to create an item instance with type-alias
+
+ if instance was created successfully, otherwise.
+
+
+
+ Include context properties
+
+
+
+
+ Gets or sets the option to include all properties from the log events
+
+
+
+
+
+ Gets or sets whether to include the contents of the properties-dictionary.
+
+
+
+
+
+ Gets or sets whether to include the contents of the nested-state-stack.
+
+
+
+
+
+ Implemented by objects which support installation and uninstallation.
+
+
+
+
+ Performs installation which requires administrative permissions.
+
+ The installation context.
+
+
+
+ Performs uninstallation which requires administrative permissions.
+
+ The installation context.
+
+
+
+ Determines whether the item is installed.
+
+ The installation context.
+
+ Value indicating whether the item is installed or null if it is not possible to determine.
+
+
+
+
+ Interface for accessing configuration details
+
+
+
+
+ Name of this configuration element
+
+
+
+
+ Configuration Key/Value Pairs
+
+
+
+
+ Child configuration elements
+
+
+
+
+ Interface for loading NLog
+
+
+
+
+ Finds and loads the NLog configuration
+
+ LogFactory that owns the NLog configuration
+ Name of NLog.config file (optional)
+ NLog configuration (or null if none found)
+
+
+
+ Get file paths (including filename) for the possible NLog config files.
+
+ Name of NLog.config file (optional)
+ The file paths to the possible config file
+
+
+
+ Level enabled flags for each LogLevel ordinal
+
+
+
+
+ Converts the filter into a simple
+
+
+
+
+ Provides context for install/uninstall operations.
+
+
+
+
+ Mapping between log levels and console output colors.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The log output.
+
+
+
+ Gets or sets the installation log level.
+
+
+
+
+ Gets or sets a value indicating whether to ignore failures during installation.
+
+
+
+
+ Whether installation exceptions should be rethrown. If IgnoreFailures is set to true,
+ this property has no effect (there are no exceptions to rethrow).
+
+
+
+
+ Gets the installation parameters.
+
+
+
+
+ Gets or sets the log output.
+
+
+
+
+ Logs the specified trace message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified debug message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified informational message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified warning message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified error message.
+
+ The message.
+ The arguments.
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Creates the log event which can be used to render layouts during install/uninstall.
+
+ Log event info object.
+
+
+
+ Convert object-value into specified type
+
+
+
+
+ Parses the input value and converts into the wanted type
+
+ Input Value
+ Wanted Type
+ Format to use when parsing
+ Culture to use when parsing
+ Output value with wanted type
+
+
+
+ Interface for fluent setup of LogFactory options
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LoggingRules for LoggingConfiguration
+
+
+
+
+ LoggingRule being built
+
+
+
+
+ Interface for fluent setup of target for LoggingRule
+
+
+
+
+ LoggingConfiguration being built
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Collection of targets that should be written to
+
+
+
+
+ Interface for fluent setup of LogFactory options for extension loading
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LogFactory options for enabling NLog
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LoggingConfiguration for LogFactory
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ LoggingConfiguration being built
+
+
+
+
+ Interface for fluent setup of LogFactory options
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LogFactory options for logevent serialization
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Allows components to request stack trace information to be provided in the .
+
+
+
+
+ Gets the level of stack trace information required by the implementing class.
+
+
+
+
+ Encapsulates and the logic to match the actual logger name
+ All subclasses defines immutable objects.
+ Concrete subclasses defines various matching rules through
+
+
+
+
+ Creates a concrete based on .
+
+
+ Rules used to select the concrete implementation returned:
+
+ - if is null => returns (never matches)
+ - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals)
+ - if == '*' => returns (always matches)
+ - if doesn't contain '?'
+
+ - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns
+ - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns
+ - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns
+
+
+ - returns
+
+
+
+ It may include one or more '*' or '?' wildcards at any position.
+
+ - '*' means zero or more occurrences of any character
+ - '?' means exactly one occurrence of any character
+
+
+ A concrete
+
+
+
+ Returns the argument passed to
+
+
+
+
+ Checks whether given name matches the logger name pattern.
+
+ String to be matched.
+ A value of when the name matches, otherwise.
+
+
+
+ Defines a that never matches.
+ Used when pattern is null
+
+
+
+
+ Defines a that always matches.
+ Used when pattern is '*'
+
+
+
+
+ Defines a that matches with a case-sensitive Equals
+ Used when pattern is a string without wildcards '?' '*'
+
+
+
+
+ Defines a that matches with a case-sensitive StartsWith
+ Used when pattern is a string like "*foobar"
+
+
+
+
+ Defines a that matches with a case-sensitive EndsWith
+ Used when pattern is a string like "foobar*"
+
+
+
+
+ Defines a that matches with a case-sensitive Contains
+ Used when pattern is a string like "*foobar*"
+
+
+
+
+ Defines a that matches with a complex wildcards combinations:
+
+ - '*' means zero or more occurrences of any character
+ - '?' means exactly one occurrence of any character
+
+ used when pattern is a string containing any number of '?' or '*' in any position
+ i.e. "*Server[*].Connection[?]"
+
+
+
+
+ Keeps logging configuration and provides simple API to modify it.
+
+ This class is thread-safe..ToList() is used for that purpose.
+
+
+
+ Gets the factory that will be configured
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets the variables defined in the configuration or assigned from API
+
+ Name is case insensitive.
+
+
+
+ Gets a collection of named targets specified in the configuration.
+
+
+ A list of named targets.
+
+
+ Unnamed targets (such as those wrapped by other targets) are not returned.
+
+
+
+
+ Gets the collection of file names which should be watched for changes by NLog.
+
+
+
+
+ Gets the collection of logging rules.
+
+
+
+
+ Gets or sets the default culture info to use as .
+
+
+ Specific culture info or null to use
+
+
+
+
+ Gets all targets.
+
+
+
+
+ Inserts NLog Config Variable without overriding NLog Config Variable assigned from API
+
+
+
+
+ Lookup NLog Config Variable Layout
+
+
+
+
+ Registers the specified target object. The name of the target is read from .
+
+
+ The target object with a non
+
+ when is
+
+
+
+ Registers the specified target object under a given name.
+
+ Name of the target.
+ The target object.
+ when is
+ when is
+
+
+
+ Finds the target with the specified name.
+
+
+ The name of the target to be found.
+
+
+ Found target or when the target is not found.
+
+
+
+
+ Finds the target with the specified name and specified type.
+
+
+ The name of the target to be found.
+
+ Type of the target
+
+ Found target or when the target is not found of not of type
+
+
+
+
+ Add a rule with min- and maxLevel.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Name of the target to be written when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule with min- and maxLevel.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule with min- and maxLevel.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+ Gets or sets a value indicating whether to quit processing any further rule when this one matches.
+
+
+
+ Add a rule object.
+
+ rule object to add
+
+
+
+ Add a rule for one loglevel.
+
+ log level needed to trigger this rule.
+ Name of the target to be written when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for one loglevel.
+
+ log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for one loglevel.
+
+ log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+ Gets or sets a value indicating whether to quit processing any further rule when this one matches.
+
+
+
+ Add a rule for all loglevels.
+
+ Name of the target to be written when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for all loglevels.
+
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for all loglevels.
+
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+ Gets or sets a value indicating whether to quit processing any further rule when this one matches.
+
+
+
+ Lookup the logging rule with matching
+
+ The name of the logging rule to be found.
+ Found logging rule or when not found.
+
+
+
+ Removes the specified named logging rule with matching
+
+ The name of the logging rule to be removed.
+ Found one or more logging rule to remove, or when not found.
+
+
+
+ Loads the NLog LoggingConfiguration from its original source (Ex. read from original config-file after it was updated)
+
+
+ A new instance of that represents the updated configuration.
+
+ Must assign the returned object to LogManager.Configuration to activate it
+
+
+
+ Allow this new configuration to capture state from the old configuration
+
+ Old config that is about to be replaced
+ Checks KeepVariablesOnReload and copies all NLog Config Variables assigned from API into the new config
+
+
+
+ Notify the configuration when has been assigned / unassigned.
+
+ LogFactory that configuration has been assigned to.
+
+
+
+ Removes the specified named target.
+
+ Name of the target.
+
+
+
+ Installs target-specific objects on current system.
+
+ The installation context.
+
+ Installation typically runs with administrative permissions.
+
+
+
+
+ Uninstalls target-specific objects from current system.
+
+ The installation context.
+
+ Uninstallation typically runs with administrative permissions.
+
+
+
+
+ Closes all targets and releases any unmanaged resources.
+
+
+
+
+ Log to the internal (NLog) logger the information about the and associated with this instance.
+
+
+ The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is
+ recorded.
+
+
+
+
+ Validates the configuration.
+
+
+
+
+ Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage.
+
+
+
+
+
+
+ Checks whether unused targets exist. If found any, just write an internal log at Warn level.
+ If initializing not started or failed, then checking process will be canceled
+
+
+
+
+
+
+
+ Arguments for events.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The new configuration.
+ The old configuration.
+
+
+
+ Gets the old configuration.
+
+ The old configuration.
+
+
+
+ Gets the new configuration.
+
+
+ New value can be null when unloading configuration during shutdown.
+
+ The new configuration.
+
+
+
+ Gets the optional boolean attribute value.
+
+
+ Name of the attribute.
+ Default value to return if the attribute is not found or if there is a parse error
+ Boolean attribute value or default.
+
+
+
+ Returns children elements with the specified element name.
+
+
+
+
+ Remove the namespace (before :)
+
+
+ x:a, will be a
+
+
+
+
+
+
+ Enables loading of NLog configuration from a file
+
+
+
+
+ Get default file paths (including filename) for possible NLog config files.
+
+
+
+
+ Get default file paths (including filename) for possible NLog config files.
+
+
+
+
+ Loads NLog configuration from
+
+
+ Make sure to update official NLog.xsd schema, when adding new config-options outside targets/layouts
+
+
+
+
+ Constructor
+
+
+
+
+
+ Loads NLog configuration from provided config section
+
+
+ Directory where the NLog-config-file was loaded from
+
+
+
+ Builds list with unique keys, using last value of duplicates. High priority keys placed first.
+
+
+
+
+
+
+ Parse loglevel, but don't throw if exception throwing is disabled
+
+ Name of attribute for logging.
+ Value of parse.
+ Used if there is an exception
+
+
+
+
+ Parses a single config section within the NLog-config
+
+
+ Section was recognized
+
+
+
+ Parse {Rules} xml element
+
+
+
+
+ Parse {Logger} xml element
+
+
+
+
+
+ Parse boolean
+
+ Name of the property for logging.
+ value to parse
+ Default value to return if the parse failed
+ Boolean attribute value or default.
+
+
+
+ Config element that's validated and having extra context
+
+
+
+
+ Explicit cast because NET35 doesn't support covariance.
+
+
+
+
+ Represents a logging rule. An equivalent of <logger /> configuration element.
+
+
+
+
+ Create an empty .
+
+
+
+
+ Create an empty .
+
+
+
+
+ Create a new with a and which writes to .
+
+ Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+
+
+
+ Create a new with a which writes to .
+
+ Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
+ Minimum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+
+
+
+ Create a (disabled) . You should call or to enable logging.
+
+ Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
+ Target to be written to when the rule matches.
+
+
+
+ Rule identifier to allow rule lookup
+
+
+
+
+ Gets a collection of targets that should be written to when this rule matches.
+
+
+
+
+ Obsolete since too exotic feature with NLog v5.3.
+
+ Gets a collection of child rules to be evaluated when this rule matches.
+
+
+
+
+ Gets a collection of filters to be checked before writing to targets.
+
+
+
+
+ Gets or sets a value indicating whether to quit processing any following rules when this one matches.
+
+
+
+
+ Gets or sets the whether to quit processing any following rules when lower severity and this one matches.
+
+
+ Loggers matching will be restricted to specified minimum level for following rules.
+
+
+
+
+ Gets or sets logger name pattern.
+
+
+ Logger name pattern used by to check if a logger name matches this rule.
+ It may include one or more '*' or '?' wildcards at any position.
+
+ - '*' means zero or more occurrences of any character
+ - '?' means exactly one occurrence of any character
+
+
+
+
+
+ Gets the collection of log levels enabled by this rule.
+
+
+
+
+ Obsolete and replaced by with NLog v5.
+
+ Default action when filters not matching
+
+
+ NLog v4.6 introduced the setting with default value .
+ NLog v5 marked it as obsolete and change default value to
+
+
+
+
+ Default action if none of the filters match
+
+
+ NLog v5 changed default value to
+
+
+
+
+ Enables logging for a particular level.
+
+ Level to be enabled.
+
+
+
+ Enables logging for a particular levels between (included) and .
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+
+
+
+ Disables logging for a particular level.
+
+ Level to be disabled.
+
+
+
+ Disables logging for particular levels between (included) and .
+
+ Minimum log level to be disables.
+ Maximum log level to be disabled.
+
+
+
+ Enables logging the levels between (included) and . All the other levels will be disabled.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+
+
+
+ Returns a string representation of . Used for debugging.
+
+
+
+
+ Checks whether the particular log level is enabled for this rule.
+
+ Level to be checked.
+ A value of when the log level is enabled, otherwise.
+
+
+
+ Checks whether given name matches the .
+
+ String to be matched.
+ A value of when the name matches, otherwise.
+
+
+
+ Default filtering with static level config
+
+
+
+
+ Factory for locating methods.
+
+
+
+
+ Registers the type.
+
+ The type to register.
+ The item name prefix.
+
+
+
+ Scans a type for relevant methods with their symbolic names
+
+ Include types that are marked with this attribute
+ Include methods that are marked with this attribute
+ Class Type to scan
+ Collection of methods with their symbolic names
+
+
+
+ Clears contents of the factory.
+
+
+
+
+ Obsolete and replaced by with NLog v5.3.
+
+ Marks the layout or layout renderer depends on mutable objects from the LogEvent
+
+ This can be or
+
+
+
+
+ Attaches a type-alias for an item (such as ,
+ , , etc.).
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type-alias for use in NLog configuration.
+
+
+
+ Gets the name of the type-alias
+
+
+
+
+ Indicates NLog should not scan this property during configuration.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Marks the object as configuration item for NLog.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Failed to resolve the interface of service type
+
+
+
+
+ Typed we tried to resolve
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Default implementation of
+
+
+
+
+ Singleton instance of the serializer.
+
+
+
+
+
+
+
+ Attribute used to mark the required parameters for targets,
+ layout targets and filters.
+
+
+
+
+ Interface to register available configuration objects type
+
+
+
+
+ Registers instance of singleton object for use in NLog
+
+ Type of service/interface to register
+ Instance of service
+
+
+
+ Gets the service object of the specified type.
+
+ Avoid calling this while handling a LogEvent, since random deadlocks can occur.
+
+
+
+ Registers singleton-object as implementation of specific interface.
+
+
+ If the same single-object implements multiple interfaces then it must be registered for each interface
+
+ Type of interface
+ The repo
+ Singleton object to use for override
+
+
+
+ Registers the string serializer to use with
+
+
+
+
+ Repository of interfaces used by NLog to allow override for dependency injection
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Registered service type in the service repository
+
+
+
+
+ Initializes a new instance of the class.
+
+ Type of service that have been registered
+
+
+
+ Type of service-interface that has been registered
+
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Provides simple programmatic configuration API used for trivial logging cases.
+
+ Warning, these methods will overwrite the current config.
+
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Configures NLog for console logging so that all messages above and including
+ the level are output to the console.
+
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Configures NLog for console logging so that all messages above and including
+ the specified level are output to the console.
+
+ The minimal logging level.
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Configures NLog for to log to the specified target so that all messages
+ above and including the level are output.
+
+ The target to log all messages to.
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Configures NLog for to log to the specified target so that all messages
+ above and including the specified level are output.
+
+ The target to log all messages to.
+ The minimal logging level.
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Configures NLog for file logging so that all messages above and including
+ the level are written to the specified file.
+
+ Log file name.
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Configures NLog for file logging so that all messages above and including
+ the specified level are written to the specified file.
+
+ Log file name.
+ The minimal logging level.
+
+
+
+ Value indicating how stack trace should be captured when processing the log event.
+
+
+
+
+ No Stack trace needs to be captured.
+
+
+
+
+ Stack trace should be captured. This option won't add the filenames and linenumbers
+
+
+
+
+ Capture also filenames and linenumbers
+
+
+
+
+ Capture the location of the call
+
+
+
+
+ Capture the class name for location of the call
+
+
+
+
+ Stack trace should be captured. This option won't add the filenames and linenumbers.
+
+
+
+
+ Stack trace should be captured including filenames and linenumbers.
+
+
+
+
+ Capture maximum amount of the stack trace information supported on the platform.
+
+
+
+
+ Marks the layout or layout renderer as thread independent - it producing correct results
+ regardless of the thread it's running on.
+
+ Without this attribute everything is rendered on the main thread.
+
+
+ If this attribute is set on a layout, it could be rendered on the another thread.
+ This could be more efficient as it's skipped when not needed.
+
+ If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied.
+
+ See the AsyncTargetWrapper and BufferTargetWrapper with the , using
+
+ Apply this attribute when:
+ - The result can we rendered in another thread. Delaying this could be more efficient. And/Or,
+ - The result should not be precalculated, for example the target sends some extra context information.
+
+
+
+
+ Marks the layout or layout renderer as thread independent - it producing correct results
+ regardless of the thread it's running on.
+
+ Layout or layout-renderer depends on or ,
+ and requires that LogEvent-state is recognized as immutable.
+
+
+ Must be used in combination with , else it will have no effect
+
+
+
+
+ Marks the layout or layout renderer as thread safe - it producing correct results
+ regardless of the number of threads it's running on.
+
+ Without this attribute then the target concurrency will be reduced
+
+
+
+
+ Loads NLog LoggingConfiguration from xml-file
+
+
+ Make sure to update official NLog.xsd schema, when adding new config-options outside targets/layouts
+
+
+
+
+ Initializes a new instance of the class.
+
+ Path to the config-file to read.
+
+
+
+ Initializes a new instance of the class.
+
+ Path to the config-file to read.
+ The to which to apply any applicable configuration values.
+
+
+
+ Initializes a new instance of the class.
+
+ Configuration file to be read.
+
+
+
+ Initializes a new instance of the class.
+
+ Configuration file to be read.
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+
+
+
+ Initializes a new instance of the class.
+
+ Configuration file to be read.
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The to which to apply any applicable configuration values.
+
+
+
+ Initializes a new instance of the class.
+
+ XML reader to read from.
+
+
+
+ Initializes a new instance of the class.
+
+ XmlReader containing the configuration section.
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+
+
+
+ Initializes a new instance of the class.
+
+ XmlReader containing the configuration section.
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The to which to apply any applicable configuration values.
+
+
+
+ Initializes a new instance of the class.
+
+ NLog configuration as XML string.
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The to which to apply any applicable configuration values.
+
+
+
+ Parse XML string as NLog configuration
+
+ NLog configuration in XML to be parsed
+
+
+
+ Parse XML string as NLog configuration
+
+ NLog configuration in XML to be parsed
+ NLog LogFactory
+
+
+
+ Gets or sets a value indicating whether any of the configuration files
+ should be watched for changes and reloaded automatically when changed.
+
+
+
+
+ Gets the collection of file names which should be watched for changes by NLog.
+ This is the list of configuration files processed.
+ If the autoReload attribute is not set it returns empty collection.
+
+
+
+
+
+
+
+ Loads the NLog LoggingConfiguration from its original configuration file and returns the new object.
+
+ The newly loaded instance.
+ Must assign the returned object to LogManager.Configuration to activate it
+
+
+
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Get file paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Overwrite the paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Clear the candidate file paths and return to the defaults.
+
+
+
+
+ Include new file into the configuration. Check if not already included.
+
+
+
+
+ Parse the root
+
+
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The default value for the autoReload option.
+
+
+
+ Parse {configuration} xml element.
+
+
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The default value for the autoReload option.
+
+
+
+ Parse {NLog} xml element.
+
+
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The default value for the autoReload option.
+
+
+
+ Parses a single config section within the NLog-config
+
+
+ Section was recognized
+
+
+
+ Include (multiple) files by filemask, e.g. *.nlog
+
+ base directory in case if is relative
+ relative or absolute fileMask
+
+
+
+
+
+
+
+ Represents simple XML element with case-insensitive attribute semantics.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The reader to initialize element from.
+
+
+
+ Gets the element name.
+
+
+
+
+ Gets the dictionary of attribute values.
+
+
+
+
+ Gets the collection of child elements.
+
+
+
+
+ Gets the value of the element.
+
+
+
+
+ Asserts that the name of the element is among specified element names.
+
+ The allowed names.
+
+
+
+ Special attribute we could ignore
+
+
+
+
+ Gets the element name.
+
+
+
+
+ Gets the value of the element.
+
+
+
+
+ Gets the dictionary of attribute values.
+
+
+
+
+ Gets the collection of child elements.
+
+
+
+
+ Special attribute we could ignore
+
+
+
+
+ Exception thrown during XML parsing
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
+
+
+ Matches when the specified condition is met.
+
+
+ Conditions are expressed using a simple language.
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the condition expression.
+
+
+
+
+
+
+
+
+ An abstract filter class. Provides a way to eliminate log messages
+ based on properties other than logger name and log level.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the action to be taken when filter matches.
+
+
+
+
+
+ Gets the result of evaluating filter against given log event.
+
+ The log event.
+ Filter result.
+
+
+
+ Checks whether log event should be logged or not.
+
+ Log event.
+
+ - if the log event should be ignored
+ - if the filter doesn't want to decide
+ - if the log event should be logged
+ .
+
+
+
+ Marks class as a layout renderer and assigns a name to it.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the filter.
+
+
+
+ Filter result.
+
+
+
+
+ The filter doesn't want to decide whether to log or discard the message.
+
+
+
+
+ The message should be logged.
+
+
+
+
+ The message should not be logged.
+
+
+
+
+ The message should be logged and processing should be finished.
+
+
+
+
+ The message should not be logged and processing should be finished.
+
+
+
+
+ A base class for filters that are based on comparing a value to a layout.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the layout to be used to filter log messages.
+
+ The layout.
+
+
+
+
+ Matches when the calculated layout contains the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+ Gets or sets the substring to be matched.
+
+
+
+
+
+
+
+
+ Matches when the calculated layout is equal to the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+ Gets or sets a string to compare the layout to.
+
+
+
+
+
+
+
+
+ Matches the provided filter-method
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+
+
+
+ Matches when the calculated layout does NOT contain the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Gets or sets the substring to be matched.
+
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+
+
+
+ Matches when the calculated layout is NOT equal to the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets a string to compare the layout to.
+
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+
+
+
+ Matches when the result of the calculated layout has been repeated a moment ago
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ How long before a filter expires, and logging is accepted again
+
+
+
+
+
+ Max length of filter values, will truncate if above limit
+
+
+
+
+
+ Applies the configured action to the initial logevent that starts the timeout period.
+ Used to configure that it should ignore all events until timeout.
+
+
+
+
+
+ Max number of unique filter values to expect simultaneously
+
+
+
+
+
+ Default number of unique filter values to expect, will automatically increase if needed
+
+
+
+
+
+ Insert FilterCount value into when an event is no longer filtered
+
+
+
+
+
+ Append FilterCount to the when an event is no longer filtered
+
+
+
+
+
+ Reuse internal buffers, and doesn't have to constantly allocate new buffers
+
+
+
+
+
+ Default buffer size for the internal buffers
+
+
+
+
+
+ Checks whether log event should be logged or not. In case the LogEvent has just been repeated.
+
+ Log event.
+
+ - if the log event should be ignored
+ - if the filter doesn't want to decide
+ - if the log event should be logged
+ .
+
+
+
+ Uses object pooling, and prunes stale filter items when the pool runs dry
+
+
+
+
+ Remove stale filter-value from the cache, and fill them into the pool for reuse
+
+
+
+
+ Renders the Log Event into a filter value, that is used for checking if just repeated
+
+
+
+
+ Repeated LogEvent detected. Checks if it should activate filter-action
+
+
+
+
+ Filter Value State (mutable)
+
+
+
+
+ Filter Lookup Key (immutable)
+
+
+
+
+ Global Diagnostics Context - a dictionary structure to hold per-application-instance values.
+
+
+
+
+ Sets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+ Item value.
+
+
+
+ Sets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+ Item value.
+
+
+
+ Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+ The value of , if defined; otherwise .
+ If the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+ to use when converting the item's value to a string.
+ The value of as a string, if defined; otherwise .
+ If is null and the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+ The item value, if defined; otherwise null.
+
+
+
+ Gets all key-names from Global Diagnostics Context (GDC) dictionary
+
+ A collection of the names of all items in the Global Diagnostics Context.
+
+
+
+ Determines whether the Global Diagnostics Context (GDC) dictionary contains the specified key.
+
+ Item name.
+ A boolean indicating whether the specified item exists in current thread GDC.
+
+
+
+ Removes the value with the specified key from the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+
+
+
+ Clears the content of the Global Diagnostics Context (GDC) dictionary.
+
+
Interface for serialization of object values into JSON format
@@ -1435,14 +5500,6 @@
A function returning message to be written. Function is not evaluated if logging is not enabled.
-
-
- Obsolete and replaced by - Writes the diagnostic message and exception at the Trace level.
-
- A to be written.
- An exception to be logged.
- This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release.
-
Writes the diagnostic message and exception at the Trace level.
@@ -1559,6 +5616,14 @@
The second argument to format.
The third argument to format.
+
+
+ Obsolete and replaced by - Writes the diagnostic message and exception at the Trace level.
+
+ A to be written.
+ An exception to be logged.
+ This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release.
+
Writes the diagnostic message at the Debug level using the specified format provider and format parameters.
@@ -2303,11 +6368,11 @@
Auto-generated Logger members for binary compatibility with NLog 1.0.
-
- Obsolete and replaced by with NLog v5.3.
+
+ Obsolete and replaced by with NLog v5.3.
- Logger with only generic methods (passing 'LogLevel' to methods) and core properties.
-
+ Logger with only generic methods (passing 'LogLevel' to methods) and core properties.
+
@@ -2528,7 +6593,7 @@
The log level.
A containing one format item.
- The argument to format.
+ The argument to format.
@@ -2537,7 +6602,7 @@
The log level.
An IFormatProvider that supplies culture-specific formatting information.
A containing one format item.
- The argument to format.
+ The argument to format.
@@ -2758,5164 +6823,6 @@
An exception to be logged.
This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release.
-
-
- Obsolete and replaced by with NLog v5.3.
-
- Provides an interface to execute System.Actions without surfacing any exceptions raised for that action.
-
-
-
-
- Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
-
- Action to execute.
-
-
-
- Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
- The exception is not propagated outside of this method; a default value is returned instead.
-
- Return type of the provided function.
- Function to run.
- Result returned by the provided function or the default value of type in case of exception.
-
-
-
- Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
- The exception is not propagated outside of this method; a fallback value is returned instead.
-
- Return type of the provided function.
- Function to run.
- Fallback value to return in case of exception.
- Result returned by the provided function or fallback value in case of exception.
-
-
-
- Logs an exception is logged at Error level if the provided task does not run to completion.
-
- The task for which to log an error if it does not run to completion.
- This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations.
-
-
-
- Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion.
-
- The task for which to log an error if it does not run to completion.
- A task that completes in the state when completes.
-
-
-
- Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
-
- Async action to execute.
- A task that completes in the state when completes.
-
-
-
- Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
- The exception is not propagated outside of this method; a default value is returned instead.
-
- Return type of the provided function.
- Async function to run.
- A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type .
-
-
-
- Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
- The exception is not propagated outside of this method; a fallback value is returned instead.
-
- Return type of the provided function.
- Async function to run.
- Fallback value to return if the task does not end in the state.
- A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value.
-
-
-
- Render a message template property to a string
-
-
-
-
- Serialization of an object, e.g. JSON and append to
-
- The object to serialize to string.
- Parameter Format
- Parameter CaptureType
- An object that supplies culture-specific formatting information.
- Output destination.
- Serialize succeeded (true/false)
-
-
-
- Support implementation of
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Mark a parameter of a method for message templating
-
-
-
-
- Specifies which parameter of an annotated method should be treated as message-template-string
-
-
-
-
- The name of the parameter that should be as treated as message-template-string
-
-
-
-
- Asynchronous continuation delegate - function invoked at the end of asynchronous
- processing.
-
- Exception during asynchronous processing or null if no exception
- was thrown.
-
-
-
- Helpers for asynchronous operations.
-
-
-
-
- Iterates over all items in the given collection and runs the specified action
- in sequence (each action executes only after the preceding one has completed without an error).
-
- Type of each item.
- The items to iterate.
- The asynchronous continuation to invoke once all items
- have been iterated.
- The action to invoke for each item.
-
-
-
- Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end.
-
- The repeat count.
- The asynchronous continuation to invoke at the end.
- The action to invoke.
-
-
-
- Modifies the continuation by pre-pending given action to execute just before it.
-
- The async continuation.
- The action to pre-pend.
- Continuation which will execute the given action before forwarding to the actual continuation.
-
-
-
- Attaches a timeout to a continuation which will invoke the continuation when the specified
- timeout has elapsed.
-
- The asynchronous continuation.
- The timeout.
- Wrapped continuation.
-
-
-
- Iterates over all items in the given collection and runs the specified action
- in parallel (each action executes on a thread from thread pool).
-
- Type of each item.
- The items to iterate.
- The asynchronous continuation to invoke once all items
- have been iterated.
- The action to invoke for each item.
-
-
-
- Runs the specified asynchronous action synchronously (blocks until the continuation has
- been invoked).
-
- The action.
-
- Using this method is not recommended because it will block the calling thread.
-
-
-
-
- Wraps the continuation with a guard which will only make sure that the continuation function
- is invoked only once.
-
- The asynchronous continuation.
- Wrapped asynchronous continuation.
-
-
-
- Gets the combined exception from all exceptions in the list.
-
- The exceptions.
- Combined exception or null if no exception was thrown.
-
-
-
- Disposes the Timer, and waits for it to leave the Timer-callback-method
-
- The Timer object to dispose
- Timeout to wait (TimeSpan.Zero means dispose without waiting)
- Timer disposed within timeout (true/false)
-
-
-
- Asynchronous action.
-
- Continuation to be invoked at the end of action.
-
-
-
- Asynchronous action with one argument.
-
- Type of the argument.
- Argument to the action.
- Continuation to be invoked at the end of action.
-
-
-
- Represents the logging event with asynchronous continuation.
-
-
-
-
- Initializes a new instance of the struct.
-
- The log event.
- The continuation.
-
-
-
- Gets the log event.
-
-
-
-
- Gets the continuation.
-
-
-
-
- Implements the operator ==.
-
- The event info1.
- The event info2.
- The result of the operator.
-
-
-
- Implements the operator ==.
-
- The event info1.
- The event info2.
- The result of the operator.
-
-
-
-
-
-
-
-
-
-
-
-
- String Conversion Helpers
-
-
-
-
- Converts input string value into . Parsing is case-insensitive.
-
- Input value
- Output value
- Default value
- Returns false if the input value could not be parsed
-
-
-
- Converts input string value into . Parsing is case-insensitive.
-
- Input value
- The type of the enum
- Output value. Null if parse failed
-
-
-
- Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded.
-
- The enumeration type to which to convert value.
- The string representation of the enumeration name or underlying value to convert.
- true to ignore case; false to consider case.
- When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized.
- true if the value parameter was converted successfully; otherwise, false.
- Wrapper because Enum.TryParse is not present in .net 3.5
-
-
-
- Enum.TryParse implementation for .net 3.5
-
-
- Don't uses reflection
-
-
-
- Enables to extract extra context details for
-
-
-
-
- Name of context
-
-
-
-
- The current LogFactory next to LogManager
-
-
-
-
- Handle Internal LogEvent written to the InternalLogger
-
-
- Never use/call NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
-
-
-
-
- Internal LogEvent details from
-
-
-
-
- The rendered message
-
-
-
-
- The log level
-
-
-
-
- The exception. Could be null.
-
-
-
-
- The type that triggered this internal log event, for example the FileTarget.
- This property is not always populated.
-
-
-
-
- The context name that triggered this internal log event, for example the name of the Target.
- This property is not always populated.
-
-
-
-
- NLog internal logger.
-
- Writes to file, console or custom text writer (see )
-
-
- Don't use as that can lead to recursive calls - stackoverflow
-
-
-
-
- Gets a value indicating whether internal log includes Trace messages.
-
-
-
-
- Gets a value indicating whether internal log includes Debug messages.
-
-
-
-
- Gets a value indicating whether internal log includes Info messages.
-
-
-
-
- Gets a value indicating whether internal log includes Warn messages.
-
-
-
-
- Gets a value indicating whether internal log includes Error messages.
-
-
-
-
- Gets a value indicating whether internal log includes Fatal messages.
-
-
-
-
- Logs the specified message without an at the Trace level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Trace level.
- will be only called when logging is enabled for level Trace.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Trace level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Trace level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Trace level.
- will be only called when logging is enabled for level Trace.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Logs the specified message without an at the Debug level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Debug level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Debug level.
- will be only called when logging is enabled for level Debug.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Debug level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Debug level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Debug level.
- will be only called when logging is enabled for level Debug.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Logs the specified message without an at the Info level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Info level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Info level.
- will be only called when logging is enabled for level Info.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Info level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Info level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Info level.
- will be only called when logging is enabled for level Info.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Logs the specified message without an at the Warn level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Warn level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Warn level.
- will be only called when logging is enabled for level Warn.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Warn level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Warn level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Warn level.
- will be only called when logging is enabled for level Warn.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Logs the specified message without an at the Error level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Error level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Error level.
- will be only called when logging is enabled for level Error.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Error level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Error level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Error level.
- will be only called when logging is enabled for level Error.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Logs the specified message without an at the Fatal level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Fatal level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Fatal level.
- will be only called when logging is enabled for level Fatal.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Fatal level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Fatal level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Fatal level.
- will be only called when logging is enabled for level Fatal.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Set the config of the InternalLogger with defaults and config.
-
-
-
-
- Gets or sets the minimal internal log level.
-
- If set to , then messages of the levels , and will be written.
-
-
-
- Gets or sets a value indicating whether internal messages should be written to the console output stream.
-
- Your application must be a console application.
-
-
-
- Gets or sets a value indicating whether internal messages should be written to the console error stream.
-
- Your application must be a console application.
-
-
-
- Obsolete and replaced by with NLog v5.3.
- Gets or sets a value indicating whether internal messages should be written to the .Trace
-
-
-
-
- Gets or sets the file path of the internal log file.
-
- A value of value disables internal logging to a file.
-
-
-
- Gets or sets the text writer that will receive internal logs.
-
-
-
-
- Obsolete and replaced by with NLog 5.3.
- Event written to the internal log.
-
-
- EventHandler will only be triggered for events, where severity matches the configured .
-
- Avoid using/calling NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
-
-
-
-
- Internal LogEvent written to the InternalLogger
-
-
- EventHandler will only be triggered for events, where severity matches the configured .
-
- Never use/call NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
-
-
-
-
- Gets or sets a value indicating whether timestamp should be included in internal log output.
-
-
-
-
- Is there an thrown when writing the message?
-
-
-
-
- Logs the specified message without an at the specified level.
-
- Log level.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the specified level.
-
- Log level.
- Log message.
-
-
-
- Logs the specified message without an at the specified level.
- will be only called when logging is enabled for level .
-
- Log level.
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the specified level.
- will be only called when logging is enabled for level .
-
- Exception to be logged.
- Log level.
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the specified level.
-
- Exception to be logged.
- Log level.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message with an at the specified level.
-
- Exception to be logged.
- Log level.
- Log message.
-
-
-
- Write to internallogger.
-
- optional exception to be logged.
- level
- message
- optional args for
-
-
-
- Create log line with timestamp, exception message etc (if configured)
-
-
-
-
- Determine if logging should be avoided because of exception type.
-
- The exception to check.
- true if logging should be avoided; otherwise, false.
-
-
-
- Determine if logging is enabled for given LogLevel
-
- The for the log event.
- true if logging is enabled; otherwise, false.
-
-
-
- Determine if logging is enabled.
-
- true if logging is enabled; otherwise, false.
-
-
-
- Logs the assembly version and file version of the given Assembly.
-
- The assembly to log.
-
-
-
- A message has been written to the internal logger
-
-
-
-
- The rendered message
-
-
-
-
- The log level
-
-
-
-
- The exception. Could be null.
-
-
-
-
- The type that triggered this internal log event, for example the FileTarget.
- This property is not always populated.
-
-
-
-
- The context name that triggered this internal log event, for example the name of the Target.
- This property is not always populated.
-
-
-
-
- A cyclic buffer of object.
-
-
-
-
- Initializes a new instance of the class.
-
- Buffer size.
- Whether buffer should grow as it becomes full.
- The maximum number of items that the buffer can grow to.
-
-
-
- Gets the capacity of the buffer
-
-
-
-
- Gets the number of items in the buffer
-
-
-
-
- Adds the specified log event to the buffer.
-
- Log event.
- The number of items in the buffer.
-
-
-
- Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation.
-
- Events in the buffer.
-
-
-
- Marks class as a log event Condition and assigns a name to it.
-
-
-
-
- Initializes a new instance of the class.
-
- Condition method name.
-
-
-
- Marks the class as containing condition methods.
-
-
-
-
- A bunch of utility methods (mostly predicates) which can be used in
- condition expressions. Partially inspired by XPath 1.0.
-
-
-
-
- Compares two values for equality.
-
- The first value.
- The second value.
- true when two objects are equal, false otherwise.
-
-
-
- Compares two strings for equality.
-
- The first string.
- The second string.
- Optional. If true, case is ignored; if false (default), case is significant.
- true when two strings are equal, false otherwise.
-
-
-
- Gets or sets a value indicating whether the second string is a substring of the first one.
-
- The first string.
- The second string.
- Optional. If true (default), case is ignored; if false, case is significant.
- true when the second string is a substring of the first string, false otherwise.
-
-
-
- Gets or sets a value indicating whether the second string is a prefix of the first one.
-
- The first string.
- The second string.
- Optional. If true (default), case is ignored; if false, case is significant.
- true when the second string is a prefix of the first string, false otherwise.
-
-
-
- Gets or sets a value indicating whether the second string is a suffix of the first one.
-
- The first string.
- The second string.
- Optional. If true (default), case is ignored; if false, case is significant.
- true when the second string is a prefix of the first string, false otherwise.
-
-
-
- Returns the length of a string.
-
- A string whose lengths is to be evaluated.
- The length of the string.
-
-
-
- Indicates whether the specified regular expression finds a match in the specified input string.
-
- The string to search for a match.
- The regular expression pattern to match.
- A string consisting of the desired options for the test. The possible values are those of the separated by commas.
- true if the regular expression finds a match; otherwise, false.
-
-
-
-
-
-
-
-
-
-
- Relational operators used in conditions.
-
-
-
-
- Equality (==).
-
-
-
-
- Inequality (!=).
-
-
-
-
- Less than (<).
-
-
-
-
- Greater than (>).
-
-
-
-
- Less than or equal (<=).
-
-
-
-
- Greater than or equal (>=).
-
-
-
-
- Exception during evaluation of condition expression.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The message.
-
-
-
- Initializes a new instance of the class.
-
- The message.
- The inner exception.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
-
- The parameter is null.
-
-
- The class name is null or is zero (0).
-
-
-
-
- Exception during parsing of condition expression.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The message.
-
-
-
- Initializes a new instance of the class.
-
- The message.
- The inner exception.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
-
- The parameter is null.
-
-
- The class name is null or is zero (0).
-
-
-
-
- Condition and expression.
-
-
-
-
- Initializes a new instance of the class.
-
- Left hand side of the AND expression.
- Right hand side of the AND expression.
-
-
-
- Gets the left hand side of the AND expression.
-
-
-
-
- Gets the right hand side of the AND expression.
-
-
-
-
- Returns a string representation of this expression.
-
- A concatenated '(Left) and (Right)' string.
-
-
-
- Evaluates the expression by evaluating and recursively.
-
- Evaluation context.
- The value of the conjunction operator.
-
-
-
- Condition message expression (represented by the exception keyword).
-
-
-
-
-
-
-
- Evaluates the current .
-
- Evaluation context.
- The object.
-
-
-
- Base class for representing nodes in condition expression trees.
-
- Documentation on NLog Wiki
-
-
-
- Converts condition text to a condition expression tree.
-
- Condition text to be converted.
- Condition expression tree.
-
-
-
- Evaluates the expression.
-
- Evaluation context.
- Expression result.
-
-
-
- Returns a string representation of the expression.
-
-
-
-
- Evaluates the expression.
-
- Evaluation context.
- Expression result.
-
-
-
- Condition layout expression (represented by a string literal
- with embedded ${}).
-
-
-
-
- Initializes a new instance of the class.
-
- The layout.
-
-
-
- Gets the layout.
-
- The layout.
-
-
-
-
-
-
- Evaluates the expression by rendering the formatted output from
- the
-
- Evaluation context.
- The output rendered from the layout.
-
-
-
- Condition level expression (represented by the level keyword).
-
-
-
-
-
-
-
- Evaluates to the current log level.
-
- Evaluation context.
- The object representing current log level.
-
-
-
- Condition literal expression (numeric, LogLevel.XXX, true or false).
-
-
-
-
- Initializes a new instance of the class.
-
- Literal value.
-
-
-
- Gets the literal value.
-
- The literal value.
-
-
-
-
-
-
- Evaluates the expression.
-
- Evaluation context. Ignored.
- The literal value as passed in the constructor.
-
-
-
- Condition logger name expression (represented by the logger keyword).
-
-
-
-
-
-
-
- Evaluates to the logger name.
-
- Evaluation context.
- The logger name.
-
-
-
- Condition message expression (represented by the message keyword).
-
-
-
-
-
-
-
- Evaluates to the logger message.
-
- Evaluation context.
- The logger message.
-
-
-
- Gets the method parameters
-
-
-
-
-
-
-
-
-
-
- Condition not expression.
-
-
-
-
- Initializes a new instance of the class.
-
- The expression.
-
-
-
- Gets the expression to be negated.
-
- The expression.
-
-
-
-
-
-
-
-
-
- Condition or expression.
-
-
-
-
- Initializes a new instance of the class.
-
- Left hand side of the OR expression.
- Right hand side of the OR expression.
-
-
-
- Gets the left expression.
-
- The left expression.
-
-
-
- Gets the right expression.
-
- The right expression.
-
-
-
-
-
-
- Evaluates the expression by evaluating and recursively.
-
- Evaluation context.
- The value of the alternative operator.
-
-
-
- Condition relational (==, !=, <, <=,
- > or >=) expression.
-
-
-
-
- Initializes a new instance of the class.
-
- The left expression.
- The right expression.
- The relational operator.
-
-
-
- Gets the left expression.
-
- The left expression.
-
-
-
- Gets the right expression.
-
- The right expression.
-
-
-
- Gets the relational operator.
-
- The operator.
-
-
-
-
-
-
-
-
-
- Compares the specified values using specified relational operator.
-
- The first value.
- The second value.
- The relational operator.
- Result of the given relational operator.
-
-
-
- Promote values to the type needed for the comparison, e.g. parse a string to int.
-
-
-
-
-
-
- Promotes to type
-
-
-
- success?
-
-
-
- Try to promote both values. First try to promote to ,
- when failed, try to .
-
-
-
-
-
- Get the order for the type for comparison.
-
-
- index, 0 to max int. Lower is first
-
-
-
- Dictionary from type to index. Lower index should be tested first.
-
-
-
-
- Build the dictionary needed for the order of the types.
-
-
-
-
-
- Get the string representing the current
-
-
-
-
-
- Condition parser. Turns a string representation of condition expression
- into an expression tree.
-
-
-
-
- Initializes a new instance of the class.
-
- The string reader.
- Instance of used to resolve references to condition methods and layout renderers.
-
-
-
- Parses the specified condition string and turns it into
- tree.
-
- The expression to be parsed.
- The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
-
-
-
- Parses the specified condition string and turns it into
- tree.
-
- The expression to be parsed.
- Instance of used to resolve references to condition methods and layout renderers.
- The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
-
-
-
- Parses the specified condition string and turns it into
- tree.
-
- The string reader.
- Instance of used to resolve references to condition methods and layout renderers.
-
- The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
-
-
-
-
- Try stringed keyword to
-
-
-
- success?
-
-
-
- Parse number
-
- negative number? minus should be parsed first.
-
-
-
-
- Hand-written tokenizer for conditions.
-
-
-
-
- Initializes a new instance of the class.
-
- The string reader.
-
-
-
- Asserts current token type and advances to the next token.
-
- Expected token type.
- If token type doesn't match, an exception is thrown.
-
-
-
- Asserts that current token is a keyword and returns its value and advances to the next token.
-
- Keyword value.
-
-
-
- Gets or sets a value indicating whether current keyword is equal to the specified value.
-
- The keyword.
-
- A value of true if current keyword is equal to the specified value; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the tokenizer has reached the end of the token stream.
-
-
- A value of true if the tokenizer has reached the end of the token stream; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether current token is a number.
-
-
- A value of true if current token is a number; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the specified token is of specified type.
-
- The token type.
-
- A value of true if current token is of specified type; otherwise, false.
-
-
-
-
- Gets the next token and sets and properties.
-
-
-
-
- Try the comparison tokens (greater, smaller, greater-equals, smaller-equals)
-
- current char
- is match
-
-
-
- Try the logical tokens (and, or, not, equals)
-
- current char
- is match
-
-
-
- Mapping between characters and token types for punctuations.
-
-
-
-
- Initializes a new instance of the CharToTokenType struct.
-
- The character.
- Type of the token.
-
-
-
- Token types for condition expressions.
-
-
-
-
- Marks the class or a member as advanced. Advanced classes and members are hidden by
- default in generated documentation.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain.
-
-
-
- Implementors must have the [ThreadAgnostic] attribute
-
- A layout(renderer) could be converted to a literal when:
- - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput]
-
- Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout.
-
-
-
-
- Used to mark configurable parameters which are arrays.
- Specifies the mapping between XML elements and .NET types.
-
-
-
-
- Initializes a new instance of the class.
-
- The type of the array item.
- The XML element name that represents the item.
-
-
-
- Gets the .NET type of the array item.
-
-
-
-
- Gets the XML element name.
-
-
-
-
- Load from url
-
- file or path, including .dll
- basepath, optional
-
-
-
-
- Load from url
-
-
-
-
- Provides logging interface and utility functions.
-
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Event notification about trying to load assembly with NLog extensions.
-
-
-
-
- Initializes a new instance of the class.
-
- Assembly that have been loaded
-
-
-
- The assembly that is trying to load.
-
-
-
-
- Represents NLog ConfigSection for loading from app.config / web.config
-
-
- <configSections>
- <section name="NLog" type="NLog.Config.ConfigSectionHandler, NLog" />
- </configSections>
-
-
-
-
- Overriding base implementation to just store
- of the relevant app.config section.
-
- The XmlReader that reads from the configuration file.
- true to serialize only the collection key properties; otherwise, false.
-
-
-
- Override base implementation to return a object
- for
- instead of the instance.
-
-
- A instance, that has been deserialized from app.config.
-
-
-
-
- Obsolete since dynamic tyope loading is not compatible with publish as trimmed application.
- Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type.
-
- Type of the item.
- Created object of the specified type.
-
-
-
- Provides registration information for named items (targets, layouts, layout renderers, etc.)
-
- Supports creating item-instance from their type-alias, when parsing NLog configuration
-
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Called before the assembly with NLog extensions is being loaded.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Initializes a new instance of the class.
-
- The assemblies to scan for named items.
-
-
-
- Gets or sets default singleton instance of .
-
-
- This property implements lazy instantiation so that the is not built before
- the internal logger is configured.
-
-
-
-
- Gets the factory.
-
-
-
-
- Gets the factory.
-
-
-
-
- Gets the factory.
-
-
-
-
- Gets the ambient property factory.
-
-
-
-
- Gets the factory.
-
-
-
-
- Gets the factory.
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets or sets the creator delegate used to instantiate configuration objects.
-
-
- By overriding this property, one can enable dependency injection or interception for created objects.
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the factory.
-
- The target factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the factory.
-
- The layout factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the factory.
-
- The layout renderer factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the ambient property factory.
-
- The ambient property factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the factory.
-
- The filter factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the time source factory.
-
- The time source factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the condition method factory.
-
- The condition method factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets or sets the JSON serializer to use with
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets or sets the string serializer to use with
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets or sets the parameter converter to use with or
-
-
-
-
- Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect)
-
-
- - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering.
- - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with )
- - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging)
-
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Registers named items from the assembly.
-
- The assembly.
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Registers named items from the assembly.
-
- The assembly.
- Item name prefix.
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Call Preload for NLogPackageLoader
-
-
- Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments)
- This method will be called just before registering all items in the assembly.
-
-
-
-
-
- Call the Preload method for . The Preload method must be static.
-
-
-
-
-
- Clears the contents of all factories.
-
-
-
-
- Obsolete since dynamic type loading is not compatible with publish as trimmed application.
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Builds the default configuration item factory.
-
- Default factory.
-
-
-
- Registers items in using late-bound types, so that we don't need a reference to the dll.
-
-
-
-
- Attribute used to mark the default parameters for layout renderers.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Dynamic filtering with a positive list of enabled levels
-
-
-
-
- Dynamic filtering with a minlevel and maxlevel range
-
-
-
-
- Format of the exception output to the specific target.
-
-
-
-
- Appends the Message of an Exception to the specified target.
-
-
-
-
- Appends the type of an Exception to the specified target.
-
-
-
-
- Appends the short type of an Exception to the specified target.
-
-
-
-
- Appends the result of calling ToString() on an Exception to the specified target.
-
-
-
-
- Appends the method name from Exception's stack trace to the specified target.
-
-
-
-
- Appends the stack trace from an Exception to the specified target.
-
-
-
-
- Appends the contents of an Exception's Data property to the specified target.
-
-
-
-
- Destructure the exception (usually into JSON)
-
-
-
-
- Appends the from the application or the object that caused the error.
-
-
-
-
- Appends the from the application or the object that caused the error.
-
-
-
-
- Appends any additional properties that specific type of Exception might have.
-
-
-
-
- Factory for class-based items.
-
- The base type of each item.
- The type of the attribute used to annotate items.
-
-
-
- Scans the assembly.
-
- The types to scan.
- The assembly name for the types.
- The prefix.
-
-
-
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Registers the item based on a type name.
-
- Name of the item.
- Name of the type.
-
-
-
- Clears the contents of the factory.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory specialized for s.
-
-
-
-
-
-
-
- Register a layout renderer with a callback function.
-
- Name of the layoutrenderer, without ${}.
- the renderer that renders the value.
-
-
-
-
-
-
- Factory of named items (such as , , , etc.).
-
-
-
-
- Factory of named items (such as , , , etc.).
-
-
-
-
- Registers type-creation with type-alias
-
-
-
-
- Tries to create an item instance with type-alias
-
- True if instance was created successfully, false otherwise.
-
-
-
- Include context properties
-
-
-
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets whether to include the contents of the properties-dictionary.
-
-
-
-
-
- Gets or sets whether to include the contents of the nested-state-stack.
-
-
-
-
-
- Did the Initialize Succeeded? true= success, false= error, null = initialize not started yet.
-
-
-
-
- Implemented by objects which support installation and uninstallation.
-
-
-
-
- Performs installation which requires administrative permissions.
-
- The installation context.
-
-
-
- Performs uninstallation which requires administrative permissions.
-
- The installation context.
-
-
-
- Determines whether the item is installed.
-
- The installation context.
-
- Value indicating whether the item is installed or null if it is not possible to determine.
-
-
-
-
- Interface for accessing configuration details
-
-
-
-
- Name of this configuration element
-
-
-
-
- Configuration Key/Value Pairs
-
-
-
-
- Child configuration elements
-
-
-
-
- Interface for loading NLog
-
-
-
-
- Finds and loads the NLog configuration
-
- LogFactory that owns the NLog configuration
- Name of NLog.config file (optional)
- NLog configuration (or null if none found)
-
-
-
- Notifies when LoggingConfiguration has been successfully applied
-
- LogFactory that owns the NLog configuration
- NLog Config
-
-
-
- Get file paths (including filename) for the possible NLog config files.
-
- Name of NLog.config file (optional)
- The file paths to the possible config file
-
-
-
- Level enabled flags for each LogLevel ordinal
-
-
-
-
- Converts the filter into a simple
-
-
-
-
- Obsolete since dynamic type loading is not compatible with publish as trimmed application. Replaced by .
- Represents a factory of named items (such as targets, layouts, layout renderers, etc.).
-
- Base type for each item instance.
- Item definition type (typically ).
-
-
-
- Registers new item definition.
-
- Name of the item.
- Item definition.
-
-
-
- Tries to get registered item definition.
-
- Name of the item.
- Reference to a variable which will store the item definition.
- Item definition.
-
-
-
- Creates item instance.
-
- Name of the item.
- Newly created item instance.
-
-
-
- Tries to create an item instance.
-
- Name of the item.
- The result.
- True if instance was created successfully, false otherwise.
-
-
-
- Provides context for install/uninstall operations.
-
-
-
-
- Mapping between log levels and console output colors.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The log output.
-
-
-
- Gets or sets the installation log level.
-
-
-
-
- Gets or sets a value indicating whether to ignore failures during installation.
-
-
-
-
- Whether installation exceptions should be rethrown. If IgnoreFailures is set to true,
- this property has no effect (there are no exceptions to rethrow).
-
-
-
-
- Gets the installation parameters.
-
-
-
-
- Gets or sets the log output.
-
-
-
-
- Logs the specified trace message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified debug message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified informational message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified warning message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified error message.
-
- The message.
- The arguments.
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Creates the log event which can be used to render layouts during install/uninstall.
-
- Log event info object.
-
-
-
- Convert object-value into specified type
-
-
-
-
- Parses the input value and converts into the wanted type
-
- Input Value
- Wanted Type
- Format to use when parsing
- Culture to use when parsing
- Output value with wanted type
-
-
-
- Interface for fluent setup of LogFactory options
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Interface for fluent setup of LoggingRules for LoggingConfiguration
-
-
-
-
- LoggingRule being built
-
-
-
-
- Interface for fluent setup of target for LoggingRule
-
-
-
-
- LoggingConfiguration being built
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Collection of targets that should be written to
-
-
-
-
- Interface for fluent setup of LogFactory options for extension loading
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Interface for fluent setup of LogFactory options for enabling NLog
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Interface for fluent setup of LoggingConfiguration for LogFactory
-
-
-
-
- LogFactory under configuration
-
-
-
-
- LoggingConfiguration being built
-
-
-
-
- Interface for fluent setup of LogFactory options
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Interface for fluent setup of LogFactory options for logevent serialization
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Allows components to request stack trace information to be provided in the .
-
-
-
-
- Gets the level of stack trace information required by the implementing class.
-
-
-
-
- Encapsulates and the logic to match the actual logger name
- All subclasses defines immutable objects.
- Concrete subclasses defines various matching rules through
-
-
-
-
- Creates a concrete based on .
-
-
- Rules used to select the concrete implementation returned:
-
- - if is null => returns (never matches)
- - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals)
- - if == '*' => returns (always matches)
- - if doesn't contain '?'
-
- - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns
- - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns
- - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns
-
-
- - returns
-
-
-
- It may include one or more '*' or '?' wildcards at any position.
-
- - '*' means zero or more occurrences of any character
- - '?' means exactly one occurrence of any character
-
-
- A concrete
-
-
-
- Returns the argument passed to
-
-
-
-
- Checks whether given name matches the logger name pattern.
-
- String to be matched.
- A value of when the name matches, otherwise.
-
-
-
- Defines a that never matches.
- Used when pattern is null
-
-
-
-
- Defines a that always matches.
- Used when pattern is '*'
-
-
-
-
- Defines a that matches with a case-sensitive Equals
- Used when pattern is a string without wildcards '?' '*'
-
-
-
-
- Defines a that matches with a case-sensitive StartsWith
- Used when pattern is a string like "*foobar"
-
-
-
-
- Defines a that matches with a case-sensitive EndsWith
- Used when pattern is a string like "foobar*"
-
-
-
-
- Defines a that matches with a case-sensitive Contains
- Used when pattern is a string like "*foobar*"
-
-
-
-
- Defines a that matches with a complex wildcards combinations:
-
- - '*' means zero or more occurrences of any character
- - '?' means exactly one occurrence of any character
-
- used when pattern is a string containing any number of '?' or '*' in any position
- i.e. "*Server[*].Connection[?]"
-
-
-
-
- Keeps logging configuration and provides simple API to modify it.
-
- This class is thread-safe..ToList() is used for that purpose.
-
-
-
- Gets the factory that will be configured
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the variables defined in the configuration or assigned from API
-
- Name is case insensitive.
-
-
-
- Gets a collection of named targets specified in the configuration.
-
-
- A list of named targets.
-
-
- Unnamed targets (such as those wrapped by other targets) are not returned.
-
-
-
-
- Gets the collection of file names which should be watched for changes by NLog.
-
-
-
-
- Gets the collection of logging rules.
-
-
-
-
- Gets or sets the default culture info to use as .
-
-
- Specific culture info or null to use
-
-
-
-
- Gets all targets.
-
-
-
-
- Inserts NLog Config Variable without overriding NLog Config Variable assigned from API
-
-
-
-
- Lookup NLog Config Variable Layout
-
-
-
-
- Registers the specified target object. The name of the target is read from .
-
-
- The target object with a non
-
- when is
-
-
-
- Registers the specified target object under a given name.
-
- Name of the target.
- The target object.
- when is
- when is
-
-
-
- Finds the target with the specified name.
-
-
- The name of the target to be found.
-
-
- Found target or when the target is not found.
-
-
-
-
- Finds the target with the specified name and specified type.
-
-
- The name of the target to be found.
-
- Type of the target
-
- Found target or when the target is not found of not of type
-
-
-
-
- Add a rule with min- and maxLevel.
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Name of the target to be written when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule with min- and maxLevel.
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule with min- and maxLevel.
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
- Gets or sets a value indicating whether to quit processing any further rule when this one matches.
-
-
-
- Add a rule object.
-
- rule object to add
-
-
-
- Add a rule for one loglevel.
-
- log level needed to trigger this rule.
- Name of the target to be written when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for one loglevel.
-
- log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for one loglevel.
-
- log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
- Gets or sets a value indicating whether to quit processing any further rule when this one matches.
-
-
-
- Add a rule for all loglevels.
-
- Name of the target to be written when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for all loglevels.
-
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for all loglevels.
-
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
- Gets or sets a value indicating whether to quit processing any further rule when this one matches.
-
-
-
- Lookup the logging rule with matching
-
- The name of the logging rule to be found.
- Found logging rule or when not found.
-
-
-
- Removes the specified named logging rule with matching
-
- The name of the logging rule to be removed.
- Found one or more logging rule to remove, or when not found.
-
-
-
- Called by LogManager when one of the log configuration files changes.
-
-
- A new instance of that represents the updated configuration.
-
- Must assign the returned object to LogManager.Configuration to activate it
-
-
-
- Allow this new configuration to capture state from the old configuration
-
- Old config that is about to be replaced
- Checks KeepVariablesOnReload and copies all NLog Config Variables assigned from API into the new config
-
-
-
- Removes the specified named target.
-
- Name of the target.
-
-
-
- Installs target-specific objects on current system.
-
- The installation context.
-
- Installation typically runs with administrative permissions.
-
-
-
-
- Uninstalls target-specific objects from current system.
-
- The installation context.
-
- Uninstallation typically runs with administrative permissions.
-
-
-
-
- Closes all targets and releases any unmanaged resources.
-
-
-
-
- Log to the internal (NLog) logger the information about the and associated with this instance.
-
-
- The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is
- recorded.
-
-
-
-
- Validates the configuration.
-
-
-
-
- Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage.
-
-
-
-
-
-
- Checks whether unused targets exist. If found any, just write an internal log at Warn level.
- If initializing not started or failed, then checking process will be canceled
-
-
-
-
- Flushes any pending log messages on all appenders.
-
- Config containing Targets to Flush
- Flush completed notification (success / timeout)
- Optional timeout that guarantees that completed notification is called.
-
-
-
-
- Change this method with NLog v6 to disconnect LogFactory from Targets/Layouts
- - Remove LoggingRule-List-parameter
- - Return ITargetWithFilterChain[]
-
-
-
-
-
-
-
- Arguments for events.
-
-
-
-
- Initializes a new instance of the class.
-
- The new configuration.
- The old configuration.
-
-
-
- Gets the old configuration.
-
- The old configuration.
-
-
-
- Gets the new configuration.
-
-
- New value can be null when unloading configuration during shutdown.
-
- The new configuration.
-
-
-
- Gets the optional boolean attribute value.
-
-
- Name of the attribute.
- Default value to return if the attribute is not found or if there is a parse error
- Boolean attribute value or default.
-
-
-
- Remove the namespace (before :)
-
-
- x:a, will be a
-
-
-
-
-
-
- Enables loading of NLog configuration from a file
-
-
-
-
- Get default file paths (including filename) for possible NLog config files.
-
-
-
-
- Get default file paths (including filename) for possible NLog config files.
-
-
-
-
- Loads NLog configuration from
-
-
-
-
- Constructor
-
-
-
-
-
- Loads NLog configuration from provided config section
-
-
- Directory where the NLog-config-file was loaded from
-
-
-
- Builds list with unique keys, using last value of duplicates. High priority keys placed first.
-
-
-
-
-
-
- Parse loglevel, but don't throw if exception throwing is disabled
-
- Name of attribute for logging.
- Value of parse.
- Used if there is an exception
-
-
-
-
- Parses a single config section within the NLog-config
-
-
- Section was recognized
-
-
-
- Parse {Rules} xml element
-
-
- Rules are added to this parameter.
-
-
-
- Parse {Logger} xml element
-
-
-
-
-
- Parse boolean
-
- Name of the property for logging.
- value to parse
- Default value to return if the parse failed
- Boolean attribute value or default.
-
-
-
- Config element that's validated and having extra context
-
-
-
-
- Explicit cast because NET35 doesn't support covariance.
-
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
-
-
-
- Initializes a new instance of the class.
-
- Whether configuration reload has succeeded.
-
-
-
- Initializes a new instance of the class.
-
- Whether configuration reload has succeeded.
- The exception during configuration reload.
-
-
-
- Gets a value indicating whether configuration reload has succeeded.
-
- A value of true if succeeded; otherwise, false.
-
-
-
- Gets the exception which occurred during configuration reload.
-
- The exception.
-
-
-
- Enables FileWatcher for the currently loaded NLog Configuration File,
- and supports automatic reload on file modification.
-
-
-
-
- Represents a logging rule. An equivalent of <logger /> configuration element.
-
-
-
-
- Create an empty .
-
-
-
-
- Create an empty .
-
-
-
-
- Create a new with a and which writes to .
-
- Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Target to be written to when the rule matches.
-
-
-
- Create a new with a which writes to .
-
- Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
- Minimum log level needed to trigger this rule.
- Target to be written to when the rule matches.
-
-
-
- Create a (disabled) . You should call or to enable logging.
-
- Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
- Target to be written to when the rule matches.
-
-
-
- Rule identifier to allow rule lookup
-
-
-
-
- Gets a collection of targets that should be written to when this rule matches.
-
-
-
-
- Obsolete since too exotic feature with NLog v5.3.
-
- Gets a collection of child rules to be evaluated when this rule matches.
-
-
-
-
- Gets a collection of filters to be checked before writing to targets.
-
-
-
-
- Gets or sets a value indicating whether to quit processing any following rules when this one matches.
-
-
-
-
- Gets or sets the whether to quit processing any following rules when lower severity and this one matches.
-
-
- Loggers matching will be restricted to specified minimum level for following rules.
-
-
-
-
- Gets or sets logger name pattern.
-
-
- Logger name pattern used by to check if a logger name matches this rule.
- It may include one or more '*' or '?' wildcards at any position.
-
- - '*' means zero or more occurrences of any character
- - '?' means exactly one occurrence of any character
-
-
-
-
-
- Gets the collection of log levels enabled by this rule.
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Default action when filters not matching
-
-
- NLog v4.6 introduced the setting with default value .
- NLog v5 marked it as obsolete and change default value to
-
-
-
-
- Default action if none of the filters match
-
-
- NLog v5 changed default value to
-
-
-
-
- Enables logging for a particular level.
-
- Level to be enabled.
-
-
-
- Enables logging for a particular levels between (included) and .
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
-
-
-
- Disables logging for a particular level.
-
- Level to be disabled.
-
-
-
- Disables logging for particular levels between (included) and .
-
- Minimum log level to be disables.
- Maximum log level to be disabled.
-
-
-
- Enables logging the levels between (included) and . All the other levels will be disabled.
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
-
-
-
- Returns a string representation of . Used for debugging.
-
-
-
-
- Checks whether the particular log level is enabled for this rule.
-
- Level to be checked.
- A value of when the log level is enabled, otherwise.
-
-
-
- Checks whether given name matches the .
-
- String to be matched.
- A value of when the name matches, otherwise.
-
-
-
- Default filtering with static level config
-
-
-
-
- Factory for locating methods.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Scans the assembly for classes marked with expected class
- and methods marked with expected and adds them
- to the factory.
-
- The types to scan.
- The assembly name for the type.
- The item name prefix.
-
-
-
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Scans a type for relevant methods with their symbolic names
-
- Include types that are marked with this attribute
- Include methods that are marked with this attribute
- Class Type to scan
- Collection of methods with their symbolic names
-
-
-
- Clears contents of the factory.
-
-
-
-
- Registers the definition of a single method.
-
- The method name.
- The method info.
-
-
-
- Tries to retrieve method by name.
-
- The method name.
- The result.
- A value of true if the method was found, false otherwise.
-
-
-
- Retrieves method by name.
-
- Method name.
- MethodInfo object.
-
-
-
- Tries to get method definition.
-
- The method name.
- The result.
- A value of true if the method was found, false otherwise.
-
-
-
- Obsolete and replaced by with NLog v5.3.
-
- Marks the layout or layout renderer depends on mutable objects from the LogEvent
-
- This can be or
-
-
-
-
- Attaches a type-alias for an item (such as ,
- , , etc.).
-
-
-
-
- Initializes a new instance of the class.
-
- The type-alias for use in NLog configuration.
-
-
-
- Gets the name of the type-alias
-
-
-
-
- Indicates NLog should not scan this property during configuration.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Marks the object as configuration item for NLog.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Failed to resolve the interface of service type
-
-
-
-
- Typed we tried to resolve
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Default implementation of
-
-
-
-
- Singleton instance of the serializer.
-
-
-
-
-
-
-
- Attribute used to mark the required parameters for targets,
- layout targets and filters.
-
-
-
-
- Interface to register available configuration objects type
-
-
-
-
- Registers instance of singleton object for use in NLog
-
- Type of service/interface to register
- Instance of service
-
-
-
- Gets the service object of the specified type.
-
- Avoid calling this while handling a LogEvent, since random deadlocks can occur.
-
-
-
- Registers singleton-object as implementation of specific interface.
-
-
- If the same single-object implements multiple interfaces then it must be registered for each interface
-
- Type of interface
- The repo
- Singleton object to use for override
-
-
-
- Registers the string serializer to use with
-
-
-
-
- Repository of interfaces used by NLog to allow override for dependency injection
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Registered service type in the service repository
-
-
-
-
- Initializes a new instance of the class.
-
- Type of service that have been registered
-
-
-
- Type of service-interface that has been registered
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Provides simple programmatic configuration API used for trivial logging cases.
-
- Warning, these methods will overwrite the current config.
-
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Configures NLog for console logging so that all messages above and including
- the level are output to the console.
-
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Configures NLog for console logging so that all messages above and including
- the specified level are output to the console.
-
- The minimal logging level.
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Configures NLog for to log to the specified target so that all messages
- above and including the level are output.
-
- The target to log all messages to.
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Configures NLog for to log to the specified target so that all messages
- above and including the specified level are output.
-
- The target to log all messages to.
- The minimal logging level.
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Configures NLog for file logging so that all messages above and including
- the level are written to the specified file.
-
- Log file name.
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Configures NLog for file logging so that all messages above and including
- the specified level are written to the specified file.
-
- Log file name.
- The minimal logging level.
-
-
-
- Value indicating how stack trace should be captured when processing the log event.
-
-
-
-
- No Stack trace needs to be captured.
-
-
-
-
- Stack trace should be captured. This option won't add the filenames and linenumbers
-
-
-
-
- Capture also filenames and linenumbers
-
-
-
-
- Capture the location of the call
-
-
-
-
- Capture the class name for location of the call
-
-
-
-
- Stack trace should be captured. This option won't add the filenames and linenumbers.
-
-
-
-
- Stack trace should be captured including filenames and linenumbers.
-
-
-
-
- Capture maximum amount of the stack trace information supported on the platform.
-
-
-
-
- Marks the layout or layout renderer as thread independent - it producing correct results
- regardless of the thread it's running on.
-
- Without this attribute everything is rendered on the main thread.
-
-
- If this attribute is set on a layout, it could be rendered on the another thread.
- This could be more efficient as it's skipped when not needed.
-
- If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied.
-
- See the AsyncTargetWrapper and BufferTargetWrapper with the , using
-
- Apply this attribute when:
- - The result can we rendered in another thread. Delaying this could be more efficient. And/Or,
- - The result should not be precalculated, for example the target sends some extra context information.
-
-
-
-
- Marks the layout or layout renderer as thread independent - it producing correct results
- regardless of the thread it's running on.
-
- Layout or layout-renderer depends on or ,
- and requires that LogEvent-state is recognized as immutable.
-
-
- Must be used in combination with , else it will have no effect
-
-
-
-
- Marks the layout or layout renderer as thread safe - it producing correct results
- regardless of the number of threads it's running on.
-
- Without this attribute then the target concurrency will be reduced
-
-
-
-
- A class for configuring NLog through an XML configuration file
- (App.config style or App.nlog style).
-
- Parsing of the XML file is also implemented in this class.
-
-
- - This class is thread-safe..ToList() is used for that purpose.
- - Update TemplateXSD.xml for changes outside targets
-
-
-
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
-
-
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
- The to which to apply any applicable configuration values.
-
-
-
- Obsolete and replaced by with NLog v4.7.
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
- Ignore any errors during configuration.
-
-
-
- Obsolete and replaced by with NLog v4.7.
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
- Ignore any errors during configuration.
- The to which to apply any applicable configuration values.
-
-
-
- Initializes a new instance of the class.
-
- XML reader to read from.
-
-
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
-
-
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- The to which to apply any applicable configuration values.
-
-
-
- Obsolete and replaced by with NLog v4.7.
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- Ignore any errors during configuration.
-
-
-
- Obsolete and replaced by with NLog v4.7.
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- Ignore any errors during configuration.
- The to which to apply any applicable configuration values.
-
-
-
- Initializes a new instance of the class.
-
- NLog configuration as XML string.
- Name of the XML file.
- The to which to apply any applicable configuration values.
-
-
-
- Parse XML string as NLog configuration
-
- NLog configuration in XML to be parsed
-
-
-
- Parse XML string as NLog configuration
-
- NLog configuration in XML to be parsed
- NLog LogFactory
-
-
-
- Gets the default object by parsing
- the application configuration file (app.exe.config).
-
-
-
-
- Did the Succeeded? true= success, false= error, null = initialize not started yet.
-
-
-
-
- Gets or sets a value indicating whether all of the configuration files
- should be watched for changes and reloaded automatically when changed.
-
-
-
-
- Gets the collection of file names which should be watched for changes by NLog.
- This is the list of configuration files processed.
- If the autoReload attribute is not set it returns empty collection.
-
-
-
-
- Re-reads the original configuration file and returns the new object.
-
- The newly loaded instance.
- Must assign the returned object to LogManager.Configuration to activate it
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Get file paths (including filename) for the possible NLog config files.
-
- The file paths to the possible config file
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Overwrite the paths (including filename) for the possible NLog config files.
-
- The file paths to the possible config file
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Clear the candidate file paths and return to the defaults.
-
-
-
-
- Create XML reader for (xml config) file.
-
- filepath
- reader or null if filename is empty.
-
-
-
- Initializes the configuration.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- Ignore any errors during configuration.
-
-
-
- Add a file with configuration. Check if not already included.
-
-
-
-
-
-
- Parse the root
-
-
- path to config file.
- The default value for the autoReload option.
-
-
-
- Parse {configuration} xml element.
-
-
- path to config file.
- The default value for the autoReload option.
-
-
-
- Parse {NLog} xml element.
-
-
- path to config file.
- The default value for the autoReload option.
-
-
-
- Parses a single config section within the NLog-config
-
-
- Section was recognized
-
-
-
- Include (multiple) files by filemask, e.g. *.nlog
-
- base directory in case if is relative
- relative or absolute fileMask
-
-
-
-
-
-
-
- Represents simple XML element with case-insensitive attribute semantics.
-
-
-
-
- Initializes a new instance of the class.
-
- The reader to initialize element from.
-
-
-
- Gets the element name.
-
-
-
-
- Gets the dictionary of attribute values.
-
-
-
-
- Gets the collection of child elements.
-
-
-
-
- Gets the value of the element.
-
-
-
-
- Returns children elements with the specified element name.
-
- Name of the element.
- Children elements with the specified element name.
-
-
-
- Asserts that the name of the element is among specified element names.
-
- The allowed names.
-
-
-
- Special attribute we could ignore
-
-
-
-
- Global Diagnostics Context - a dictionary structure to hold per-application-instance values.
-
-
-
-
- Sets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
-
- Item name.
- Item value.
-
-
-
- Sets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
-
- Item name.
- Item value.
-
-
-
- Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
-
- Item name.
- The value of , if defined; otherwise .
- If the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
-
- Item name.
- to use when converting the item's value to a string.
- The value of as a string, if defined; otherwise .
- If is null and the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
-
- Item name.
- The item value, if defined; otherwise null.
-
-
-
- Gets all key-names from Global Diagnostics Context (GDC) dictionary
-
- A collection of the names of all items in the Global Diagnostics Context.
-
-
-
- Determines whether the Global Diagnostics Context (GDC) dictionary contains the specified key.
-
- Item name.
- A boolean indicating whether the specified item exists in current thread GDC.
-
-
-
- Removes the value with the specified key from the Global Diagnostics Context (GDC) dictionary
-
- Item name.
-
-
-
- Clears the content of the Global Diagnostics Context (GDC) dictionary.
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Mapped Diagnostics Context (MDC) is a dictionary of keys and values.
- Stores the dictionary in the thread-local static variable, and provides methods to output dictionary values in layouts.
-
-
-
-
- Sets the current thread MDC item to the specified value.
-
- Item name.
- Item value.
- An that can be used to remove the item from the current thread MDC.
-
-
-
- Sets the current thread MDC item to the specified value.
-
- Item name.
- Item value.
- >An that can be used to remove the item from the current thread MDC.
-
-
-
- Sets the current thread MDC item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Sets the current thread MDC item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Gets the current thread MDC named item, as .
-
- Item name.
- The value of , if defined; otherwise .
- If the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the current thread MDC named item, as .
-
- Item name.
- The to use when converting a value to a .
- The value of , if defined; otherwise .
- If is null and the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the current thread MDC named item, as .
-
- Item name.
- The value of , if defined; otherwise null.
-
-
-
- Returns all item names
-
- A set of the names of all items in current thread-MDC.
-
-
-
- Checks whether the specified item exists in current thread MDC.
-
- Item name.
- A boolean indicating whether the specified exists in current thread MDC.
-
-
-
- Removes the specified from current thread MDC.
-
- Item name.
-
-
-
- Clears the content of current thread MDC.
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Mapped Diagnostics Logical Context (MDLC) is a dictionary of keys and values.
- Stores the dictionary in the logical thread callcontext, and provides methods to output dictionary values in layouts.
- Allows for maintaining state across asynchronous tasks and call contexts.
-
-
- Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original
- NLog library so that state can be maintained for multiple threads in asynchronous situations.
-
-
-
-
- Gets the current logical context named item, as .
-
- Item name.
- The value of , if defined; otherwise .
- If the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the current logical context named item, as .
-
- Item name.
- The to use when converting a value to a string.
- The value of , if defined; otherwise .
- If is null and the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the current logical context named item, as .
-
- Item name.
- The value of , if defined; otherwise null.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
- >An that can be used to remove the item from the current logical context.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
- >An that can be used to remove the item from the current logical context.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
- >An that can be used to remove the item from the current logical context.
-
-
-
- Updates the current logical context with multiple items in single operation
-
- .
- >An that can be used to remove the item from the current logical context (null if no items).
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Returns all item names
-
- A collection of the names of all items in current logical context.
-
-
-
- Checks whether the specified exists in current logical context.
-
- Item name.
- A boolean indicating whether the specified exists in current logical context.
-
-
-
- Removes the specified from current logical context.
-
- Item name.
-
-
-
- Clears the content of current logical context.
-
-
-
-
- Clears the content of current logical context.
-
- Free the full slot.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Nested Diagnostics Context (NDC) is a stack of nested values.
- Stores the stack in the thread-local static variable, and provides methods to output the values in layouts.
-
-
-
-
- Gets the top NDC message but doesn't remove it.
-
- The top message. .
-
-
-
- Gets the top NDC object but doesn't remove it.
-
- The object at the top of the NDC stack if defined; otherwise null.
-
-
-
- Pushes the specified text on current thread NDC.
-
- The text to be pushed.
- An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
-
-
-
- Pushes the specified object on current thread NDC.
-
- The object to be pushed.
- An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
-
-
-
- Pops the top message off the NDC stack.
-
- The top message which is no longer on the stack.
-
-
-
- Pops the top message from the NDC stack.
-
- The to use when converting the value to a string.
- The top message, which is removed from the stack, as a string value.
-
-
-
- Pops the top object off the NDC stack.
-
- The object from the top of the NDC stack, if defined; otherwise null.
-
-
-
- Peeks the first object on the NDC stack
-
- The object from the top of the NDC stack, if defined; otherwise null.
-
-
-
- Clears current thread NDC stack.
-
-
-
-
- Gets all messages on the stack.
-
- Array of strings on the stack.
-
-
-
- Gets all messages from the stack, without removing them.
-
- The to use when converting a value to a string.
- Array of strings.
-
-
-
- Gets all objects on the stack.
-
- Array of objects on the stack.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Nested Diagnostics Logical Context (NDLC) is a stack of nested values.
- Stores the stack in the logical thread callcontexte, and provides methods to output the values in layouts.
-
-
-
-
- Pushes the specified value on current stack
-
- The value to be pushed.
- An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
-
-
-
- Pushes the specified value on current stack
-
- The value to be pushed.
- An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
-
-
-
- Pops the top message off the NDLC stack.
-
- The top message which is no longer on the stack.
- this methods returns a object instead of string, this because of backwards-compatibility
-
-
-
- Pops the top message from the NDLC stack.
-
- The to use when converting the value to a string.
- The top message, which is removed from the stack, as a string value.
-
-
-
- Pops the top message off the current NDLC stack
-
- The object from the top of the NDLC stack, if defined; otherwise null.
-
-
-
- Peeks the top object on the current NDLC stack
-
- The object from the top of the NDLC stack, if defined; otherwise null.
-
-
-
- Clears current stack.
-
-
-
-
- Gets all messages on the stack.
-
- Array of strings on the stack.
-
-
-
- Gets all messages from the stack, without removing them.
-
- The to use when converting a value to a string.
- Array of strings.
-
-
-
- Gets all objects on the stack. The objects are not removed from the stack.
-
- Array of objects on the stack.
-
-
-
- stores state in the async thread execution context. All LogEvents created
- within a scope can include the scope state in the target output. The logical context scope supports
- both scope-properties and scope-nested-state-stack (Similar to log4j2 ThreadContext)
-
-
- (MDLC), (MDC), (NDLC)
- and (NDC) have been deprecated and replaced by .
-
- .NetCore (and .Net46) uses AsyncLocal for handling the thread execution context. Older .NetFramework uses System.Runtime.Remoting.CallContext
-
-
-
-
- Pushes new state on the logical context scope stack together with provided properties
-
- Value to added to the scope stack
- Properties being added to the scope dictionary
- A disposable object that pops the nested scope state on dispose (including properties).
- Scope dictionary keys are case-insensitive
-
-
-
- Updates the logical scope context with provided properties
-
- Properties being added to the scope dictionary
- A disposable object that removes the properties from logical context scope on dispose.
- Scope dictionary keys are case-insensitive
-
-
-
- Updates the logical scope context with provided properties
-
- Properties being added to the scope dictionary
- A disposable object that removes the properties from logical context scope on dispose.
- Scope dictionary keys are case-insensitive
-
-
-
- Updates the logical scope context with provided property
-
- Name of property
- Value of property
- A disposable object that removes the properties from logical context scope on dispose.
- Scope dictionary keys are case-insensitive
-
-
-
- Updates the logical scope context with provided property
-
- Name of property
- Value of property
- A disposable object that removes the properties from logical context scope on dispose.
- Scope dictionary keys are case-insensitive
-
-
-
- Pushes new state on the logical context scope stack
-
- Value to added to the scope stack
- A disposable object that pops the nested scope state on dispose.
- Skips casting of to check for scope-properties
-
-
-
- Pushes new state on the logical context scope stack
-
- Value to added to the scope stack
- A disposable object that pops the nested scope state on dispose.
-
-
-
- Clears all the entire logical context scope, and removes any properties and nested-states
-
-
-
-
- Retrieves all properties stored within the logical context scopes
-
- Collection of all properties
-
-
-
- Lookup single property stored within the logical context scopes
-
- Name of property
- When this method returns, contains the value associated with the specified key
- Returns true when value is found with the specified key
- Scope dictionary keys are case-insensitive
-
-
-
- Retrieves all nested states inside the logical context scope stack
-
- Array of nested state objects.
-
-
-
- Peeks the top value from the logical context scope stack
-
- Value from the top of the stack.
-
-
-
- Peeks the inner state (newest) from the logical context scope stack, and returns its running duration
-
- Scope Duration Time
-
-
-
- Peeks the outer state (oldest) from the logical context scope stack, and returns its running duration
-
- Scope Duration Time
-
-
-
- Special bookmark that can restore original parent, after scopes has been collapsed
-
-
-
-
- Matches when the specified condition is met.
-
-
- Conditions are expressed using a simple language.
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the condition expression.
-
-
-
-
-
-
-
-
- An abstract filter class. Provides a way to eliminate log messages
- based on properties other than logger name and log level.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the action to be taken when filter matches.
-
-
-
-
-
- Gets the result of evaluating filter against given log event.
-
- The log event.
- Filter result.
-
-
-
- Checks whether log event should be logged or not.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
-
-
- Marks class as a layout renderer and assigns a name to it.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the filter.
-
-
-
- Filter result.
-
-
-
-
- The filter doesn't want to decide whether to log or discard the message.
-
-
-
-
- The message should be logged.
-
-
-
-
- The message should not be logged.
-
-
-
-
- The message should be logged and processing should be finished.
-
-
-
-
- The message should not be logged and processing should be finished.
-
-
-
-
- A base class for filters that are based on comparing a value to a layout.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the layout to be used to filter log messages.
-
- The layout.
-
-
-
-
- Matches when the calculated layout contains the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
- Gets or sets the substring to be matched.
-
-
-
-
-
-
-
-
- Matches when the calculated layout is equal to the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
- Gets or sets a string to compare the layout to.
-
-
-
-
-
-
-
-
- Matches the provided filter-method
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
-
-
-
- Matches when the calculated layout does NOT contain the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Gets or sets the substring to be matched.
-
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
-
-
-
- Matches when the calculated layout is NOT equal to the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a string to compare the layout to.
-
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
-
-
-
- Matches when the result of the calculated layout has been repeated a moment ago
-
-
-
-
- How long before a filter expires, and logging is accepted again
-
-
-
-
-
- Max length of filter values, will truncate if above limit
-
-
-
-
-
- Applies the configured action to the initial logevent that starts the timeout period.
- Used to configure that it should ignore all events until timeout.
-
-
-
-
-
- Max number of unique filter values to expect simultaneously
-
-
-
-
-
- Default number of unique filter values to expect, will automatically increase if needed
-
-
-
-
-
- Insert FilterCount value into when an event is no longer filtered
-
-
-
-
-
- Append FilterCount to the when an event is no longer filtered
-
-
-
-
-
- Reuse internal buffers, and doesn't have to constantly allocate new buffers
-
-
-
-
-
- Default buffer size for the internal buffers
-
-
-
-
-
- Checks whether log event should be logged or not. In case the LogEvent has just been repeated.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
-
-
- Uses object pooling, and prunes stale filter items when the pool runs dry
-
-
-
-
- Remove stale filter-value from the cache, and fill them into the pool for reuse
-
-
-
-
- Renders the Log Event into a filter value, that is used for checking if just repeated
-
-
-
-
- Repeated LogEvent detected. Checks if it should activate filter-action
-
-
-
-
- Filter Value State (mutable)
-
-
-
-
- Filter Lookup Key (immutable)
-
-
-
-
- A global logging class using caller info to find the logger.
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event with the specified .
-
- The log level.
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Trace level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Debug level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Info level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Warn level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Error level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Fatal level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- A fluent class to build log events for NLog.
-
-
-
-
- Initializes a new instance of the class.
-
- The to send the log event.
-
-
-
- Initializes a new instance of the class.
-
- The to send the log event.
- The for the log event.
-
-
-
- Gets the created by the builder.
-
-
-
-
- Sets the information of the logging event.
-
- The exception information of the logging event.
- current for chaining calls.
-
-
-
- Sets the level of the logging event.
-
- The level of the logging event.
- current for chaining calls.
-
-
-
- Sets the logger name of the logging event.
-
- The logger name of the logging event.
- current for chaining calls.
-
-
-
- Sets the log message on the logging event.
-
- The log message for the logging event.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The first object to format.
- The second object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The first object to format.
- The second object to format.
- The third object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The first object to format.
- The second object to format.
- The third object to format.
- The fourth object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- An object array that contains zero or more objects to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- An object that supplies culture-specific formatting information.
- A composite format string.
- An object array that contains zero or more objects to format.
- current for chaining calls.
-
-
-
- Sets a per-event context property on the logging event.
-
- The name of the context property.
- The value of the context property.
- current for chaining calls.
-
-
-
- Sets multiple per-event context properties on the logging event.
-
- The properties to set.
- current for chaining calls.
-
-
-
- Sets the timestamp of the logging event.
-
- The timestamp of the logging event.
- current for chaining calls.
-
-
-
- Sets the stack trace for the event info.
-
- The stack trace.
- Index of the first user stack frame within the stack trace.
- current for chaining calls.
-
-
-
- Writes the log event to the underlying logger.
-
- The method or property name of the caller to the method. This is set at by the compiler.
- The full path of the source file that contains the caller. This is set at by the compiler.
- The line number in the source file at which the method is called. This is set at by the compiler.
-
-
-
- Writes the log event to the underlying logger if the condition delegate is true.
-
- If condition is true, write log event; otherwise ignore event.
- The method or property name of the caller to the method. This is set at by the compiler.
- The full path of the source file that contains the caller. This is set at by the compiler.
- The line number in the source file at which the method is called. This is set at by the compiler.
-
-
-
- Writes the log event to the underlying logger if the condition is true.
-
- If condition is true, write log event; otherwise ignore event.
- The method or property name of the caller to the method. This is set at by the compiler.
- The full path of the source file that contains the caller. This is set at by the compiler.
- The line number in the source file at which the method is called. This is set at by the compiler.
-
-
-
- Extension methods for NLog .
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event with the specified .
-
- The logger to write the log event to.
- The log level.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Trace level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Debug level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Info level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Warn level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Error level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Fatal level.
-
- The logger to write the log event to.
- current for chaining calls.
-
Extensions for NLog .
@@ -8243,135 +7150,14 @@
An exception to be logged.
A function returning message to be written. Function is not evaluated if logging is not enabled.
-
+
- Interface for fakeable of the current AppDomain.
+ Allocates new builder and appends to the provided target builder on dispose
-
+
- Gets or sets the base directory that the assembly resolver uses to probe for assemblies.
-
-
-
-
- Gets or sets the name of the configuration file for an application domain.
-
-
-
-
- Gets or sets the list of directories under the application base directory that are probed for private assemblies.
-
-
-
-
- Gets or set the friendly name.
-
-
-
-
- Gets an integer that uniquely identifies the application domain within the process.
-
-
-
-
- Gets the assemblies that have been loaded into the execution context of this application domain.
-
- A list of assemblies in this application domain.
-
-
-
- Process exit event.
-
-
-
-
- Domain unloaded event.
-
-
-
-
- Abstract calls for the application environment
-
-
-
-
- Gets current process name (excluding filename extension, if any).
-
-
-
-
- Process exit event.
-
-
-
-
- Abstract calls to FileSystem
-
-
-
- Determines whether the specified file exists.
- The file to check.
-
-
- Returns the content of the specified file
- The file to load.
-
-
-
- Adapter for to
-
-
-
-
- Initializes a new instance of the class.
-
- The to wrap.
-
-
-
- Creates an AppDomainWrapper for the current
-
-
-
-
- Gets or sets the base directory that the assembly resolver uses to probe for assemblies.
-
-
-
-
- Gets or sets the name of the configuration file for an application domain.
-
-
-
-
- Gets or sets the list of directories under the application base directory that are probed for private assemblies.
-
-
-
-
- Gets or set the friendly name.
-
-
-
-
- Gets an integer that uniquely identifies the application domain within the process.
-
-
-
-
- Gets the assemblies that have been loaded into the execution context of this application domain.
-
- A list of assemblies in this application domain.
-
-
-
- Process exit event.
-
-
-
-
- Domain unloaded event.
+ Access the new builder allocated
@@ -8416,8 +7202,227 @@
-
-
+
+
+ Long UNC paths does not allow relative-path-logic using '..', and also cannot be loaded into Uri by XmlReader
+
+
+
+
+ Abstract calls for the application environment
+
+
+
+
+ Gets current process name (excluding filename extension, if any).
+
+
+
+
+ Process exit event.
+
+
+
+
+ Abstract calls to FileSystem
+
+
+
+ Determines whether the specified file exists.
+ The file to check.
+
+
+ Returns the content of the specified text-file
+ The file to load.
+
+
+
+ Helpers for .
+
+
+
+
+ Logs the assembly version and file version of the given Assembly.
+
+ The assembly to log.
+
+
+
+ Keeps track of pending operation count, and can notify when pending operation count reaches zero
+
+
+
+
+ Mark operation has started
+
+
+
+
+ Mark operation has completed
+
+ Exception coming from the completed operation [optional]
+
+
+
+ Registers an AsyncContinuation to be called when all pending operations have completed
+
+ Invoked on completion
+ AsyncContinuation operation
+
+
+
+ Clear o
+
+
+
+
+ Adds the given assembly which will be skipped
+ when NLog is trying to find the calling method on stack trace.
+
+ The assembly to skip.
+
+
+
+ Sets the stack trace for the event info.
+
+ The stack trace.
+ Index of the first user stack frame within the stack trace.
+ Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger.
+
+
+
+ Sets the details retrieved from the Caller Information Attributes
+
+
+
+
+
+
+
+
+ Obsolete and replaced by or ${callsite} with NLog v5.3.
+
+ Gets the stack frame of the method that did the logging.
+
+
+
+
+ Gets the number index of the stack frame that represents the user
+ code (not the NLog code).
+
+
+
+
+ Legacy attempt to skip async MoveNext, but caused source file line number to be lost
+
+
+
+
+ Gets the entire stack trace.
+
+
+
+
+ Finds first user stack frame in a stack trace
+
+ The stack trace of the logging method invocation
+ Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger.
+ Index of the first user stack frame or 0 if all stack frames are non-user
+
+
+
+ This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame
+
+ The stack trace of the logging method invocation
+ Starting point for skipping async MoveNext-frames
+
+
+
+ Skip StackFrame when from hidden Assembly / ClassType
+
+
+
+
+ Skip StackFrame when type of the logger
+
+
+
+
+ Memory optimized filtering
+
+ Passing state too avoid delegate capture and memory-allocations.
+
+
+
+ Internal configuration manager used to read .NET configuration files.
+ Just a wrapper around the BCL ConfigurationManager, but used to enable
+ unit testing.
+
+
+
+
+ Ensures that IDictionary.GetEnumerator returns DictionaryEntry values
+
+
+
+
+ Safe way to get environment variables.
+
+
+
+
+ Helper class for dealing with exceptions.
+
+
+
+
+ Mark this exception as logged to the .
+
+
+
+
+
+
+ Is this exception logged to the ?
+
+
+ if the has been logged to the .
+
+
+
+ Determines whether the exception must be rethrown and logs the error to the if is .
+
+ Advised to log first the error to the before calling this method.
+
+ The exception to check.
+ Target Object context of the exception.
+ Target Method context of the exception.
+ if the must be rethrown, otherwise.
+
+
+
+ Determines whether the exception must be rethrown immediately, without logging the error to the .
+
+ Only used this method in special cases.
+
+ The exception to check.
+ if the must be rethrown, otherwise.
+
+
+
+ FormatProvider that renders an exception-object as $"{ex.GetType()}: {ex.Message}"
+
+
+
+
+ Convert object to string
+
+ value
+ format for conversion.
+
+
+ If is null and isn't a already, then the will get a locked by
+
@@ -8436,7 +7441,10 @@
- Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect)
+ Perform message template parsing and formatting of LogEvent messages:
+ - = Always
+ - = Never
+ - = Auto Detect
@@ -8451,7 +7459,7 @@
Has the logevent properties?
LogEvent with message to be formatted
- False when logevent has no properties to be extracted
+ when logevent has no properties to be extracted
@@ -8512,141 +7520,47 @@
Initializes this instance.
- The configuration.
Closes this instance.
-
+
- Helpers for .
+ The MessageFormatter delegate
-
+
- Gets all usable exported types from the given assembly.
-
- Assembly to scan.
- Usable types from the given assembly.
- Types which cannot be loaded are skipped.
-
-
-
- Forward declare of system delegate type for use by other classes
+ When Do not fallback to StringBuilder.Format for positional templates
-
+
- Keeps track of pending operation count, and can notify when pending operation count reaches zero
+ New formatter
+
+
+ When Do not fallback to StringBuilder.Format for positional templates
+
+
+
+
+ The MessageFormatter delegate
-
-
- Mark operation has started
-
+
+
-
+
- Mark operation has completed
-
- Exception coming from the completed operation [optional]
-
-
-
- Registers an AsyncContinuation to be called when all pending operations have completed
-
- Invoked on completion
- AsyncContinuation operation
-
-
-
- Clear o
-
-
-
-
- Adds the given assembly which will be skipped
- when NLog is trying to find the calling method on stack trace.
-
- The assembly to skip.
-
-
-
- Sets the stack trace for the event info.
-
- The stack trace.
- Index of the first user stack frame within the stack trace.
- Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger.
-
-
-
- Sets the details retrieved from the Caller Information Attributes
-
-
-
-
-
-
-
-
- Obsolete and replaced by or ${callsite} with NLog v5.3.
-
- Gets the stack frame of the method that did the logging.
-
-
-
-
- Gets the number index of the stack frame that represents the user
- code (not the NLog code).
-
-
-
-
- Legacy attempt to skip async MoveNext, but caused source file line number to be lost
-
-
-
-
- Gets the entire stack trace.
-
-
-
-
- Finds first user stack frame in a stack trace
-
- The stack trace of the logging method invocation
- Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger.
- Index of the first user stack frame or 0 if all stack frames are non-user
-
-
-
- This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame
-
- The stack trace of the logging method invocation
- Starting point for skipping async MoveNext-frames
-
-
-
- Skip StackFrame when from hidden Assembly / ClassType
-
-
-
-
- Skip StackFrame when type of the logger
-
-
-
-
- Memory optimized filtering
-
- Passing state too avoid delegate capture and memory-allocations.
-
-
-
- Ensures that IDictionary.GetEnumerator returns DictionaryEntry values
+ Render a template to a string.
+ The template.
+ Culture.
+ Parameters for the holes.
+ The String Builder destination.
+ Parameters for the holes.
@@ -8665,7 +7579,7 @@
Key of the item to be inserted in the cache.
Value of the item to be inserted in the cache.
- true when the key does not already exist in the cache, false otherwise.
+ when the key does not already exist in the cache, otherwise.
@@ -8673,20 +7587,149 @@
Key of the item to be searched in the cache.
Output value of the item found in the cache.
- True when the key is found in the cache, false otherwise.
+ when the key is found in the cache, otherwise.
+
+
+
+ Watches multiple files at the same time and raises an event whenever
+ a single change is detected in any of those files.
+
+
+
+
+ The types of changes to watch for.
+
+
+
+
+ Occurs when a change is detected in one of the monitored files.
+
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Stops watching all files.
+
+
+
+
+ Watches the specified files for changes.
+
+ The file names.
+
+
+
+ Scans (breadth-first) the object graph following all the edges whose are
+ instances have attached and returns
+ all objects implementing a specified interfaces.
+
+
+
+
+ Finds the objects which have attached which are reachable
+ from any of the given root objects when traversing the object graph over public properties.
+
+ Type of the objects to return.
+ Configuration Reflection Helper
+ Also search the properties of the wanted objects.
+ The root objects.
+ Ordered list of objects implementing T.
+
+
+
+ Object Path to check
+
+
+
+
+ Converts object into a List of property-names and -values using reflection
+
+
+
+
+ Try get value from , using , and set into
+
+
+
+
+ Scans properties for name (Skips property value lookup until finding match)
+
+
+
+
+ Scans properties for name
+
+
+
+
+ Binder for retrieving value of
+
+
+
+
+
+
+
+ Combine paths
+
+ basepath, not null
+ optional dir
+ optional file
+
+
+
+
+ Cached directory separator char array to avoid memory allocation on each method call.
+
+
+
+
+ Trims directory separators from the path
+
+ path, could be null
+ never null
+
+
+
+ Detects the platform the NLog is running on.
+
+
+
+
+ Gets the current runtime OS.
+
+
+
+
+ Gets a value indicating whether current OS is Win32-based (desktop or mobile).
+
+
+
+
+ Gets a value indicating whether current OS is Unix-based.
+
+
+
+
+ Gets a value indicating whether current runtime is Mono-based
+
-
- Dictionary that combines the standard with the
- MessageTemplate-properties extracted from the .
+
+ Dictionary that combines the standard with the
+ MessageTemplate-properties extracted from the .
- The are returned as the first items
- in the collection, and in positional order.
-
+ The are returned as the first items
+ in the collection, and in positional order.
+
- Value of the property
+ Value of the property
@@ -8710,11 +7753,10 @@
Message-template-parameters
-
+
Transforms the list of event-properties into IDictionary-interface
- Message-template-parameters
@@ -8778,46 +7820,64 @@
Message-template-parameters
The dictionary that initially contains no message-template-parameters
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
Will always throw, as collection is readonly
-
+
Will always throw, as collection is readonly
-
+
Will always throw, as collection is readonly
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+ Will always throw, as collection is readonly
+
+
+ Will always throw, as collection is readonly
+
+
+ Will always throw, as collection is readonly
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -8831,6 +7891,235 @@
Enables case-insensitive lookup using
+
+
+ Reflection helpers for accessing properties.
+
+
+
+
+ Get property info
+
+ Configuration Reflection Helper
+ object which could have property
+ property name on
+ result when success.
+ success.
+
+
+
+ Try parse of string to (Generic) list, comma separated.
+
+
+ If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape
+
+
+
+
+ Reflection helpers.
+
+
+
+
+ Is this a static class?
+
+
+
+ This is a work around, as Type doesn't have this property.
+ From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static
+
+
+
+
+ Optimized delegate for calling MethodInfo
+
+ Object instance, use null for static methods.
+ Complete list of parameters that matches the method, including optional/default parameters.
+
+
+
+ Creates an optimized delegate for calling the MethodInfo using Expression-Trees
+
+ Method to optimize
+ Optimized delegate for invoking the MethodInfo
+
+
+
+ Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user)
+
+
+
+
+ Controls a single allocated char[]-buffer for reuse (only one active user)
+
+
+
+
+ Controls a single allocated StringBuilder for reuse (only one active user)
+
+
+
+
+ Controls a single allocated object for reuse (only one active user)
+
+
+
+
+ Creates handle to the reusable char[]-buffer for active usage
+
+ Handle to the reusable item, that can release it again
+
+
+
+ Access the acquired reusable object
+
+
+
+
+ Controls a single allocated MemoryStream for reuse (only one active user)
+
+
+
+
+ Supported operating systems.
+
+
+ If you add anything here, make sure to add the appropriate detection
+ code to
+
+
+
+
+ Unknown operating system.
+
+
+
+
+ Unix/Linux operating systems.
+
+
+
+
+ Desktop versions of Windows (95,98,ME).
+
+
+
+
+ Windows NT, 2000, 2003 and future versions based on NT technology.
+
+
+
+
+ Macintosh Mac OSX
+
+
+
+
+ Immutable state that combines ScopeContext MDLC + NDLC for
+
+
+
+
+ Immutable state that combines ScopeContext MDLC + NDLC for
+
+
+
+
+ Immutable state for ScopeContext Mapped Context (MDLC)
+
+
+
+
+ Immutable state for ScopeContext Nested State (NDLC)
+
+
+
+
+ Immutable state for ScopeContext Single Property (MDLC)
+
+
+
+
+ Immutable state for ScopeContext Multiple Properties (MDLC)
+
+
+
+
+ Immutable state for ScopeContext handling legacy MDLC + NDLC operations
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Collection of targets that should be written to
+
+
+
+
+ Simple character tokenizer.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The text to be tokenized.
+
+
+
+ Current position in
+
+
+
+
+ Full text to be parsed
+
+
+
+
+ Check current char while not changing the position.
+
+
+
+
+
+ Read the current char and change position
+
+
+
+
+
+ Get the substring of the
+
+
+
+
+
+
+
+ Implements a single-call guard around given continuation function.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The asynchronous continuation.
+
+
+
+ Continuation function which implements the single-call guard.
+
+ The exception.
+
HashSet optimized for single item
@@ -8935,7 +8224,7 @@
Dictionary where keys are unique input keys, and values are lists of .
-
+
Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed.
@@ -8944,1563 +8233,28 @@
The type of the key.
The type of the value.
-
+
-
-
-
-
-
-
-
-
-
-
-
- Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown.
- Consider to use instead for better safety.
-
- Key value for lookup
- Mapped value found
-
-
+
Non-Allocating struct-enumerator
-
+
-
+
-
-
-
-
- Will always throw, as dictionary is readonly
-
-
- Will always throw, as dictionary is readonly
-
-
-
-
-
- Will always throw, as dictionary is readonly
-
-
- Will always throw, as dictionary is readonly
-
-
-
-
-
-
-
-
- Will always throw, as dictionary is readonly
-
-
-
- Internal configuration manager used to read .NET configuration files.
- Just a wrapper around the BCL ConfigurationManager, but used to enable
- unit testing.
-
-
-
-
- UTF-8 BOM 239, 187, 191
-
-
-
-
- Safe way to get environment variables.
-
-
-
-
- Helper class for dealing with exceptions.
-
-
-
-
- Mark this exception as logged to the .
-
-
-
-
-
-
- Is this exception logged to the ?
-
-
- trueif the has been logged to the .
-
-
-
- Determines whether the exception must be rethrown and logs the error to the if is false.
-
- Advised to log first the error to the before calling this method.
-
- The exception to check.
- Target Object context of the exception.
- Target Method context of the exception.
- trueif the must be rethrown, false otherwise.
-
-
-
- Determines whether the exception must be rethrown immediately, without logging the error to the .
-
- Only used this method in special cases.
-
- The exception to check.
- trueif the must be rethrown, false otherwise.
-
-
-
- FormatProvider that renders an exception-object as $"{ex.GetType()}: {ex.Message}"
-
-
-
-
- Object construction helper.
-
-
-
-
- Base class for optimized file appenders.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The create parameters.
-
-
-
- Gets the path of the file, including file extension.
-
- The name of the file.
-
-
-
- Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated
- Universal Time [UTC] standard.
-
- The creation time of the file.
-
-
-
- Gets or sets the creation time for a file associated with the appender. Synchronized by
- The time format is based on
-
-
-
-
- Gets the last time the file associated with the appender is opened. The time returned is in Coordinated
- Universal Time [UTC] standard.
-
- The time the file was last opened.
-
-
-
- Gets the file creation parameters.
-
- The file creation parameters.
-
-
-
- Writes the specified bytes.
-
- The bytes.
-
-
-
- Writes the specified bytes to a file.
-
- The bytes array.
- The bytes array offset.
- The number of bytes.
-
-
-
- Flushes this file-appender instance.
-
-
-
-
- Closes this file-appender instance.
-
-
-
-
- Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal
- Time [UTC] standard.
-
- The file creation time.
-
-
-
- Gets the length in bytes of the file associated with the appender.
-
- A long value representing the length of the file in bytes.
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- True to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Creates the file stream.
-
- If set to true sets the file stream to allow shared writing.
- If larger than 0 then it will be used instead of the default BufferSize for the FileStream.
- A object which can be used to write to the file.
-
-
-
- Base class for optimized file appenders which require the usage of a mutex.
-
- It is possible to use this class as replacement of BaseFileAppender and the mutex functionality
- is not enforced to the implementing subclasses.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The create parameters.
-
-
-
- Gets the mutually-exclusive lock for archiving files.
-
- The mutex for archiving.
-
-
-
-
-
-
- Creates a mutex that is sharable by more than one process.
-
- The prefix to use for the name of the mutex.
- A object which is sharable by multiple processes.
-
-
-
- Implementation of which caches
- file information.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory class which creates objects.
-
-
-
-
-
-
-
- Maintains a collection of file appenders usually associated with file targets.
-
-
-
-
- An "empty" instance of the class with zero size and empty list of appenders.
-
-
-
-
- Initializes a new "empty" instance of the class with zero size and empty
- list of appenders.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The size of the list should be positive. No validations are performed during initialization as it is an
- internal class.
-
- Total number of appenders allowed in list.
- Factory used to create each appender.
- Parameters used for creating a file.
-
-
-
- The archive file path pattern that is used to detect when archiving occurs.
-
-
-
-
- Invalidates appenders for all files that were archived.
-
-
-
-
- Gets the parameters which will be used for creating a file.
-
-
-
-
- Gets the file appender factory used by all the appenders in this list.
-
-
-
-
- Gets the number of appenders which the list can hold.
-
-
-
-
- Subscribe to background monitoring of active file appenders
-
-
-
-
- It allocates the first slot in the list when the file name does not already in the list and clean up any
- unused slots.
-
- File name associated with a single appender.
- The allocated appender.
-
-
-
- Close all the allocated appenders.
-
-
-
-
- Close the allocated appenders initialized before the supplied time.
-
- The time which prior the appenders considered expired
-
-
-
- Flush all the allocated appenders.
-
-
-
-
- File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file.
-
-
- NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender
-
-
-
-
- Closes the specified appender and removes it from the list.
-
- File name of the appender to be closed.
- File Appender that matched the filePath (null if none found)
-
-
-
- Interface that provides parameters for create file function.
-
-
-
-
- Gets or sets the delay in milliseconds to wait before attempting to write to the file again.
-
-
-
-
- Gets or sets the number of times the write is appended on the file before NLog
- discards the log message.
-
-
-
-
- Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host.
-
-
- This makes multi-process logging possible. NLog uses a special technique
- that lets it keep the files open for writing.
-
-
-
-
- Gets or sets a value indicating whether to create directories if they do not exist.
-
-
- Setting this to false may improve performance a bit, but you'll receive an error
- when attempting to write to a directory that's not present.
-
-
-
-
- Gets or sets a value indicating whether to enable log file(s) to be deleted.
-
-
-
-
- Gets or sets the log file buffer size in bytes.
-
-
-
-
- Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation.
-
-
-
-
- Gets or sets the file attributes (Windows only).
-
-
-
-
- Should archive mutex be created?
-
-
-
-
- Should manual simple detection of file deletion be enabled?
-
-
-
-
- Gets the parameters which will be used for creating a file.
-
-
-
-
- Gets the file appender factory used by all the appenders in this list.
-
-
-
-
- Gets the number of appenders which the list can hold.
-
-
-
-
- Subscribe to background monitoring of active file appenders
-
-
-
-
- It allocates the first slot in the list when the file name does not already in the list and clean up any
- unused slots.
-
- File name associated with a single appender.
- The allocated appender.
-
-
-
- Close all the allocated appenders.
-
-
-
-
- Close the allocated appenders initialized before the supplied time.
-
- The time which prior the appenders considered expired
-
-
-
- Flush all the allocated appenders.
-
-
-
-
- File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file.
-
-
- NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender
-
-
-
-
- Closes the specified appender and removes it from the list.
-
- File name of the appender to be closed.
- File Appender that matched the filePath (null if none found)
-
-
-
- The archive file path pattern that is used to detect when archiving occurs.
-
-
-
-
- Invalidates appenders for all files that were archived.
-
-
-
-
- Interface implemented by all factories capable of creating file appenders.
-
-
-
-
- Opens the appender for given file name and parameters.
-
- Name of the file.
- Creation parameters.
- Instance of which can be used to write to the file.
-
-
-
- Provides a multi process-safe atomic file appends while
- keeping the files open.
-
-
- On Unix you can get all the appends to be atomic, even when multiple
- processes are trying to write to the same file, because setting the file
- pointer to the end of the file and appending can be made one operation.
- On Win32 we need to maintain some synchronization between processes
- (global named mutex is used for this)
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory class.
-
-
-
-
-
-
-
- Appender used to discard data for the FileTarget.
- Used mostly for testing entire stack except the actual writing to disk.
- Throws away all data.
-
-
-
-
- Factory class.
-
-
-
-
-
-
-
- Multi-process and multi-host file appender which attempts
- to get exclusive write access and retries if it's not available.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory class.
-
-
-
-
-
-
-
- Optimized single-process file appender which keeps the file open for exclusive write.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory class.
-
-
-
-
-
-
-
- Provides a multi process-safe atomic file append while
- keeping the files open.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
- Creates or opens a file in a special mode, so that writes are automatically
- as atomic writes at the file end.
- See also "UnixMultiProcessFileAppender" which does a similar job on *nix platforms.
-
- File to create or open
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory class.
-
-
-
-
-
-
-
- A layout that represents a filePath.
-
-
-
-
- Cached directory separator char array to avoid memory allocation on each method call.
-
-
-
-
- Cached invalid file names char array to avoid memory allocation every time Path.GetInvalidFileNameChars() is called.
-
-
-
-
- not null when == false
-
-
-
-
- non null is fixed,
-
-
-
-
- is the cache-key, and when newly rendered filename matches the cache-key,
- then it reuses the cleaned cache-value .
-
-
-
-
- is the cache-value that is reused, when the newly rendered filename
- matches the cache-key
-
-
-
- Initializes a new instance of the class.
-
-
-
- Render the raw filename from Layout
-
- The log event.
- StringBuilder to minimize allocations [optional].
- String representation of a layout.
-
-
-
- Convert the raw filename to a correct filename
-
- The filename generated by Layout.
- String representation of a correct filename.
-
-
-
- Is this (templated/invalid) path an absolute, relative or unknown?
-
-
-
-
- Watches multiple files at the same time and raises an event whenever
- a single change is detected in any of those files.
-
-
-
-
- The types of changes to watch for.
-
-
-
-
- Occurs when a change is detected in one of the monitored files.
-
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Stops watching all files.
-
-
-
-
- Stops watching the specified file.
-
-
-
-
-
- Watches the specified files for changes.
-
- The file names.
-
-
-
- Combine paths
-
- basepath, not null
- optional dir
- optional file
-
-
-
-
- Cached directory separator char array to avoid memory allocation on each method call.
-
-
-
-
- Trims directory separators from the path
-
- path, could be null
- never null
-
-
-
- Convert object to string
-
- value
- format for conversion.
-
-
- If is null and isn't a already, then the will get a locked by
-
-
-
-
- Retrieve network interfaces
-
-
-
-
- Retrieve network interfaces
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
-
-
- Specifies how outgoing email messages will be handled.
-
-
-
-
- Gets or sets the name or IP address of the host used for SMTP transactions.
-
-
-
-
- Gets or sets the port used for SMTP transactions.
-
-
-
-
- Gets or sets a value that specifies the amount of time after which a synchronous Send call times out.
-
-
-
-
- Gets or sets the credentials used to authenticate the sender.
-
-
-
-
- Sends an e-mail message to an SMTP server for delivery. These methods block while the message is being transmitted.
-
-
- System.Net.Mail.MailMessage
- MailMessage
- A MailMessage that contains the message to send.
-
-
-
- Gets or sets the folder where applications save mail messages to be processed by the local SMTP server.
-
-
-
-
- The MessageFormatter delegate
-
-
-
-
- When true: Do not fallback to StringBuilder.Format for positional templates
-
-
-
-
- New formatter
-
-
- When true: Do not fallback to StringBuilder.Format for positional templates
-
-
-
-
- The MessageFormatter delegate
-
-
-
-
-
-
-
- Render a template to a string.
-
- The template.
- Culture.
- Parameters for the holes.
- The String Builder destination.
- Parameters for the holes.
-
-
-
- Detects the platform the NLog is running on.
-
-
-
-
- Gets a value indicating whether current runtime supports use of mutex
-
-
-
-
- Will creating a mutex succeed runtime?
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
- Disabled Error CS0618 'SmtpClient' is obsolete: 'SmtpClient and its network of types are poorly designed,
- we strongly recommend you use https://github.com/jstedfast/MailKit and https://github.com/jstedfast/MimeKit instead'
-
-
-
-
- Retrieve network interfaces
-
-
-
-
- Retrieve network interfaces
-
-
-
-
- Network sender which uses HTTP or HTTPS POST.
-
-
-
-
- Initializes a new instance of the class.
-
- The network URL.
-
-
-
- Creates instances of objects for given URLs.
-
-
-
-
- Creates a new instance of the network sender based on a network URL.
-
- URL that determines the network sender to be created.
- The maximum queue size.
- The overflow action when reaching maximum queue size.
- The maximum message size.
- SSL protocols for TCP
- KeepAliveTime for TCP
-
- A newly created network sender.
-
-
-
-
- Interface for mocking socket calls.
-
-
-
-
- A base class for all network senders. Supports one-way sending of messages
- over various protocols.
-
-
-
-
- Initializes a new instance of the class.
-
- The network URL.
-
-
-
- Gets the address of the network endpoint.
-
-
-
-
- Gets the last send time.
-
-
-
-
- Initializes this network sender.
-
-
-
-
- Closes the sender and releases any unmanaged resources.
-
- The continuation.
-
-
-
- Flushes any pending messages and invokes the on completion.
-
- The continuation.
-
-
-
- Send the given text over the specified protocol.
-
- Bytes to be sent.
- Offset in buffer.
- Number of bytes to send.
- The asynchronous continuation.
-
-
-
- Closes the sender and releases any unmanaged resources.
-
-
-
-
- Initializes resources for the protocol specific implementation.
-
-
-
-
- Closes resources for the protocol specific implementation.
-
- The continuation.
-
-
-
- Performs the flush and invokes the on completion.
-
- The continuation.
-
-
-
- Sends the payload using the protocol specific implementation.
-
- The bytes to be sent.
- Offset in buffer.
- Number of bytes to send.
- The async continuation to be invoked after the buffer has been sent.
-
-
-
- Parses the URI into an IP address.
-
- The URI to parse.
- The address family.
- Parsed endpoint.
-
-
-
- Default implementation of .
-
-
-
-
-
-
-
- A base class for network senders that can block or send out-of-order
-
-
-
-
- Initializes a new instance of the class.
-
- URL. Must start with tcp://.
-
-
-
- Socket proxy for mocking Socket code.
-
-
-
-
- Initializes a new instance of the class.
-
- The address family.
- Type of the socket.
- Type of the protocol.
-
-
-
- Gets underlying socket instance.
-
-
-
-
- Closes the wrapped socket.
-
-
-
-
- Invokes ConnectAsync method on the wrapped socket.
-
- The instance containing the event data.
- Result of original method.
-
-
-
- Invokes SendAsync method on the wrapped socket.
-
- The instance containing the event data.
- Result of original method.
-
-
-
- Invokes SendToAsync method on the wrapped socket.
-
- The instance containing the event data.
- Result of original method.
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Sends messages over a TCP network connection.
-
-
-
-
- Initializes a new instance of the class.
-
- URL. Must start with tcp://.
- The address family.
-
-
-
- Creates the socket with given parameters.
-
- The host address.
- The address family.
- Type of the socket.
- Type of the protocol.
- Instance of which represents the socket.
-
-
-
- Facilitates mocking of class.
-
-
-
-
- Raises the Completed event.
-
-
-
-
- Sends messages over the network as UDP datagrams.
-
-
-
-
- Initializes a new instance of the class.
-
- URL. Must start with udp://.
- The address family.
-
-
-
- Creates the socket.
-
- The IP address.
- Implementation of to use.
-
-
-
- Allocates new builder and appends to the provided target builder on dispose
-
-
-
-
- Access the new builder allocated
-
-
-
-
- Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user)
-
-
-
-
- Controls a single allocated char[]-buffer for reuse (only one active user)
-
-
-
-
- Controls a single allocated StringBuilder for reuse (only one active user)
-
-
-
-
- Controls a single allocated object for reuse (only one active user)
-
-
-
-
- Creates handle to the reusable char[]-buffer for active usage
-
- Handle to the reusable item, that can release it again
-
-
-
- Access the acquired reusable object
-
-
-
-
- Controls a single allocated MemoryStream for reuse (only one active user)
-
-
-
-
- Constructor
-
- Max number of items
- Initial StringBuilder Size
- Max StringBuilder Size
-
-
-
- Takes StringBuilder from pool
-
- Allow return to pool
-
-
-
- Releases StringBuilder back to pool at its right place
-
-
-
-
- Keeps track of acquired pool item
-
-
-
-
- Releases pool item back into pool
-
-
-
-
- Detects the platform the NLog is running on.
-
-
-
-
- Gets the current runtime OS.
-
-
-
-
- Gets a value indicating whether current OS is Win32-based (desktop or mobile).
-
-
-
-
- Gets a value indicating whether current OS is Unix-based.
-
-
-
-
- Gets a value indicating whether current runtime is Mono-based
-
-
-
-
- Scans (breadth-first) the object graph following all the edges whose are
- instances have attached and returns
- all objects implementing a specified interfaces.
-
-
-
-
- Finds the objects which have attached which are reachable
- from any of the given root objects when traversing the object graph over public properties.
-
- Type of the objects to return.
- Configuration Reflection Helper
- Also search the properties of the wanted objects.
- The root objects.
- Ordered list of objects implementing T.
-
-
-
- Object Path to check
-
-
-
-
- Converts object into a List of property-names and -values using reflection
-
-
-
-
- Try get value from , using , and set into
-
-
-
-
- Scans properties for name (Skips string-compare and value-lookup until finding match)
-
-
-
-
- Scans properties for name (Skips property value lookup until finding match)
-
-
-
-
- Scans properties for name
-
-
-
-
- Binder for retrieving value of
-
-
-
-
-
-
-
- Reflection helpers for accessing properties.
-
-
-
-
- Get property info
-
- Configuration Reflection Helper
- object which could have property
- property name on
- result when success.
- success.
-
-
-
- Try parse of string to (Generic) list, comma separated.
-
-
- If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape
-
-
-
-
- Attempt to reuse the HashSet.Comparer from the original HashSet-object (Ex. StringComparer.OrdinalIgnoreCase)
-
-
-
-
- Reflection helpers.
-
-
-
-
- Is this a static class?
-
-
-
- This is a work around, as Type doesn't have this property.
- From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static
-
-
-
-
- Optimized delegate for calling MethodInfo
-
- Object instance, use null for static methods.
- Complete list of parameters that matches the method, including optional/default parameters.
-
-
-
- Optimized delegate for calling a constructor
-
- Complete list of parameters that matches the constructor, including optional/default parameters. Could be null for no parameters.
-
-
-
- Creates an optimized delegate for calling the MethodInfo using Expression-Trees
-
- Method to optimize
- Optimized delegate for invoking the MethodInfo
-
-
-
- Creates an optimized delegate for calling the constructors using Expression-Trees
-
- Constructor to optimize
- Optimized delegate for invoking the constructor
-
-
-
- Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used.
-
-
-
-
- Gets or sets a value indicating whether to match whole words only.
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing texts.
-
-
-
-
- Supported operating systems.
-
-
- If you add anything here, make sure to add the appropriate detection
- code to
-
-
-
-
- Unknown operating system.
-
-
-
-
- Unix/Linux operating systems.
-
-
-
-
- Desktop versions of Windows (95,98,ME).
-
-
-
-
- Windows NT, 2000, 2003 and future versions based on NT technology.
-
-
-
-
- Macintosh Mac OSX
-
-
-
-
- Immutable state that combines ScopeContext MDLC + NDLC for
-
-
-
-
- Immutable state that combines ScopeContext MDLC + NDLC for
-
-
-
-
- Immutable state for ScopeContext Mapped Context (MDLC)
-
-
-
-
- Immutable state for ScopeContext Nested State (NDLC)
-
-
-
-
- Immutable state for ScopeContext Single Property (MDLC)
-
-
-
-
- Immutable state for ScopeContext Multiple Properties (MDLC)
-
-
-
-
- Immutable state for ScopeContext handling legacy MDLC + NDLC operations
-
-
-
-
-
-
-
-
-
-
-
-
-
- Collection of targets that should be written to
-
-
-
-
- Implements a single-call guard around given continuation function.
-
-
-
-
- Initializes a new instance of the class.
-
- The asynchronous continuation.
-
-
-
- Continuation function which implements the single-call guard.
-
- The exception.
-
Utilities for dealing with values.
-
-
- Gets the fully qualified name of the class invoking the calling method, including the
- namespace but not the assembly.
-
-
- Gets the fully qualified name of the class invoking the calling method, including the
+ Gets the fully qualified name of the class invoking the calling method, including the
namespace but not the assembly.
StackFrame from the calling method
@@ -10519,76 +8273,6 @@
Valid class name, or empty string if assembly was internal
-
-
- Stream helpers
-
-
-
-
- Copy to output stream and skip BOM if encoding is UTF8
-
-
-
-
-
-
-
- Copy stream input to output. Skip the first bytes
-
- stream to read from
- stream to write to
- .net35 doesn't have a .copyto
-
-
-
- Copy stream input to output. Skip the first bytes
-
- stream to read from
- stream to write to
- first bytes to skip (optional)
-
-
-
- Simple character tokenizer.
-
-
-
-
- Initializes a new instance of the class.
-
- The text to be tokenized.
-
-
-
- Current position in
-
-
-
-
- Full text to be parsed
-
-
-
-
- Check current char while not changing the position.
-
-
-
-
-
- Read the current char and change position
-
-
-
-
-
- Get the substring of the
-
-
-
-
-
Helpers for , which is used in e.g. layout renderers.
@@ -10612,15 +8296,15 @@
value to append
-
- Appends uint without using culture, and most importantly without garbage
+
+ Appends uint without using culture, and most importantly without garbage
- Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/
-
-
- value to append
+ Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/
+
+
+ value to append
-
+
Convert DateTime into UTC and format to yyyy-MM-ddTHH:mm:ss.fffffffZ - ISO 8601 Compliant Date Format (Round-Trip-Time)
@@ -10672,13 +8356,13 @@
Correct implementation of that also works when is not the same
- True when content is the same
+ when content is the same
Compares the contents of a StringBuilder and a String
- True when content is the same
+ when content is the same
@@ -10699,6 +8383,35 @@
Append a numeric type (byte, int, double, decimal) as string
+
+
+ Constructor
+
+ Max number of items
+ Initial StringBuilder Size
+ Max StringBuilder Size
+
+
+
+ Takes StringBuilder from pool
+
+ Allow return to pool
+
+
+
+ Releases StringBuilder back to pool at its right place
+
+
+
+
+ Keeps track of acquired pool item
+
+
+
+
+ Releases pool item back into pool
+
+
Helpers for .
@@ -10711,14 +8424,10 @@
-
+
Replace string with
-
-
-
-
The same reference of nothing has been replaced.
@@ -10802,25 +8511,6 @@
Default action if none of the filters match.
-
-
- Serves as a hash function for a particular type.
-
-
-
-
- Determines if two objects are equal in value.
-
- Other object to compare to.
- True if objects are equal, false otherwise.
-
-
-
- Determines if two objects of the same type are equal in value.
-
- Other object to compare to.
- True if objects are equal, false otherwise.
-
Wraps with a timeout.
@@ -10892,24 +8582,6 @@
-
-
- Prevents the Xamarin linker from linking the target.
-
-
- By applying this attribute all of the members of the target will be kept as if they had been referenced by the code.
-
-
-
-
- Ensures that all members of this type are preserved
-
-
-
-
- Flags the method as a method to preserve during linking if the container class is pulled in.
-
-
Helper class for XML
@@ -10949,15 +8621,10 @@
Object value
Object value converted to string
-
+
- XML elements must follow these naming rules:
- - Element names are case-sensitive
- - Element names must start with a letter or underscore
- - Element names can contain letters, digits, hyphens, underscores, and periods
- - Element names cannot contain spaces
+ Converts DateTime to ISO 8601 format in UTC timezone.
-
@@ -10968,30 +8635,54 @@
Check and remove unusual unicode characters from the result string.
Object value converted to string
-
+
- Safe version of WriteAttributeString
+ XML elements must follow these naming rules:
+ - Element names are case-sensitive
+ - Element names must start with a letter or underscore
+ - Element names can contain letters, digits, hyphens, underscores, and periods
+ - Element names cannot contain spaces
-
-
-
+
-
+
- Safe version of WriteElementSafeString
+ A minimal XML reader, because .NET System.Xml.XmlReader doesn't work with AOT
-
-
-
-
-
-
+
- Safe version of WriteCData
+ Reads a start element.
-
-
+ if start element was found.
+ Something unexpected has failed.
+
+
+
+ Skips an end element.
+
+ The name of the element to skip.
+ if an end element was skipped; otherwise, .
+ Something unexpected has failed.
+
+
+
+ Reads content of an element.
+
+ The content of the element.
+ Something unexpected has failed.
+
+
+ Something unexpected has failed.
+
+
+
+ Consumer of this method should handle safe position.
+
+ Something unexpected has failed.
+
+
+ Something unexpected has failed.
@@ -11006,6 +8697,174 @@
Null if unknown object, or object cannot be handled
+
+
+ Obsolete and replaced by with NLog v5.3.
+
+ Provides an interface to execute System.Actions without surfacing any exceptions raised for that action.
+
+
+
+
+ Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
+
+ Action to execute.
+
+
+
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Result returned by the provided function or the default value of type in case of exception.
+
+
+
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Fallback value to return in case of exception.
+ Result returned by the provided function or fallback value in case of exception.
+
+
+
+ Logs an exception is logged at Error level if the provided task does not run to completion.
+
+ The task for which to log an error if it does not run to completion.
+ This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations.
+
+
+
+ Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion.
+
+ The task for which to log an error if it does not run to completion.
+ A task that completes in the state when completes.
+
+
+
+ Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
+
+ Async action to execute.
+ A task that completes in the state when completes.
+
+
+
+ Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
+
+ Return type of the provided function.
+ Async function to run.
+ A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type .
+
+
+
+ Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
+
+ Return type of the provided function.
+ Async function to run.
+ Fallback value to return if the task does not end in the state.
+ A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value.
+
+
+
+ Render a message template property to a string
+
+
+
+
+ Serialization of an object, e.g. JSON and append to
+
+ The object to serialize to string.
+ Parameter Format
+ Parameter CaptureType
+ An object that supplies culture-specific formatting information.
+ Output destination.
+ Serialize succeeded (true/false)
+
+
+
+ Log event context data.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets string that will be used to separate key/value pairs.
+
+ Default: ,
+
+
+
+
+ Gets or sets whether empty property-values should be included in the output.
+
+ Default: . Empty value is either null or empty string
+
+
+
+
+ Gets or sets whether to include the contents of the properties-dictionary.
+
+ Default:
+
+
+
+
+ Gets or sets the keys to exclude from the output. If omitted, none are excluded.
+
+
+
+
+
+ Disables to capture ScopeContext-properties from active thread context
+
+
+
+
+ Gets or sets how key/value pairs will be formatted.
+
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ Designates a property of the class as an ambient property.
+
+
+ non-ambient: ${uppercase:${level}}
+ ambient : ${level:uppercase}
+
+
+
+
+ Initializes a new instance of the class.
+
+ Ambient property name.
+
Used to render the application domain name.
@@ -11027,10 +8886,16 @@
- Format string. Possible values: "Short", "Long" or custom like {0} {1}. Default "Long"
- The first parameter is the AppDomain.Id, the second the second the AppDomain.FriendlyName
- This string is used in
+ Gets or sets format-string for displaying details.
+ This string is used in where
+ first parameter is and second is
+
+ Default: Long . How alias names are mapped:
+ Short = {0:00}
+ Long = {0:0000}:{1}
+ Friendly = {1}
+
@@ -11058,12 +8923,13 @@
The AppSetting item-name
+ [Required] Default:
Obsolete and replaced by with NLog v4.6.
-
+
The AppSetting item-name
@@ -11071,6 +8937,7 @@
The default value to render if the AppSetting value is null.
+ Default:
@@ -11096,22 +8963,21 @@
The (full) name of the assembly. If null, using the entry assembly.
+ Default:
Gets or sets the type of assembly version to retrieve.
-
- Some version type and platform combinations are not fully supported.
- - UWP earlier than .NET Standard 1.5: Value for is always returned unless the parameter is specified.
-
+ Default:
The default value to render if the Version is not available
+ Default:
@@ -11119,19 +8985,14 @@
Gets or sets the custom format of the assembly version output.
- Supported placeholders are 'major', 'minor', 'build' and 'revision'.
- The default .NET template for version numbers is 'major.minor.build.revision'. See
- https://docs.microsoft.com/en-gb/dotnet/api/system.version?view=netframework-4.7.2#remarks
- for details.
+ Default: major.minor.build.revision .
+ Supported placeholders are 'major', 'minor', 'build' and 'revision'. For more details
-
-
-
@@ -11160,6 +9021,349 @@
Gets the product version, extracted from the additional version information.
+
+
+ The current application domain's base directory.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Use base dir of current process. Alternative one can just use ${processdir}
+
+ Default:
+
+
+
+
+ Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish)
+
+ Default:
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the name of the file to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+ Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ The call site source file name. Full callsite
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating whether to include source file path.
+
+ Default:
+
+
+
+
+ Gets or sets the number of frames to skip.
+
+ Default:
+
+
+
+
+ Logger should capture StackTrace, if it was not provided manually
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ The call site (class name, method name and source information).
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating whether to render the class name.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to render the include the namespace with .
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to render the method name.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation
+ (everything after an await-statement inside of an async method).
+
+ Default:
+
+
+
+
+ Gets or sets the number of frames to skip.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to render the source file name and line number.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to include source file path.
+
+ Default:
+
+
+
+
+ Logger should capture StackTrace, if it was not provided manually
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ The call site source line number. Full callsite
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the number of frames to skip.
+
+ Default:
+
+
+
+
+ Logger should capture StackTrace, if it was not provided manually
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ A counter value (increases on each layout rendering).
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the initial value of the counter.
+
+ Default:
+
+
+
+
+ Gets or sets the value for incrementing the counter for every layout rendering.
+
+ Default:
+
+
+
+
+ Gets or sets the name of the sequence. Different named sequences can have individual values.
+
+ Default:
+
+
+
+
+
+
+
+ The current working directory of the application.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the file to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+ Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+
+
+
+ Current date and time.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+ Default:
+
+
+
+
+ Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format).
+
+ Default: yyyy/MM/dd HH:mm:ss.fff
+
+
+
+
+ Gets or sets a value indicating whether to output UTC time instead of local time.
+
+ Default:
+
+
+
+
+
+
+
+ DB null for a database
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+
+
+
+ The OS dependent directory separator
+
+
+
+
+
+
+
+ The environment variable.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the environment variable.
+
+ [Required] Default:
+
+
+
+
+ Gets or sets the default value to be used when the environment variable is not set.
+
+ Default:
+
+
+
+
+
+
+
+
Thread identity information (username).
@@ -11173,18 +9377,21 @@
Gets or sets a value indicating whether username should be included.
+ Default:
Gets or sets a value indicating whether domain name should be included.
+ Default:
Gets or sets the default value to be used when the User is not set.
+ Default: UserUnknown
@@ -11192,10 +9399,339 @@
Gets or sets the default value to be used when the Domain is not set.
+ Default: DomainUnknown
+
+
+ Log event context data. See .
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the item.
+
+ [Required] Default:
+
+
+
+
+ Format string for conversion from object to string.
+
+ Default:
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+ Default:
+
+
+
+
+ Gets or sets the object-property-navigation-path for lookup of nested property
+
+ Default:
+
+
+
+
+ Gets or sets whether to perform case-sensitive property-name lookup
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ Render information of
+ for the exception passed to the logger call
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the key to search the exception Data for
+
+ [Required] Default:
+
+
+
+
+ Gets or sets whether to render innermost Exception from
+
+ Default:
+
+
+
+
+ Format string for conversion from object to string.
+
+ Default:
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ Exception information provided through
+ a call to one of the Logger.*Exception() methods.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the format of the output. Must be a comma-separated list of exception
+ properties: Message, Type, ShortType, ToString, Method, StackTrace.
+ This parameter value is case-insensitive.
+
+ [Required] Default: ToString,Data
+
+
+
+
+ Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception
+ properties: Message, Type, ShortType, ToString, Method, StackTrace.
+ This parameter value is case-insensitive.
+
+ Default:
+
+
+
+
+ Gets or sets the separator used to concatenate parts specified in the Format.
+
+ Default:
+
+
+
+
+ Gets or sets the separator used to concatenate exception data specified in the Format.
+
+ Default: ;
+
+
+
+
+ Gets or sets the maximum number of inner exceptions to include in the output.
+ By default inner exceptions are not enabled for compatibility with NLog 1.0.
+
+ Default:
+
+
+
+
+ Gets or sets the separator between inner exceptions.
+
+ Default:
+
+
+
+
+ Gets or sets whether to render innermost Exception from
+
+ Default:
+
+
+
+
+ Gets or sets whether to collapse exception tree using
+
+ Default:
+
+
+
+
+ Gets the formats of the output of inner exceptions to be rendered in target.
+
+
+
+
+
+
+
+
+
+
+
+ Appends the Message of an Exception to the specified .
+
+ The to append the rendered data to.
+ The exception containing the Message to append.
+
+
+
+ Appends the method name from Exception's stack trace to the specified .
+
+ The to append the rendered data to.
+ The Exception whose method name should be appended.
+
+
+
+ Appends the stack trace from an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose stack trace should be appended.
+
+
+
+ Appends the result of calling ToString() on an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose call to ToString() should be appended.
+
+
+
+ Appends the type of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose type should be appended.
+
+
+
+ Appends the short type of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose short type should be appended.
+
+
+
+ Appends the application source of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose source should be appended.
+
+
+
+ Appends the HResult of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose HResult should be appended.
+
+
+
+ Appends the contents of an Exception's Data property to the specified .
+
+ The to append the rendered data to.
+ The Exception whose Data property elements should be appended.
+
+
+
+ Appends all the serialized properties of an Exception into the specified .
+
+ The to append the rendered data to.
+ The Exception whose properties should be appended.
+
+
+
+ Appends all the additional properties of an Exception like Data key-value-pairs
+
+ The to append the rendered data to.
+ The Exception whose properties should be appended.
+
+
+
+ Split the string and then compile into list of Rendering formats.
+
+
+
+
+ A layout renderer which could have different behavior per instance by using a .
+
+
+
+
+ Initializes a new instance of the class.
+
+ Name without ${}.
+
+
+
+ Initializes a new instance of the class.
+
+ Name without ${}.
+ Method that renders the layout.
+
+
+
+ Name used in config without ${}. E.g. "test" could be used as "${test}".
+
+
+
+
+ Method that renders the layout.
+
+
+
+
+ Format string for conversion from object to string.
+
+ Default:
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+ Default:
+
+
+
+
+
+
+
+ Render the value for this log event
+
+ The logging event.
+ The value.
+
+
+
+ A layout renderer which could have different behavior per instance by using a .
+
+
+
+
+ Initializes a new instance of the class.
+
+ Name without ${}.
+ Method that renders the layout.
+
The information about the garbage collector.
@@ -11209,6 +9745,7 @@
Gets or sets the property to retrieve.
+ Default:
@@ -11249,6 +9786,581 @@
Maximum generation number supported by GC.
+
+
+ Render a Global Diagnostics Context item. See
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the item.
+
+ [Required] Default:
+
+
+
+
+ Format string for conversion from object to string.
+
+ Default:
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ Globally-unique identifier (GUID).
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the GUID format as accepted by Guid.ToString() method.
+
+ Default: N
+
+
+
+
+ Generate the Guid from the NLog LogEvent (Will be the same for all targets)
+
+ Default:
+
+
+
+
+
+
+
+ The host name that the process is running on.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+
+
+
+ Resolves the hostname from environment-variables with fallback to
+
+
+
+
+ Tries the lookup value.
+
+ The lookup function.
+ Type of the lookup.
+
+
+
+
+
+
+
+ Thread identity information (name and authentication information).
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the separator to be used when concatenating
+ parts of identity information.
+
+ Default: :
+
+
+
+
+ Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.Name.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.AuthenticationType.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.IsAuthenticated.
+
+ Default:
+
+
+
+
+
+
+
+ Lookup parameter value from
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the parameter.
+
+ [Required] Default:
+
+
+
+
+
+
+
+ Render environmental information related to logging events.
+
+
+
+
+ Gets the logging configuration this target is part of.
+
+
+
+
+ Value formatter
+
+
+
+
+
+
+
+ Renders the value of layout renderer in the context of the specified log event.
+
+ The log event.
+ String representation of a layout renderer.
+
+
+
+
+
+
+
+
+
+ Initializes this instance.
+
+ The configuration.
+
+
+
+ Closes this instance.
+
+
+
+
+ Renders the value of layout renderer in the context of the specified log event.
+
+ The log event.
+ The layout render output is appended to builder
+
+
+
+ Renders the value of layout renderer in the context of the specified log event into .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Initializes the layout renderer.
+
+
+
+
+ Closes the layout renderer.
+
+
+
+
+ Get the for rendering the messages to a
+
+ LogEvent with culture
+ Culture in on Layout level
+
+
+
+
+ Get the for rendering the messages to a
+
+ LogEvent with culture
+ Culture in on Layout level
+
+
+ is preferred
+
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Register a custom layout renderer.
+
+ Short-cut for registering to default
+ Type of the layout renderer.
+ The layout-renderer type-alias for use in NLog configuration - without '${ }'
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Register a custom layout renderer.
+
+ Short-cut for registering to default
+ Type of the layout renderer.
+ The layout-renderer type-alias for use in NLog configuration - without '${ }'
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Register a custom layout renderer with a callback function . The callback receives the logEvent.
+
+ The layout-renderer type-alias for use in NLog configuration - without '${ }'
+ Callback that returns the value for the layout renderer.
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration.
+
+ The layout-renderer type-alias for use in NLog configuration - without '${ }'
+ Callback that returns the value for the layout renderer.
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration.
+
+ Renderer with callback func
+
+
+
+ Resolves the interface service-type from the service-repository
+
+
+
+
+ Marks class as layout-renderer and attaches a type-alias name for use in NLog configuration.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The layout-renderer type-alias for use in NLog configuration - without '${ }'
+
+
+
+ Format of the ${level} layout renderer output.
+
+
+
+
+ Render the LogLevel standard name.
+
+
+
+
+ Render the first character of the level.
+
+
+
+
+ Render the first character of the level.
+
+
+
+
+ Render the ordinal (aka number) for the level.
+
+
+
+
+ Render the LogLevel full name, expanding Warn / Info abbreviations
+
+
+
+
+ Render the LogLevel as 3 letter abbreviations (Trc, Dbg, Inf, Wrn, Err, Ftl)
+
+
+
+
+ The log level.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating the output format of the level.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether upper case conversion should be applied.
+
+ Default:
+
+
+
+
+
+
+
+ A string literal.
+
+
+ This is used to escape '${' sequence
+ as ;${literal:text=${}'
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The literal text value.
+ This is used by the layout compiler.
+
+
+
+ Gets or sets the literal text.
+
+
+
+
+
+
+
+
+ A string literal with a fixed raw value
+
+
+
+
+ Initializes a new instance of the class.
+
+ The literal text value.
+
+ Fixed raw value
+ This is used by the layout compiler.
+
+
+
+ The logger name.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki///
+
+
+
+ Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character).
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to render prefix of logger name (the part before the trailing dot character).
+
+ Default:
+
+
+
+
+
+
+
+ The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating whether to output UTC time instead of local time.
+
+ Default:
+
+
+
+
+
+
+
+ The machine name that the process is running on.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+
+
+
+
+
+
+ The formatted log message.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating whether to log exception along with message.
+
+ Default:
+
+
+
+
+ Gets or sets the string that separates message from the exception.
+
+ Default: |
+
+
+
+
+ Gets or sets whether it should render the raw message without formatting parameters
+
+ Default:
+
+
+
+
+
+
+
+ A newline literal.
+
+
+
+
+
+
+
+ The directory where NLog.dll is located.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the file to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+ Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ The executable directory from the FileName,
+ using the current process
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the file to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+ Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+
+
+
+
The identifier of the current process.
@@ -11284,18 +10396,22 @@
Gets or sets the property to retrieve.
+ Default:
- Gets or sets the format-string to use if the property supports it (Ex. DateTime / TimeSpan / Enum)
+ Gets or sets the format string used when converting the property value to a string, when the
+ property supports formatting (e.g., , , or enum types).
-
+ Default:
+
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
+ Default:
@@ -11520,6 +10636,7 @@
Gets or sets a value indicating whether to write the full path to the process executable.
+ Default:
@@ -11535,524 +10652,36 @@
-
+
- Designates a property of the class as an ambient property.
-
-
- non-ambient: ${uppercase:${level}}
- ambient : ${level:uppercase}
-
-
-
-
- Initializes a new instance of the class.
-
- Ambient property name.
-
-
-
- Marks class as layout-renderer and attaches a type-alias name for use in NLog configuration.
-
-
-
-
- Initializes a new instance of the class.
-
- The layout-renderer type-alias for use in NLog configuration - without '${ }'
-
-
-
- The call site source file name. Full callsite
+ The process time in format HH:mm:ss.mmm.
- See NLog Wiki
+ See NLog Wiki
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
-
+
- Gets or sets a value indicating whether to include source file path.
-
-
-
-
-
- Gets or sets the number of frames to skip.
-
-
-
-
-
- Logger should capture StackTrace, if it was not provided manually
-
-
-
-
-
-
-
-
-
-
-
- The call site (class name, method name and source information).
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating whether to render the class name.
-
-
-
-
-
- Gets or sets a value indicating whether to render the include the namespace with .
-
-
-
-
-
- Gets or sets a value indicating whether to render the method name.
-
-
-
-
-
- Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate.
-
-
-
-
-
- Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation
- (everything after an await-statement inside of an async method).
-
-
-
-
-
- Gets or sets the number of frames to skip.
-
-
-
-
-
- Gets or sets a value indicating whether to render the source file name and line number.
-
-
-
-
-
- Gets or sets a value indicating whether to include source file path.
-
-
-
-
-
- Logger should capture StackTrace, if it was not provided manually
-
-
-
-
-
-
-
-
-
-
-
- The call site source line number. Full callsite
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the number of frames to skip.
-
-
-
-
-
- Logger should capture StackTrace, if it was not provided manually
-
-
-
-
-
-
-
-
-
-
-
- Format of the ${stacktrace} layout renderer output.
-
-
-
-
- Raw format (multiline - as returned by StackFrame.ToString() method).
-
-
-
-
- Flat format (class and method names displayed in a single line).
-
-
-
-
- Detailed flat format (method signatures displayed in a single line).
-
-
-
-
- Stack trace renderer.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the output format of the stack trace.
-
-
-
-
-
- Gets or sets the number of top stack frames to be rendered.
-
-
-
-
-
- Gets or sets the number of frames to skip.
-
-
-
-
-
- Gets or sets the stack frame separator string.
-
-
-
-
-
- Logger should capture StackTrace, if it was not provided manually
-
-
-
-
-
- Gets or sets whether to render StackFrames in reverse order
-
-
-
-
-
-
-
-
-
-
-
- Log event context data.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets string that will be used to separate key/value pairs.
-
-
-
-
-
- Get or set if empty values should be included.
-
- A value is empty when null or in case of a string, null or empty string.
-
-
-
-
-
- Gets or sets whether to include the contents of the properties-dictionary.
-
-
-
-
-
- Gets or sets the keys to exclude from the output. If omitted, none are excluded.
-
-
-
-
-
- Enables capture of ScopeContext-properties from active thread context
-
-
-
-
- Gets or sets how key/value pairs will be formatted.
-
-
-
-
-
- Gets or sets the culture used for rendering.
+ Gets or sets a value indicating whether to output in culture invariant format
+ Default:
-
-
-
-
+
- Log event context data. See .
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
+ Default:
-
-
- Gets or sets the object-property-navigation-path for lookup of nested property
-
-
-
-
-
- Gets or sets whether to perform case-sensitive property-name lookup
-
-
-
+
-
+
- Render a Global Diagnostics Context item. See
+ Write timestamp to builder with format hh:mm:ss:fff
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
-
-
-
- Lookup parameter value from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the parameter.
-
-
-
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Render Mapped Diagnostics Logical (MDC) from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Render Mapped Diagnostics Logical Context (MDLC) from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Render Nested Diagnostic Context (NDC) from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the number of top stack frames to be rendered.
-
-
-
-
-
- Gets or sets the number of bottom stack frames to be rendered.
-
-
-
-
-
- Gets or sets the separator to be used for concatenating nested diagnostics context output.
-
-
-
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Render Nested Diagnostic Context (NDLC) from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the number of top stack frames to be rendered.
-
-
-
-
-
- Gets or sets the number of bottom stack frames to be rendered.
-
-
-
-
-
- Gets or sets the separator to be used for concatenating nested logical context output.
-
-
-
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Render Nested Diagnostic Context (NDLC) timings from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets whether to only include the duration of the last scope created
-
-
-
-
-
- Gets or sets whether to just display the scope creation time, and not the duration
-
-
-
-
-
- Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format).
-
-
-
-
-
@@ -12067,6 +10696,7 @@
Gets or sets the indent token.
+ Default:
@@ -12085,32 +10715,40 @@
Gets or sets the number of top stack frames to be rendered.
+ Default:
Gets or sets the number of bottom stack frames to be rendered.
+ Default:
Gets or sets the separator to be used for concatenating nested logical context output.
+ Default:
Gets or sets how to format each nested state. Ex. like JSON = @
+ Default:
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
+ Default:
+
+
+
@@ -12127,20 +10765,26 @@
Gets or sets the name of the item.
+ [Required] Default:
Format string for conversion from object to string.
+ Default:
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
+ Default:
+
+
+
@@ -12157,191 +10801,56 @@
Gets or sets whether to only include the duration of the last scope created
+ Default:
Gets or sets whether to just display the scope creation time, and not the duration
+ Default:
+
+
+
+
+ Gets or sets whether to just display the scope creation time, and not the duration
+
+ Default:
-
- Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format).
+
+ Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format).
- When Format has not been specified, then it will render TimeSpan.TotalMilliseconds
-
-
+ When Format has not been specified, then it will render TimeSpan.TotalMilliseconds
+
+ Default:
+
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
-
+ Default:
+
-
-
- A renderer that puts into log a System.Diagnostics trace correlation id.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
-
-
-
- A counter value (increases on each layout rendering).
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the initial value of the counter.
-
-
-
-
-
- Gets or sets the value to be added to the counter after each layout rendering.
-
-
-
-
-
- Gets or sets the name of the sequence. Different named sequences can have individual values.
-
-
-
-
-
-
-
-
- Globally-unique identifier (GUID).
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the GUID format as accepted by Guid.ToString() method.
-
-
-
-
-
- Generate the Guid from the NLog LogEvent (Will be the same for all targets)
-
-
-
-
-
-
-
- The sequence ID
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
+
+ The sequence ID
+
+ Marked obsolete with NLog 6.0, instead use ${counter}
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
-
-
- Current date and time.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
- Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format).
-
-
-
-
-
- Gets or sets a value indicating whether to output UTC time instead of local time.
-
-
-
-
-
-
-
-
- The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating whether to output UTC time instead of local time.
-
-
-
-
-
-
-
-
- The process time in format HH:mm:ss.mmm.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating whether to output in culture invariant format
-
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
-
-
-
- Write timestamp to builder with format hh:mm:ss:fff
-
-
The short date in a sortable format yyyy-MM-dd.
@@ -12355,205 +10864,12 @@
Gets or sets a value indicating whether to output UTC time instead of local time.
+ Default:
-
-
- The Ticks value of current date and time.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
-
-
-
- The time in a 24-hour, sortable format HH:mm:ss.mmmm.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating whether to output UTC time instead of local time.
-
-
-
-
-
- Gets or sets a value indicating whether to output in culture invariant format
-
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
-
-
-
- DB null for a database
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
-
-
-
- The current application domain's base directory.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- cached
-
-
-
-
- Use base dir of current process. Alternative one can just use ${processdir}
-
-
-
-
-
- Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish)
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the name of the file to be Path.Combine()'d with the base directory.
-
-
-
-
-
- Gets or sets the name of the directory to be Path.Combine()'d with the base directory.
-
-
-
-
-
-
-
-
- The current working directory of the application.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the file to be Path.Combine()'d with the current directory.
-
-
-
-
-
- Gets or sets the name of the directory to be Path.Combine()'d with the current directory.
-
-
-
-
-
-
-
-
- The directory where NLog.dll is located.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the file to be Path.Combine()'d with the directory name.
-
-
-
-
-
- Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The executable directory from the FileName,
- using the current process
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the file to be Path.Combine()'d with the process directory.
-
-
-
-
-
- Gets or sets the name of the directory to be Path.Combine()'d with the process directory.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
-
System special folder path from
@@ -12606,13 +10922,15 @@
Gets or sets the name of the file to be Path.Combine()'d with the directory name.
-
+ Default:
+
Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
-
+ Default:
+
@@ -12627,6 +10945,86 @@
Initializes a new instance of the class.
+
+
+ Format of the ${stacktrace} layout renderer output.
+
+
+
+
+ Raw format (multiline - as returned by StackFrame.ToString() method).
+
+
+
+
+ Flat format (class and method names displayed in a single line).
+
+
+
+
+ Detailed flat format (method signatures displayed in a single line).
+
+
+
+
+ Stack trace renderer.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the output format of the stack trace.
+
+ Default:
+
+
+
+
+ Gets or sets the number of top stack frames to be rendered.
+
+ Default:
+
+
+
+
+ Gets or sets the number of frames to skip.
+
+ Default:
+
+
+
+
+ Gets or sets the stack frame separator string.
+
+ Default: =>
+
+
+
+
+ Logger should capture StackTrace, if it was not provided manually
+
+ Default:
+
+
+
+
+ Gets or sets whether to render StackFrames in reverse order
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+
A temporary directory.
@@ -12640,12 +11038,14 @@
Gets or sets the name of the file to be Path.Combine()'d with the directory name.
+ Default:
Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
+ Default:
@@ -12654,903 +11054,6 @@
-
-
- The OS dependent directory separator
-
-
-
-
-
-
-
- Render information of
- for the exception passed to the logger call
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the key to search the exception Data for
-
-
-
-
-
- Gets or sets whether to render innermost Exception from
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
-
-
-
- Exception information provided through
- a call to one of the Logger.*Exception() methods.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the format of the output. Must be a comma-separated list of exception
- properties: Message, Type, ShortType, ToString, Method, StackTrace.
- This parameter value is case-insensitive.
-
-
-
-
-
-
-
- Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception
- properties: Message, Type, ShortType, ToString, Method, StackTrace.
- This parameter value is case-insensitive.
-
-
-
-
-
- Gets or sets the separator used to concatenate parts specified in the Format.
-
-
-
-
-
- Gets or sets the separator used to concatenate exception data specified in the Format.
-
-
-
-
-
- Gets or sets the maximum number of inner exceptions to include in the output.
- By default inner exceptions are not enabled for compatibility with NLog 1.0.
-
-
-
-
-
- Gets or sets the separator between inner exceptions.
-
-
-
-
-
- Gets or sets whether to render innermost Exception from
-
-
-
-
-
- Gets or sets whether to collapse exception tree using
-
-
-
-
-
- Gets the formats of the output of inner exceptions to be rendered in target.
-
-
-
-
-
- Gets the formats of the output to be rendered in target.
-
-
-
-
-
-
-
-
- Appends the Message of an Exception to the specified .
-
- The to append the rendered data to.
- The exception containing the Message to append.
-
-
-
- Appends the method name from Exception's stack trace to the specified .
-
- The to append the rendered data to.
- The Exception whose method name should be appended.
-
-
-
- Appends the stack trace from an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose stack trace should be appended.
-
-
-
- Appends the result of calling ToString() on an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose call to ToString() should be appended.
-
-
-
- Appends the type of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose type should be appended.
-
-
-
- Appends the short type of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose short type should be appended.
-
-
-
- Appends the application source of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose source should be appended.
-
-
-
- Appends the HResult of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose HResult should be appended.
-
-
-
- Appends the contents of an Exception's Data property to the specified .
-
- The to append the rendered data to.
- The Exception whose Data property elements should be appended.
-
-
-
- Appends all the serialized properties of an Exception into the specified .
-
- The to append the rendered data to.
- The Exception whose properties should be appended.
-
-
-
- Appends all the additional properties of an Exception like Data key-value-pairs
-
- The to append the rendered data to.
- The Exception whose properties should be appended.
-
-
-
- Split the string and then compile into list of Rendering formats.
-
-
-
-
- Renders contents of the specified file.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the name of the file.
-
-
-
-
-
- Gets or sets the encoding used in the file.
-
- The encoding.
-
-
-
-
-
-
-
- A layout renderer which could have different behavior per instance by using a .
-
-
-
-
- Initializes a new instance of the class.
-
- Name without ${}.
-
-
-
- Initializes a new instance of the class.
-
- Name without ${}.
- Method that renders the layout.
-
-
-
- Name used in config without ${}. E.g. "test" could be used as "${test}".
-
-
-
-
- Method that renders the layout.
-
- This public property will be removed in NLog 5.
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
-
-
-
- Render the value for this log event
-
- The logging event.
- The value.
-
-
-
- A layout renderer which could have different behavior per instance by using a .
-
-
-
-
- Initializes a new instance of the class.
-
- Name without ${}.
- Method that renders the layout.
-
-
-
- Thread identity information (name and authentication information).
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the separator to be used when concatenating
- parts of identity information.
-
-
-
-
-
- Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.Name.
-
-
-
-
-
- Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.AuthenticationType.
-
-
-
-
-
- Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.IsAuthenticated.
-
-
-
-
-
-
-
-
- Render environmental information related to logging events.
-
-
-
-
- Gets the logging configuration this target is part of.
-
-
-
-
- Value formatter
-
-
-
-
-
-
-
- Renders the value of layout renderer in the context of the specified log event.
-
- The log event.
- String representation of a layout renderer.
-
-
-
-
-
-
-
-
-
- Initializes this instance.
-
- The configuration.
-
-
-
- Closes this instance.
-
-
-
-
- Renders the value of layout renderer in the context of the specified log event.
-
- The log event.
- The layout render output is appended to builder
-
-
-
- Renders the value of layout renderer in the context of the specified log event into .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Initializes the layout renderer.
-
-
-
-
- Closes the layout renderer.
-
-
-
-
- Get the for rendering the messages to a
-
- LogEvent with culture
- Culture in on Layout level
-
-
-
-
- Get the for rendering the messages to a
-
- LogEvent with culture
- Culture in on Layout level
-
-
- is preferred
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Register a custom layout renderer.
-
- Short-cut for registering to default
- Type of the layout renderer.
- The layout-renderer type-alias for use in NLog configuration - without '${ }'
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Register a custom layout renderer.
-
- Short-cut for registering to default
- Type of the layout renderer.
- The layout-renderer type-alias for use in NLog configuration - without '${ }'
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Register a custom layout renderer with a callback function . The callback receives the logEvent.
-
- The layout-renderer type-alias for use in NLog configuration - without '${ }'
- Callback that returns the value for the layout renderer.
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration.
-
- The layout-renderer type-alias for use in NLog configuration - without '${ }'
- Callback that returns the value for the layout renderer.
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration.
-
- Renderer with callback func
-
-
-
- Resolves the interface service-type from the service-repository
-
-
-
-
- Format of the ${level} layout renderer output.
-
-
-
-
- Render the LogLevel standard name.
-
-
-
-
- Render the first character of the level.
-
-
-
-
- Render the first character of the level.
-
-
-
-
- Render the ordinal (aka number) for the level.
-
-
-
-
- Render the LogLevel full name, expanding Warn / Info abbreviations
-
-
-
-
- Render the LogLevel as 3 letter abbreviations (Trc, Dbg, Inf, Wrn, Err, Ftl)
-
-
-
-
- The log level.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating the output format of the level.
-
-
-
-
-
- Gets or sets a value indicating whether upper case conversion should be applied.
-
- A value of true if upper case conversion should be applied otherwise, false.
-
-
-
-
-
-
-
- A string literal.
-
-
- This is used to escape '${' sequence
- as ;${literal:text=${}'
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The literal text value.
- This is used by the layout compiler.
-
-
-
- Gets or sets the literal text.
-
-
-
-
-
-
-
-
- A string literal with a fixed raw value
-
-
-
-
- Initializes a new instance of the class.
-
- The literal text value.
-
- Fixed raw value
- This is used by the layout compiler.
-
-
-
- XML event description compatible with log4j, Chainsaw and NLogViewer.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
-
-
-
- Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema.
-
-
-
-
-
- Gets or sets a value indicating whether the XML should use spaces for indentation.
-
-
-
-
-
- Gets or sets the log4j:event logger-xml-attribute. Default: ${logger}
-
-
-
-
-
- Gets or sets the log4j:event message-xml-element. Default: ${message}
-
-
-
-
-
- Gets or sets the log4j:event log4japp-xml-element. By default it's the friendly name of the current AppDomain.
-
-
-
-
-
- Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network.
-
-
-
-
-
- Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the stack.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets whether to include the contents of the properties-dictionary.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets the stack separator for log4j:NDC in output from nested context.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets the stack separator for log4j:NDC in output from nested context.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets the stack separator for log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets whether the log4j:throwable xml-element should be written as CDATA
-
-
-
-
-
-
-
-
-
-
-
- The logger name.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki///
-
-
-
- Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character).
-
-
-
-
-
- Gets or sets a value indicating whether to render prefix of logger name (the part before the trailing dot character).
-
-
-
-
-
-
-
- The environment variable.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the environment variable.
-
-
-
-
-
- Gets or sets the default value to be used when the environment variable is not set.
-
-
-
-
-
-
-
-
- The host name that the process is running on.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
-
-
-
- Gets the host name and falls back to computer name if not available
-
-
-
-
- Tries the lookup value.
-
- The lookup function.
- Type of the lookup.
-
-
-
-
-
-
-
- The IP address from the network interface card (NIC) on the local machine
-
-
- Skips loopback-adapters and tunnel-interfaces. Skips devices without any MAC-address
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Get or set whether to prioritize IPv6 or IPv4 (default)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The machine name that the process is running on.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
-
-
-
-
-
-
- The formatted log message.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a value indicating whether to log exception along with message.
-
-
-
-
-
- Gets or sets the string that separates message from the exception.
-
-
-
-
-
- Gets or sets whether it should render the raw message without formatting parameters
-
-
-
-
-
-
-
-
- A newline literal.
-
-
-
-
-
The identifier of the current thread.
@@ -13575,6 +11078,51 @@
+
+
+ The Ticks value of current date and time.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+
+
+
+ The time in a 24-hour, sortable format HH:mm:ss.mmmm.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating whether to output UTC time instead of local time.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to output in culture invariant format
+
+ Default:
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+ Default:
+
+
+
+
+
Render a NLog Configuration variable assigned from API or loaded from config-file
@@ -13588,13 +11136,14 @@
Gets or sets the name of the NLog variable.
+ [Required] Default:
Gets or sets the default value to be used when the variable is not set.
- Not used if Name is null
+ Default:
@@ -13615,15 +11164,15 @@
-
- Applies caching to another layout output.
-
-
- The value of the inner layout will be rendered only once and reused subsequently.
+
+ Applies caching to another layout output.
+
+
+ The value of the inner layout will be rendered only once and reused subsequently.
- See NLog Wiki
-
- Documentation on NLog Wiki
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -13643,24 +11192,28 @@
Gets or sets a value indicating whether this is enabled.
+ Default:
Gets or sets a value indicating when the cache is cleared.
+ Default: |
- Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s
+ Gets or sets whether to reset cached value when CacheKey output changes. Example CacheKey could render current day, so the cached-value is reset on day roll.
+ Default:
Gets or sets a value indicating how many seconds the value should stay cached until it expires
+ Default:
@@ -13689,6 +11242,7 @@
Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path
(illegal characters are replaced with '_').
+ Default:
@@ -13710,21 +11264,21 @@
Gets or sets whether output should be encoded with Json-string escaping.
+ Default:
Gets or sets a value indicating whether to escape non-ascii characters
+ Default:
- Should forward slashes be escaped? If true, / will be converted to \/
+ Should forward slashes be escaped? If , / will be converted to \/
-
- If not set explicitly then the value of the parent will be used as default.
-
+ Default:
@@ -13744,14 +11298,16 @@
- Gets or sets the length in characters.
+ Gets or sets the length in characters. Zero or negative means disabled.
+ Default:
Same as -property, so it can be used as ambient property.
+ Default:
${message:truncate=80}
@@ -13776,7 +11332,7 @@
Gets or sets a value indicating whether lower case conversion should be applied.
- A value of true if lower case conversion should be applied; otherwise, false.
+ A value of if lower case conversion should be applied; otherwise, .
@@ -13790,8 +11346,9 @@
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
+ Default:
@@ -13810,7 +11367,7 @@
Gets or sets a value indicating whether to disable the IRawValue-interface
- A value of true if IRawValue-interface should be ignored; otherwise, false.
+ Default:
@@ -13834,25 +11391,29 @@
Shortcut for
+ Default:
Gets or sets the object-property-navigation-path for lookup of nested property
+ [Required] Default:
Format string for conversion from object to string.
-
+ Default:
+
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
-
+ Default:
+
@@ -13879,6 +11440,7 @@
If is not found, print this layout.
+ Default:
@@ -13903,6 +11465,7 @@
If is not found, print this layout.
+ Default:
@@ -13939,10 +11502,11 @@
- Gets or sets the number of characters to pad the output to.
+ Gets or sets the number of characters to pad the output to.
- Positive padding values cause left padding, negative values
+ Default: .
+ Positive padding values cause left padding, negative values
cause right padding to the desired width.
@@ -13951,23 +11515,26 @@
Gets or sets the padding character.
+ Default:
- Gets or sets a value indicating whether to trim the
+ Gets or sets a value indicating whether to trim the
rendered text to the absolute value of the padding length.
+ Default:
Gets or sets a value indicating whether a value that has
- been truncated (when is true)
+ been truncated (when is )
will be left-aligned (characters removed from the right)
or right-aligned (characters removed from the left). The
default is left alignment.
+ Default:
@@ -13981,7 +11548,7 @@
Replaces a string in the output of another layout with another string.
- ${replace:searchFor=\\n+:replaceWith=-:regex=true:inner=${message}}
+ ${replace:searchFor=foo:replaceWith=bar:inner=${message}}
See NLog Wiki
@@ -13992,49 +11559,28 @@
Gets or sets the text to search for.
- The text search for.
+ [Required] Default:
-
-
- Gets or sets a value indicating whether regular expressions should be used.
-
- A value of true if regular expressions should be used otherwise, false.
-
-
Gets or sets the replacement string.
- The replacement string.
+ Default:
-
-
- Gets or sets the group name to replace when using regular expressions.
- Leave null or empty to replace without using group name.
-
- The group name.
-
-
Gets or sets a value indicating whether to ignore case.
- A value of true if case should be ignored when searching; otherwise, false.
+ Default:
- Gets or sets a value indicating whether to search for whole words.
-
- A value of true if whole words should be searched for; otherwise, false.
-
-
-
-
- Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used.
+ Gets or sets a value indicating whether to search for whole words
+ Default:
@@ -14043,21 +11589,6 @@
-
-
- This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass
-
-
-
-
- A match evaluator for Regular Expression based replacing
-
- Input string.
- Group name in the regex.
- Replace value.
- Match from regex.
- Groups replaced with .
-
Replaces newline characters from the result of another layout renderer with spaces.
@@ -14069,10 +11600,18 @@
- Gets or sets a value indicating the string that should be used for separating lines.
+ Gets or sets a value indicating the string that should be used to replace newlines.
+ Default:
+
+
+ Gets or sets a value indicating the string that should be used to replace newlines (alias for )
+
+ Default:
+
+
@@ -14090,8 +11629,9 @@
- Gets or sets the length in characters.
+ Gets or sets the length in characters. Zero or negative means disabled.
+ Default:
@@ -14101,15 +11641,15 @@
-
- Decodes text "encrypted" with ROT-13.
-
-
- See https://en.wikipedia.org/wiki/ROT13.
+
+ Decodes text "encrypted" with ROT-13.
+
+
+ See https://en.wikipedia.org/wiki/ROT13.
- See NLog Wiki
-
- Documentation on NLog Wiki
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -14153,16 +11693,16 @@
- Gets or sets the start index.
+ Gets or sets the start index.
- Index
+ Default:
Gets or sets the length in characters. If null, then the whole string
- Index
+ Default:
@@ -14194,9 +11734,9 @@
- Gets or sets a value indicating whether lower case conversion should be applied.
+ Gets or sets a value indicating whether whitespace should be trimmed.
- A value of true if lower case conversion should be applied; otherwise, false.
+ Default:
@@ -14211,7 +11751,7 @@
${uppercase:${level}} //[DefaultParameter]
- ${uppercase:Inner=${level}}
+ ${uppercase:Inner=${level}}
${level:uppercase} // [AmbientProperty]
@@ -14223,13 +11763,14 @@
Gets or sets a value indicating whether upper case conversion should be applied.
- A value of true if upper case conversion should be applied otherwise, false.
+ Default:
Same as -property, so it can be used as ambient property.
+ Default:
${level:toupper}
@@ -14237,8 +11778,9 @@
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
+ Default:
@@ -14256,30 +11798,25 @@
Documentation on NLog Wiki
-
-
- Initializes a new instance of the class.
-
-
Gets or sets a value indicating whether spaces should be translated to '+' or '%20'.
- A value of true if space should be translated to '+'; otherwise, false.
+ Default:
Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs)
- A value of true if Rfc3986; otherwise, false for legacy Rfc2396.
+ Default:
Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard)
- A value of true if legacy encoding; otherwise, false for standard UTF8 encoding.
+ Default:
@@ -14295,8 +11832,9 @@
- Gets or sets the layout to be rendered when original layout produced empty result.
+ Gets or sets the layout to be rendered when Inner-layout produces empty result.
+ Default:
@@ -14321,14 +11859,19 @@
Gets or sets the condition that must be met for the layout to be printed.
+ [Required] Default:
If is not met, print this layout.
+ Default:
+
+
+
@@ -14342,34 +11885,33 @@
- Gets or sets the line length for wrapping.
+ Gets or sets the line length for wrapping. Only positive values are allowed.
-
- Only positive values are allowed
-
+ Default:
-
- Base class for s which wrapping other s.
+
+ Base class for s which wrapping other s.
- This has the property (which is default) and can be used to wrap.
-
-
- ${uppercase:${level}} //[DefaultParameter]
- ${uppercase:Inner=${level}}
-
+ This has the property (which is default) and can be used to wrap.
+
+
+ ${uppercase:${level}} //[DefaultParameter]
+ ${uppercase:Inner=${level}}
+
-
- Gets or sets the wrapped layout.
+
+ Gets or sets the wrapped layout.
- [DefaultParameter] so Inner: is not required if it's the first
-
-
+ [DefaultParameter] so Inner: is not required if it's the first
+
+ Default:
+
@@ -14408,11 +11950,11 @@
Contents of inner layout.
-
- Base class for s which wrapping other s.
+
+ Base class for s which wrapping other s.
- This expects the transformation to work on a
-
+ This expects the transformation to work on a
+
@@ -14450,15 +11992,22 @@
- Gets or sets whether output should be encoded with Xml-string escaping.
+ Gets or sets whether output should be encoded with XML-string escaping.
- Ensures always valid XML, but gives a performance hit
+ Default:
+
+
+ Gets or sets whether output should be wrapped using CDATA section instead of XML-string escaping
+
+ Default:
+
Gets or sets a value indicating whether to transform newlines (\r\n) into (
)
+ Default:
@@ -14506,6 +12055,10 @@
A column in the CSV.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -14523,22 +12076,26 @@
Gets or sets the name of the column.
+ [Required] Default:
- Gets or sets the layout of the column.
+ Gets or sets the layout used for rendering the column value.
+ [Required] Default:
-
- Gets or sets the override of Quoting mode
-
-
- and are faster than the default
-
-
+
+ Gets or sets the override of Quoting mode
+
+
+ Default: .
+
+ For faster performance then consider and
+
+
@@ -14605,33 +12162,37 @@
- Gets or sets a value indicating whether CVS should include header.
+ Gets or sets a value indicating whether CSV should include header.
- A value of true if CVS should include header; otherwise, false.
+ Default:
Gets or sets the column delimiter.
+ Default:
Gets or sets the quoting mode.
+ Default:
Gets or sets the quote Character.
+ Default: "
Gets or sets the custom column delimiter value (valid when is set to ).
+ Default:
@@ -14712,14 +12273,16 @@
- Gets or sets the option to suppress the extra spaces in the output json
+ Gets or sets the option to suppress the extra spaces in the output json.
+ Default:
Gets or sets the option to render the empty object value {}
+ Default:
@@ -14741,6 +12304,10 @@
JSON attribute.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -14766,51 +12333,56 @@
Gets or sets the name of the attribute.
+ [Required] Default:
- Gets or sets the layout that will be rendered as the attribute's value.
+ Gets or sets the layout used for rendering the attribute value.
+ [Required] Default:
Gets or sets the result value type, for conversion of layout rendering output
+ Default:
Gets or sets the fallback value when result value is not available
+ Default:
Gets or sets whether output should be encoded as Json-String-Property, or be treated as valid json.
+ Default:
Gets or sets a value indicating whether to escape non-ascii characters
+ Default:
Should forward slashes be escaped? If true, / will be converted to \/
-
- If not set explicitly then the value of the parent will be used as default.
-
+ Default:
- Gets or sets whether an attribute with empty value should be included in the output
+ Gets or sets whether empty attribute value should be included in the output.
+ Default: . Empty value is either null or empty string
@@ -14835,68 +12407,78 @@
- Gets or sets the option to suppress the extra spaces in the output json
+ Gets or sets the option to suppress the extra spaces in the output json.
+ Default:
Gets or sets the option to render the empty object value {}
+ Default:
Auto indent and create new lines
+ Default:
Gets or sets the option to include all properties from the log event (as JSON)
+ Default:
Gets or sets a value indicating whether to include contents of the dictionary.
+ Default:
Gets or sets whether to include the contents of the dictionary.
+ Default:
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets the option to include all properties from the log event (as JSON)
-
-
+ Gets or sets the option to include all properties from the log event (as JSON)
+
+ Default:
+
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
+ Gets or sets a value indicating whether to include contents of the dictionary.
+
+ Default:
+
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
+ Gets or sets a value indicating whether to include contents of the dictionary.
+
+ Default:
+
Gets or sets the option to exclude null/empty properties from the log event (as JSON)
+ Default:
@@ -14909,15 +12491,14 @@
How far should the JSON serializer follow object references before backing off
+ Default:
- Should forward slashes be escaped? If true, / will be converted to \/
+ Should forward slashes be escaped? If , / will be converted to \/
-
- If not set explicitly then the value of the parent will be used as default.
-
+ Default:
@@ -14940,21 +12521,26 @@
Abstract interface that layouts must implement.
+
+
+ Default Layout-value that renders string.Empty
+
+
Is this layout initialized? See
-
- Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread).
-
-
- Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are
- like that as well.
+
+ Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread).
+
+
+ Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are
+ like that as well.
- Thread-agnostic layouts only use contents of for its output.
-
+ Thread-agnostic layouts only use contents of for its output.
+
@@ -14968,21 +12554,21 @@
- Converts a given text to a .
+ Implicitly converts the specified string as LayoutRenderer-expression into a .
Text to be converted.
object represented by the text.
- Implicitly converts the specified string to a .
+ Parses the specified string as LayoutRenderer-expression into a .
The layout string.
Instance of .'
- Implicitly converts the specified string to a .
+ Parses the specified string as LayoutRenderer-expression into a .
The layout string.
The NLog factories to use when resolving layout renderers.
@@ -14990,33 +12576,36 @@
- Implicitly converts the specified string to a .
+ Parses the specified string as LayoutRenderer-expression into a .
The layout string.
- Whether should be thrown on parse errors (false = replace unrecognized tokens with a space).
+ Whether should be thrown on parse errors ( = replace unrecognized tokens with a space).
Instance of .
+
+
+ Create a containing literal value
+
+
Create a from a lambda method.
Method that renders the layout.
- Tell if method is safe for concurrent threading.
+ Whether method is ThreadAgnostic and doesn't depend on context of the logging application thread.
Instance of .
-
- Precalculates the layout for the specified log event and stores the result
- in per-log event cache.
+
+ Precalculates the layout for the specified log event and stores the result
+ in per-log event cache.
- Only if the layout doesn't have [ThreadAgnostic] and doesn't contain layouts with [ThreadAgnostic].
-
- The log event.
-
- Calling this method enables you to store the log event in a buffer
- and/or potentially evaluate it in another thread even though the
- layout may contain thread-dependent renderer.
-
+ Skips context capture when Layout have [ThreadAgnostic], and only contains layouts with [ThreadAgnostic].
+
+ The log event.
+
+ Override this method to make it conditional whether to capture Layout output-value for
+
@@ -15034,15 +12623,6 @@
The logging event.
Appends the formatted output to target
-
-
- Optimized version of that works best when
- override of is available.
-
- The logging event.
- Appends the string representing log event to target
- Should rendering result be cached on LogEventInfo
-
Valid default implementation of , when having implemented the optimized
@@ -15097,24 +12677,24 @@
The formatted output.
-
- Obsolete and replaced by with NLog v5.2.
+
+ Obsolete and replaced by with NLog v5.2.
- Register a custom Layout.
-
- Short-cut for registering to default
- Type of the Layout.
- Name of the Layout.
+ Register a custom Layout.
+
+ Short-cut for registering to default
+ Type of the Layout.
+ Name of the Layout.
-
- Obsolete and replaced by with NLog v5.2.
+
+ Obsolete and replaced by with NLog v5.2.
- Register a custom Layout.
-
- Short-cut for registering to default
- Type of the Layout.
- Name of the Layout.
+ Register a custom Layout.
+
+ Short-cut for registering to default
+ Type of the Layout.
+ Name of the Layout.
@@ -15127,8 +12707,8 @@
Try get value
- rawValue if return result is true
- false if we could not determine the rawValue
+ rawValue if return result is
+ if we could not determine the rawValue
@@ -15208,140 +12788,13 @@
-
-
- A specialized layout that renders Log4j-compatible XML events.
-
-
-
- This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer.
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the instance that renders log events.
-
-
-
-
- Gets the collection of parameters. Each parameter contains a mapping
- between NLog layout and a named parameter.
-
-
-
-
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets whether to include the contents of the properties-dictionary.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the stack.
-
-
-
-
-
- Gets or sets the log4j:event logger-xml-attribute. Default: ${logger}
-
-
-
-
-
- Gets or sets the log4j:event message-xml-element. Default: ${message}
-
-
-
-
-
- Gets or sets the log4j:event log4japp-xml-element. By default it's the friendly name of the current AppDomain.
-
-
-
-
-
- Gets or sets whether the log4j:throwable xml-element should be written as CDATA
-
-
-
-
-
- Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network.
-
-
-
-
-
- Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network.
-
-
-
-
-
-
-
-
-
Represents a string with embedded placeholders that can render contextual information.
- This layout is not meant to be used explicitly. Instead you can just use a string containing layout
+ This layout is not meant to be used explicitly. Instead you can just use a string containing layout
renderers everywhere the layout is required.
See NLog Wiki
@@ -15376,12 +12829,12 @@
- Original text before compile to Layout renderes
+ Original text before parsing as Layout renderes.
- Gets or sets the layout text.
+ Gets or sets the layout text that could be parsed.
@@ -15392,7 +12845,7 @@
- Get the fixed text. Only set when is true
+ Get the fixed text. Only set when is
@@ -15417,7 +12870,7 @@
- Converts a text to a simple layout.
+ Implicitly converts the specified string as LayoutRenderer-expression into a .
Text to be converted.
A object.
@@ -15536,6 +12989,14 @@
+
+
+ Create a typed layout from a lambda method.
+
+ Method that renders the layout.
+ Whether method is ThreadAgnostic and doesn't depend on context of the logging application thread.
+ Instance of typed layout.
+
@@ -15572,11 +13033,6 @@
Implements the operator != using
-
-
- Provides access to untyped value without knowing underlying generic type
-
-
Typed Value that is easily configured from NLog.config file
@@ -15589,7 +13045,7 @@
- Gets or sets the layout that will render the result value
+ Gets or sets the layout used for rendering the value.
@@ -15634,6 +13090,10 @@
XML attribute.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -15659,42 +13119,52 @@
Gets or sets the name of the attribute.
+ [Required] Default:
- Gets or sets the layout that will be rendered as the attribute's value.
+ Gets or sets the layout used for rendering the attribute value.
+ [Required] Default:
Gets or sets the result value type, for conversion of layout rendering output
+ Default:
Gets or sets the fallback value when result value is not available
+ Default:
Gets or sets whether output should be encoded with Xml-string escaping, or be treated as valid xml-attribute-value
+ Default:
- Gets or sets whether an attribute with empty value should be included in the output
+ Gets or sets whether empty attribute value should be included in the output.
+ Default: . Empty value is either null or empty string
A XML Element
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -15710,33 +13180,44 @@
Name of the element
-
- Default value "item"
-
+ [Required] Default: item
Value inside the element
+ Default:
- Value inside the element
+ Gets or sets the layout used for rendering the XML-element InnerText.
+ Default:
- Gets or sets whether output should be encoded with Xml-string escaping, or be treated as valid xml-element-value
+ Gets or sets whether output should be encoded with XML-string escaping, or be treated as valid xml-element-value
+ Default:
+
+
+ Gets or sets whether output should be wrapped using CDATA section instead of XML-string escaping
+
+ Default:
+
A specialized layout that renders XML-formatted events.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -15749,7 +13230,6 @@
Name of the XML element
- Upgrade to private protected when using C# 7.2
@@ -15761,7 +13241,8 @@
Auto indent and create new lines
-
+ Default:
+
@@ -15775,64 +13256,76 @@
+
+
+ Gets the collection of context properties that should be included with the other properties.
+
+
+
- Gets or sets whether a ElementValue with empty value should be included in the output
+ Gets or sets whether empty XML-element should be included in the output.
-
+ Default: . Empty value is either null or empty string
+
Gets or sets the option to include all properties from the log event (as XML)
+ Default:
Gets or sets whether to include the contents of the dictionary.
+ Default:
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
+ Gets or sets a value indicating whether to include contents of the dictionary.
+
+ Default:
+
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
+ Gets or sets a value indicating whether to include contents of the dictionary.
+
+ Default:
+
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets the option to include all properties from the log event (as XML)
-
-
+ Gets or sets the option to include all properties from the log event (as XML)
+
+ Default:
+
- List of property names to exclude when is true
+ List of property names to exclude when is
-
+
-
- XML element name to use when rendering properties
-
-
- Support string-format where {0} means property-key-name
+
+ XML element name to use when rendering properties
+
+
+ Support string-format where {0} means property-key-name
- Skips closing element tag when having configured
-
-
+ Skips closing element tag when having configured
+
+
@@ -15840,36 +13333,32 @@
When null (or empty) then key-attribute is not included
-
- Will replace newlines in attribute-value with
-
-
+ Default: key . Newlines in attribute-value will be replaced with
+
XML attribute name to use when rendering property-value
-
- When null (or empty) then value-attribute is not included and
- value is formatted as XML-element-value
-
-
- Skips closing element tag when using attribute for value
- Will replace newlines in attribute-value with
-
-
+ When null (or empty) then value-attribute is not included and
+ value is formatted as XML-element-value.
+
+ Default: . Newlines in attribute-value will be replaced with
+
XML element name to use for rendering IList-collections items
-
+ Default: item
+
How far should the XML serializer follow object references before backing off
-
+ Default:
+
@@ -15920,21 +13409,21 @@
Name of the root XML element
-
- Default value "logevent"
-
+ [Required] Default: logevent
Value inside the root XML element
+ Default:
Determines whether or not this attribute will be Xml encoded.
+ Default:
@@ -16093,7 +13582,7 @@
- The formatted log message.
+ The formatted log message.
@@ -16164,10 +13653,11 @@
Exception information.
-
- Gets the unique identifier of log event which is automatically generated
- and monotonously increasing.
-
+
+ Gets the sequence number for this LogEvent, which monotonously increasing for each LogEvent until int-overflow
+
+ Marked obsolete with NLog 6.0, instead use ${counter:sequence=global} or ${guid:GeneratedFromLogEvent=true}
+
@@ -16185,11 +13675,11 @@
-
- Obsolete and replaced by or ${callsite} with NLog v5.3.
+
+ Obsolete and replaced by or ${callsite} with NLog v5.3.
- Gets the stack frame of the method that did the logging.
-
+ Gets the stack frame of the method that did the logging.
+
@@ -16269,14 +13759,11 @@
Gets the dictionary of per-event context properties.
-
+
- Gets the dictionary of per-event context properties.
- Internal helper for the PropertiesDictionary type.
+ Gets the dictionary of per-event context properties.
- Create the event-properties dictionary, even if no initial template parameters
Provided when having parsed the message template and capture template parameters (else null)
-
@@ -16355,6 +13842,12 @@
String representation of the log event.
+
+
+ Sets the stack trace for the event info.
+
+ The stack trace.
+
Sets the stack trace for the event info.
@@ -16390,7 +13883,7 @@
Gets a custom logger with the full name of the current class (so namespace and class name) and type .
An instance of .
- This is a slow-running method.
+ This is a slow-running method.
Make sure you're not doing this in a loop.
@@ -16405,7 +13898,7 @@
- Overwrite possible file paths (including filename) for possible NLog config files.
+ Overwrite possible file paths (including filename) for possible NLog config files.
When this property is null, the default file paths ( are used.
@@ -16417,15 +13910,9 @@
Note can be null when unloading configuration at shutdown.
-
+
- Obsolete and replaced by with NLog v5.2.
- Occurs when logging gets reloaded.
-
-
-
-
- Initializes static members of the LogManager class.
+ Event that is raised when the current Process / AppDomain terminates.
@@ -16434,12 +13921,12 @@
-
- Obsolete instead use default-constructor, and assign with NLog 5.0.
+
+ Obsolete instead use default-constructor, and assign with NLog 5.0.
- Initializes a new instance of the class.
-
- The config.
+ Initializes a new instance of the class.
+
+ The config.
@@ -16448,29 +13935,29 @@
The config loader
The custom AppEnvironmnet override
-
+
- Gets the current .
+ Repository of interfaces used by NLog to allow override for dependency injection
Gets or sets a value indicating whether exceptions should be thrown. See also .
- A value of true if exception should be thrown; otherwise, false.
+ A value of if exception should be thrown; otherwise, .
By default exceptions are not thrown under any circumstances.
-
- Gets or sets a value indicating whether should be thrown.
+
+ Gets or sets a value indicating whether should be thrown.
- If null then is used.
-
- A value of true if exception should be thrown; otherwise, false.
-
- This option is for backwards-compatibility.
- By default exceptions are not thrown under any circumstances.
-
+ If null then is used.
+
+ A value of if exception should be thrown; otherwise, .
+
+ This option is for backwards-compatibility.
+ By default exceptions are not thrown under any circumstances.
+
@@ -16491,11 +13978,6 @@
Setter will re-configure all -objects, so no need to also call
-
-
- Repository of interfaces used by NLog to allow override for dependency injection
-
-
Gets or sets the global log level threshold. Log events below this threshold are not logged.
@@ -16511,8 +13993,7 @@
- Performs application-defined tasks associated with freeing, releasing, or resetting
- unmanaged resources.
+ Shutdown logging
@@ -16567,7 +14048,7 @@
Gets the specified named logger.
Name of the logger.
- The logger reference. Multiple calls to GetLogger with the same argument
+ The logger reference. Multiple calls to GetLogger with the same argument
are not guaranteed to return the same logger reference.
@@ -16578,7 +14059,7 @@
Name of the logger.
Type of the logger
- The logger reference with type . Multiple calls to GetLogger with the same argument
+ The logger reference with type . Multiple calls to GetLogger with the same argument
are not guaranteed to return the same logger reference.
@@ -16590,19 +14071,19 @@
Name of the logger.
The type of the logger to create. The type must inherit from .
- The logger of type . Multiple calls to GetLogger with the
+ The logger of type . Multiple calls to GetLogger with the
same argument aren't guaranteed to return the same logger reference.
- Loops through all loggers previously returned by GetLogger and recalculates their
+ Loops through all loggers previously returned by GetLogger and recalculates their
target and filter list. Useful after modifying the configuration programmatically
to ensure that all loggers have been properly configured.
- Loops through all loggers previously returned by GetLogger and recalculates their
+ Loops through all loggers previously returned by GetLogger and recalculates their
target and filter list. Useful after modifying the configuration programmatically
to ensure that all loggers have been properly configured.
@@ -16617,14 +14098,14 @@
Flush any pending log messages (in case of asynchronous targets).
- Maximum time to allow for the flush. Any messages after that time
+ Maximum time to allow for the flush. Any messages after that time
will be discarded.
Flush any pending log messages (in case of asynchronous targets).
- Maximum time to allow for the flush. Any messages
+ Maximum time to allow for the flush. Any messages
after that time will be discarded.
@@ -16638,7 +14119,7 @@
Flush any pending log messages (in case of asynchronous targets).
The asynchronous continuation.
- Maximum time to allow for the flush. Any messages
+ Maximum time to allow for the flush. Any messages
after that time will be discarded.
@@ -16648,15 +14129,20 @@
The asynchronous continuation.
Maximum time to allow for the flush. Any messages after that time will be discarded.
+
+
+ Flush any pending log messages
+
+
Suspends the logging, and returns object for using-scope so scope-exit calls
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
- An object that implements IDisposable whose Dispose() method re-enables logging.
+ An object that implements IDisposable whose Dispose() method re-enables logging.
To be used with C# using () statement.
@@ -16664,7 +14150,7 @@
Resumes logging if having called .
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
@@ -16673,33 +14159,18 @@
Returns if logging is currently enabled.
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
- A value of if logging is currently enabled,
+ A value of if logging is currently enabled,
otherwise.
- Raises the event when the configuration is reloaded.
+ Raises the event when the configuration is reloaded.
Event arguments.
-
-
- Obsolete and replaced by with NLog 5.2.
-
- Raises the event when the configuration is reloaded.
-
- Event arguments
-
-
-
- Change this method with NLog v6 to completely disconnect LogFactory from Targets/Layouts
- - Remove LoggingRule-List-parameter
- - Return ITargetWithFilterChain[]
-
-
Currently this is disposing?
@@ -16707,10 +14178,10 @@
- Releases unmanaged and - optionally - managed resources.
+ Shutdown logging without flushing async
- True to release both managed and unmanaged resources;
- false to release only unmanaged resources.
+ to release both managed and unmanaged resources;
+ to release only unmanaged resources.
@@ -16718,69 +14189,50 @@
-
- Obsolete and replaced by and with NLog v5.2.
+
+ Obsolete and replaced by and with NLog v5.2.
- Get file paths (including filename) for the possible NLog config files.
-
- The file paths to the possible config file
+ Get file paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
-
- Obsolete and replaced by and with NLog v5.2.
+
+ Obsolete and replaced by and with NLog v5.2.
- Get file paths (including filename) for the possible NLog config files.
-
- The file paths to the possible config file
+ Get file paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
-
- Obsolete and replaced by and with NLog v5.2.
+
+ Obsolete and replaced by and with NLog v5.2.
- Overwrite the candidates paths (including filename) for the possible NLog config files.
-
- The file paths to the possible config file
+ Overwrite the candidates paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
-
- Obsolete and replaced by and with NLog v5.2.
+
+ Obsolete and replaced by and with NLog v5.2.
- Clear the candidate file paths and return to the defaults.
-
+ Clear the candidate file paths and return to the defaults.
+
-
- Obsolete and replaced by and with NLog v5.2.
+
+ Obsolete and replaced by and with NLog v5.2.
- Loads logging configuration from file (Currently only XML configuration files supported)
-
- Configuration file to be read
- LogFactory instance for fluent interface
+ Loads logging configuration from file (Currently only XML configuration files supported)
+
+ Configuration file to be read
+ LogFactory instance for fluent interface
Logger cache key.
-
-
- Serves as a hash function for a particular type.
-
-
-
-
- Determines if two objects are equal in value.
-
- Other object to compare to.
- True if objects are equal, false otherwise.
-
-
-
- Determines if two objects of the same type are equal in value.
-
- Other object to compare to.
- True if objects are equal, false otherwise.
-
Logger cache.
@@ -16788,7 +14240,7 @@
- Inserts or updates.
+ Inserts or updates.
@@ -16825,10 +14277,10 @@
Remarks:
The DEBUG conditional compilation symbol is default enabled (only) in a debug build.
-
- If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods.
- This could lead to better performance.
-
+
+ If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods.
+ This could lead to better performance.
+
See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx
@@ -19939,31 +17391,31 @@
A value of if logging is enabled for the specified level, otherwise it returns .
-
- Creates new logger that automatically appends the specified property to all log events (without changing current logger)
+
+ Creates new logger that automatically appends the specified property to all log events (without changing current logger)
- With property, all properties can be enumerated.
-
- Property Name
- Property Value
- New Logger object that automatically appends specified property
+ With property, all properties can be enumerated.
+
+ Property Name
+ Property Value
+ New Logger object that automatically appends specified property
-
- Creates new logger that automatically appends the specified properties to all log events (without changing current logger)
+
+ Creates new logger that automatically appends the specified properties to all log events (without changing current logger)
- With property, all properties can be enumerated.
-
- Collection of key-value pair properties
- New Logger object that automatically appends specified properties
+ With property, all properties can be enumerated.
+
+ Collection of key-value pair properties
+ New Logger object that automatically appends specified properties
Obsolete and replaced by that prevents unexpected side-effects in Logger-state.
-
+
Updates the specified context property for the current logger. The logger will append it for all log events.
- With property, all properties can be enumerated (or updated).
+ With property, all properties can be enumerated (or updated).
It is highly recommended to ONLY use for modifying context properties.
@@ -20239,7 +17691,7 @@
- Raises the event when the logger is reconfigured.
+ Raises the event when the logger is reconfigured.
Event arguments
@@ -20331,7 +17783,7 @@
- Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal)
+ Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal)
i.e LogLevel.Off is excluded.
@@ -20354,8 +17806,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is equal to the second one.
The first level.
@@ -20364,8 +17816,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is not equal to the second one.
The first level.
@@ -20374,8 +17826,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is greater than the second one.
The first level.
@@ -20384,8 +17836,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is greater than or equal to the second one.
The first level.
@@ -20394,8 +17846,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is less than the second one.
The first level.
@@ -20404,8 +17856,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is less than or equal to the second one.
The first level.
@@ -20443,8 +17895,8 @@
Determines whether the specified instance is equal to this instance.
The to compare with this instance.
- Value of true if the specified is equal to
- this instance; otherwise, false.
+ Value of if the specified is equal to
+ this instance; otherwise, .
@@ -20452,8 +17904,8 @@
The other object.
- A value less than zero when this logger's is
- less than the other logger's ordinal, 0 when they are equal and
+ A value less than zero when this logger's is
+ less than the other logger's ordinal, 0 when they are equal and
greater than zero when this ordinal is greater than the
other ordinal.
@@ -20464,12 +17916,29 @@
The other object.
- A value less than zero when this logger's is
- less than the other logger's ordinal, 0 when they are equal and
+ A value less than zero when this logger's is
+ less than the other logger's ordinal, 0 when they are equal and
greater than zero when this ordinal is greater than the
other ordinal.
+
+
+ Support implementation of
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Creates and manages instances of objects.
@@ -20482,7 +17951,6 @@
Gets the instance used in the .
- Could be used to pass the to other methods
@@ -20492,28 +17960,22 @@
Note can be null when unloading configuration at shutdown.
-
-
- Obsolete and replaced by with NLog v5.2.
- Occurs when logging gets reloaded.
-
-
- Gets or sets a value indicating whether NLog should throw exceptions.
+ Gets or sets a value indicating whether NLog should throw exceptions.
By default exceptions are not thrown under any circumstances.
-
- Gets or sets a value indicating whether should be thrown.
-
- A value of true if exception should be thrown; otherwise, false.
-
- This option is for backwards-compatibility.
- By default exceptions are not thrown under any circumstances.
+
+ Gets or sets a value indicating whether should be thrown.
+
+ A value of if exception should be thrown; otherwise, .
+
+ This option is for backwards-compatibility.
+ By default exceptions are not thrown under any circumstances.
-
+
@@ -20559,7 +18021,7 @@
- Adds the given assembly which will be skipped
+ Adds the given assembly which will be skipped
when NLog is trying to find the calling method on stack trace.
The assembly to skip.
@@ -20666,10 +18128,10 @@
Suspends the logging, and returns object for using-scope so scope-exit calls
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
- An object that implements IDisposable whose Dispose() method re-enables logging.
+ An object that implements IDisposable whose Dispose() method re-enables logging.
To be used with C# using () statement.
@@ -20678,7 +18140,7 @@
Resumes logging if having called .
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
@@ -20687,10 +18149,10 @@
Suspends the logging, and returns object for using-scope so scope-exit calls
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
- An object that implements IDisposable whose Dispose() method re-enables logging.
+ An object that implements IDisposable whose Dispose() method re-enables logging.
To be used with C# using () statement.
@@ -20698,7 +18160,7 @@
Resumes logging if having called .
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
@@ -20707,10 +18169,10 @@
Returns if logging is currently enabled.
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
- A value of if logging is currently enabled,
+ A value of if logging is currently enabled,
otherwise.
@@ -20727,11 +18189,231 @@
- Returns a log message. Used to defer calculation of
+ Returns a log message. Used to defer calculation of
the log message until it's actually needed.
Log message.
+
+
+ Obsolete and replaced by with NLog v5.
+
+ Mapped Diagnostics Context (MDC) is a dictionary of keys and values.
+ Stores the dictionary in the thread-local static variable, and provides methods to output dictionary values in layouts.
+
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+ An that can be used to remove the item from the current thread MDC.
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current thread MDC.
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Gets the current thread MDC named item, as .
+
+ Item name.
+ The value of , if defined; otherwise .
+ If the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the current thread MDC named item, as .
+
+ Item name.
+ The to use when converting a value to a .
+ The value of , if defined; otherwise .
+ If is null and the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the current thread MDC named item, as .
+
+ Item name.
+ The value of , if defined; otherwise null.
+
+
+
+ Returns all item names
+
+ A set of the names of all items in current thread-MDC.
+
+
+
+ Checks whether the specified item exists in current thread MDC.
+
+ Item name.
+ A boolean indicating whether the specified exists in current thread MDC.
+
+
+
+ Removes the specified from current thread MDC.
+
+ Item name.
+
+
+
+ Clears the content of current thread MDC.
+
+
+
+
+ Obsolete and replaced by with NLog v5.
+
+ Mapped Diagnostics Logical Context (MDLC) is a dictionary of keys and values.
+ Stores the dictionary in the logical thread callcontext, and provides methods to output dictionary values in layouts.
+ Allows for maintaining state across asynchronous tasks and call contexts.
+
+
+ Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original
+ NLog library so that state can be maintained for multiple threads in asynchronous situations.
+
+
+
+
+ Gets the current logical context named item, as .
+
+ Item name.
+ The value of , if defined; otherwise .
+ If the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the current logical context named item, as .
+
+ Item name.
+ The to use when converting a value to a string.
+ The value of , if defined; otherwise .
+ If is null and the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the current logical context named item, as .
+
+ Item name.
+ The value of , if defined; otherwise null.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current logical context.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current logical context.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current logical context.
+
+
+
+ Updates the current logical context with multiple items in single operation
+
+ .
+ >An that can be used to remove the item from the current logical context (null if no items).
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Returns all item names
+
+ A collection of the names of all items in current logical context.
+
+
+
+ Checks whether the specified exists in current logical context.
+
+ Item name.
+ A boolean indicating whether the specified exists in current logical context.
+
+
+
+ Removes the specified from current logical context.
+
+ Item name.
+
+
+
+ Clears the content of current logical context.
+
+
+
+
+ Clears the content of current logical context.
+
+ Free the full slot.
+
+
+
+ Mark a parameter of a method for message templating
+
+
+
+
+ Specifies which parameter of an annotated method should be treated as message-template-string
+
+
+
+
+ The name of the parameter that should be as treated as message-template-string
+
+
The type of the captured hole
@@ -20754,7 +18436,7 @@
- stringification operator {$x}
+ stringification operator {$x}
@@ -20769,7 +18451,7 @@
Parameter name sent to structured loggers.
- This is everything between "{" and the first of ",:}".
+ This is everything between "{" and the first of ",:}".
Including surrounding spaces and names that are numbers.
@@ -20886,7 +18568,7 @@
- Indicates whether the template should be interpreted as positional
+ Indicates whether the template should be interpreted as positional
(all holes are numbers) or named.
@@ -21000,7 +18682,7 @@
-
+
Try serializing a scalar (string, int, NULL) or simple type (IFormattable)
@@ -21029,6 +18711,161 @@
Format provider for the value.
Append to this
+
+
+ Obsolete and replaced by with NLog v5.
+
+ Nested Diagnostics Context (NDC) is a stack of nested values.
+ Stores the stack in the thread-local static variable, and provides methods to output the values in layouts.
+
+
+
+
+ Gets the top NDC message but doesn't remove it.
+
+ The top message. .
+
+
+
+ Gets the top NDC object but doesn't remove it.
+
+ The object at the top of the NDC stack if defined; otherwise null.
+
+
+
+ Pushes the specified text on current thread NDC.
+
+ The text to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pushes the specified object on current thread NDC.
+
+ The object to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pops the top message off the NDC stack.
+
+ The top message which is no longer on the stack.
+
+
+
+ Pops the top message from the NDC stack.
+
+ The to use when converting the value to a string.
+ The top message, which is removed from the stack, as a string value.
+
+
+
+ Pops the top object off the NDC stack.
+
+ The object from the top of the NDC stack, if defined; otherwise null.
+
+
+
+ Peeks the first object on the NDC stack
+
+ The object from the top of the NDC stack, if defined; otherwise null.
+
+
+
+ Clears current thread NDC stack.
+
+
+
+
+ Gets all messages on the stack.
+
+ Array of strings on the stack.
+
+
+
+ Gets all messages from the stack, without removing them.
+
+ The to use when converting a value to a string.
+ Array of strings.
+
+
+
+ Gets all objects on the stack.
+
+ Array of objects on the stack.
+
+
+
+ Obsolete and replaced by with NLog v5.
+
+ Nested Diagnostics Logical Context (NDLC) is a stack of nested values.
+ Stores the stack in the logical thread callcontexte, and provides methods to output the values in layouts.
+
+
+
+
+ Pushes the specified value on current stack
+
+ The value to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pushes the specified value on current stack
+
+ The value to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pops the top message off the NDLC stack.
+
+ The top message which is no longer on the stack.
+ this methods returns a object instead of string, this because of backwards-compatibility
+
+
+
+ Pops the top message from the NDLC stack.
+
+ The to use when converting the value to a string.
+ The top message, which is removed from the stack, as a string value.
+
+
+
+ Pops the top message off the current NDLC stack
+
+ The object from the top of the NDLC stack, if defined; otherwise null.
+
+
+
+ Peeks the top object on the current NDLC stack
+
+ The object from the top of the NDLC stack, if defined; otherwise null.
+
+
+
+ Clears current stack.
+
+
+
+
+ Gets all messages on the stack.
+
+ Array of strings on the stack.
+
+
+
+ Gets all messages from the stack, without removing them.
+
+ The to use when converting a value to a string.
+ Array of strings.
+
+
+
+ Gets all objects on the stack. The objects are not removed from the stack.
+
+ Array of objects on the stack.
+
Exception thrown during NLog configuration.
@@ -21126,193 +18963,13 @@
The class name is null or is zero (0).
-
-
- TraceListener which routes all messages through NLog.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the log factory to use when outputting messages (null - use LogManager).
-
-
-
-
- Gets or sets the default log level.
-
-
-
-
- Gets or sets the log which should be always used regardless of source level.
-
-
-
-
- Gets or sets a value indicating whether flush calls from trace sources should be ignored.
-
-
-
-
- Gets a value indicating whether the trace listener is thread safe.
-
-
- true if the trace listener is thread safe; otherwise, false. The default is false.
-
-
-
- Gets or sets a value indicating whether to use auto logger name detected from the stack trace.
-
-
-
-
- When overridden in a derived class, writes the specified message to the listener you create in the derived class.
-
- A message to write.
-
-
-
- When overridden in a derived class, writes the specified message to the listener you create in the derived class.
-
- A message payload to write.
-
-
-
- When overridden in a derived class, writes a message to the listener you create in the derived class, followed by a line terminator.
-
- A message to write.
-
-
-
- When overridden in a derived class, writes the specified message to the listener you create in the derived class.
-
- A message payload to write.
-
-
-
- When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output.
-
-
-
-
- Emits an error message.
-
- A message to emit.
-
-
-
- Emits an error message and a detailed error message.
-
- A message to emit.
- A detailed message to emit.
-
-
-
- Flushes the output (if is not true) buffer with the default timeout of 15 seconds.
-
-
-
-
- Writes trace information, a data object and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- One of the values specifying the type of event that has caused the trace.
- A numeric identifier for the event.
- The trace data to emit.
-
-
-
- Writes trace information, an array of data objects and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- One of the values specifying the type of event that has caused the trace.
- A numeric identifier for the event.
- An array of objects to emit as data.
-
-
-
- Writes trace and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- One of the values specifying the type of event that has caused the trace.
- A numeric identifier for the event.
-
-
-
- Writes trace information, a formatted array of objects and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- One of the values specifying the type of event that has caused the trace.
- A numeric identifier for the event.
- A format string that contains zero or more format items, which correspond to objects in the array.
- An object array containing zero or more objects to format.
-
-
-
- Writes trace information, a message, and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- One of the values specifying the type of event that has caused the trace.
- A numeric identifier for the event.
- A message to write.
-
-
-
- Writes trace information, a message, a related activity identity and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- A numeric identifier for the event.
- A message to write.
- A object identifying a related activity.
-
-
-
- Gets the custom attributes supported by the trace listener.
-
-
- A string array naming the custom attributes supported by the trace listener, or null if there are no custom attributes.
-
-
-
-
- Translates the event type to level from .
-
- Type of the event.
- Translated log level.
-
-
-
- Process the log event
- The log level.
- The name of the logger.
- The log message.
- The log parameters.
- The event id.
- The event type.
- The related activity id.
-
-
-
- It works as a normal but it discards all messages which an application requests
- to be logged.
+
+ It works as a normal but it discards all messages which an application requests
+ to be logged.
- It effectively implements the "Null Object" pattern for objects.
-
+ It effectively implements the "Null Object" pattern for objects.
+
@@ -21320,6 +18977,126 @@
The factory class to be used for the creation of this logger.
+
+
+ stores state in the async thread execution context. All LogEvents created
+ within a scope can include the scope state in the target output. The logical context scope supports
+ both scope-properties and scope-nested-state-stack (Similar to log4j2 ThreadContext)
+
+
+ (MDLC), (MDC), (NDLC)
+ and (NDC) have been deprecated and replaced by .
+
+ .NetCore (and .Net46) uses AsyncLocal for handling the thread execution context. Older .NetFramework uses System.Runtime.Remoting.CallContext
+
+
+
+
+ Pushes new state on the logical context scope stack together with provided properties
+
+ Value to added to the scope stack
+ Properties being added to the scope dictionary
+ A disposable object that pops the nested scope state on dispose (including properties).
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided properties
+
+ Properties being added to the scope dictionary
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided properties
+
+ Properties being added to the scope dictionary
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided property
+
+ Name of property
+ Value of property
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided property
+
+ Name of property
+ Value of property
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Pushes new state on the logical context scope stack
+
+ Value to added to the scope stack
+ A disposable object that pops the nested scope state on dispose.
+ Skips casting of to check for scope-properties
+
+
+
+ Pushes new state on the logical context scope stack
+
+ Value to added to the scope stack
+ A disposable object that pops the nested scope state on dispose.
+
+
+
+ Clears all the entire logical context scope, and removes any properties and nested-states
+
+
+
+
+ Retrieves all properties stored within the logical context scopes
+
+ Collection of all properties
+
+
+
+ Lookup single property stored within the logical context scopes
+
+ Name of property
+ When this method returns, contains the value associated with the specified key
+ Returns when value is found with the specified key
+ Scope dictionary keys are case-insensitive
+
+
+
+ Retrieves all nested states inside the logical context scope stack
+
+ Array of nested state objects.
+
+
+
+ Peeks the top value from the logical context scope stack
+
+ Value from the top of the stack.
+
+
+
+ Peeks the inner state (newest) from the logical context scope stack, and returns its running duration
+
+ Scope Duration Time
+
+
+
+ Peeks the outer state (oldest) from the logical context scope stack, and returns its running duration
+
+ Scope Duration Time
+
+
+
+ Special bookmark that can restore original parent, after scopes has been collapsed
+
+
Extension methods to setup LogFactory options
@@ -21536,7 +19313,7 @@
Fluent interface parameter.
The layout-renderer type-alias for use in NLog configuration - without '${ }'
Callback that returns the value for the layout renderer.
- Options of the layout renderer.
+ Whether method is ThreadAgnostic and doesn't depend on context of the logging application thread.
@@ -21545,7 +19322,7 @@
Fluent interface parameter.
The layout-renderer type-alias for use in NLog configuration - without '${ }'
Callback that returns the value for the layout renderer.
- Options of the layout renderer.
+ Whether method is ThreadAgnostic and doesn't depend on context of the logging application thread.
@@ -21621,26 +19398,11 @@
Configures
-
-
- Configures
-
-
Configures
-
-
- Configures
-
-
-
-
- Configures
-
-
Configures
@@ -21651,29 +19413,32 @@
Configures
-
+
- Configure the InternalLogger properties from Environment-variables and App.config using
+ Resets the InternalLogger configuration without resolving default values from Environment-variables or App.config
-
- Recognizes the following environment-variables:
+
+
+
+ Configure the InternalLogger properties from Environment-variables and App.config using
+
+
+ Recognizes the following environment-variables:
- - NLOG_INTERNAL_LOG_LEVEL
- - NLOG_INTERNAL_LOG_FILE
- - NLOG_INTERNAL_LOG_TO_CONSOLE
- - NLOG_INTERNAL_LOG_TO_CONSOLE_ERROR
- - NLOG_INTERNAL_LOG_TO_TRACE
- - NLOG_INTERNAL_INCLUDE_TIMESTAMP
+ - NLOG_INTERNAL_LOG_LEVEL
+ - NLOG_INTERNAL_LOG_FILE
+ - NLOG_INTERNAL_LOG_TO_CONSOLE
+ - NLOG_INTERNAL_LOG_TO_CONSOLE_ERROR
+ - NLOG_INTERNAL_INCLUDE_TIMESTAMP
- Legacy .NetFramework platform will also recognizes the following app.config settings:
+ Legacy .NetFramework platform will also recognizes the following app.config settings:
- - nlog.internalLogLevel
- - nlog.internalLogFile
- - nlog.internalLogToConsole
- - nlog.internalLogToConsoleError
- - nlog.internalLogToTrace
- - nlog.internalLogIncludeTimestamp
-
+ - nlog.internalLogLevel
+ - nlog.internalLogFile
+ - nlog.internalLogToConsole
+ - nlog.internalLogToConsoleError
+ - nlog.internalLogIncludeTimestamp
+
@@ -21706,7 +19471,7 @@
Defines for redirecting output from matching to wanted targets.
Fluent interface parameter.
- Restrict minimum LogLevel for names that matches this rule
+ Restrict minimum LogLevel for names that matches this rule
Logger name pattern to check which names matches this rule
Rule identifier to allow rule lookup
@@ -21847,14 +19612,14 @@
- Write to
+ Write to
Fluent interface parameter.
Override the default Layout for output
Override the default Encoding for output (Ex. UTF8)
Write to stderr instead of standard output (stdout)
Skip overhead from writing to console, when not available (Ex. running as Windows Service)
- Enable batch writing of logevents, instead of Console.WriteLine for each logevent (Requires )
+ Force Console.WriteLine (slower) instead of Console.WriteBuffer (faster)
@@ -21868,17 +19633,9 @@
Skip overhead from writing to console, when not available (Ex. running as Windows Service)
Enables output using ANSI Color Codes (Windows console does not support this by default)
-
-
- Write to
-
-
- Override the default Layout for output
- Force use independent of
-
- Write to
+ Write to
Override the default Layout for output
@@ -21890,9 +19647,9 @@
Override the default Layout for output
-
+
- Write to
+ Write to
Fluent interface parameter.
@@ -21900,7 +19657,6 @@
Override the default Encoding for output (Default = UTF8)
Override the default line ending characters (Ex. without CR)
Keep log file open instead of opening and closing it on each logging event
- Activate multi-process synchronization using global mutex on the operating system
Size in bytes where log files will be automatically archived.
Maximum number of archive files that should be kept.
Maximum days of archive files that should be kept.
@@ -22021,9 +19777,9 @@
Enable/disables the NLog Message Template Parsing:
- - True = Always use NLog mesage-template-parser and formatting.
- - False = Never use NLog-parser and only use string.Format (Disable support for message-template-syntax).
- - Null = Auto detection of message-template-syntax, with fallback to string.Format (Default Behavior).
+ - = Always use NLog mesage-template-parser and formatting.
+ - = Never use NLog-parser and only use string.Format (Disable support for message-template-syntax).
+ - = Auto detection of message-template-syntax, with fallback to string.Format (Default Behavior).
@@ -22036,6 +19792,16 @@
Overrides the active with a new custom implementation
+
+
+ Overrides the active to use legacy-mode string-quotes (Before NLog v6)
+
+
+
+
+ Registers object Type transformation so build trimming will keep public properties.
+
+
Registers object Type transformation from dangerous (massive) object to safe (reduced) object
@@ -22046,34 +19812,6 @@
Registers object Type transformation from dangerous (massive) object to safe (reduced) object
-
-
- Specifies the way archive numbering is performed.
-
-
-
-
- Sequence style numbering. The most recent archive has the highest number.
-
-
-
-
- Rolling style numbering (the most recent is always #0 then #1, ..., #N.
-
-
-
-
- Date style numbering. Archives will be stamped with the prior period
- (Year, Month, Day, Hour, Minute) datetime.
-
-
-
-
- Date and sequence style numbering.
- Archives will be stamped with the prior period (Year, Month, Day) datetime.
- The most recent archive has the highest number (in combination with the date).
-
-
Abstract Target with async Task support
@@ -22089,8 +19827,7 @@
{
this.Host = "localhost";
}
-
- [RequiredParameter]
+
public Layout Host { get; set; }
protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token)
@@ -22112,24 +19849,28 @@
How many milliseconds to delay the actual write operation to optimize for batching
+ Default:
How many seconds a Task is allowed to run before it is cancelled.
+ Default:
How many attempts to retry the same Task, before it is aborted
+ Default:
How many milliseconds to wait before next retry (will double with each retry)
+ Default: ms
@@ -22137,6 +19878,7 @@
Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue
The locking queue is less concurrent when many logger threads, but reduces memory allocation
+ Default:
@@ -22144,12 +19886,14 @@
Gets or sets the action to be taken when the lazy writer thread request queue count
exceeds the set limit.
+ Default:
Gets or sets the limit on the number of requests in the lazy writer thread request queue.
+ Default:
@@ -22157,12 +19901,14 @@
Gets or sets the number of log events that should be processed in a batch
by the lazy writer thread.
+ Default:
Task Scheduler used for processing async Tasks
+ Default:
@@ -22173,25 +19919,25 @@
-
- Override this to provide async task for writing a single logevent.
-
- Example of how to override this method, and call custom async method
-
- protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token)
- {
- return CustomWriteAsync(logEvent, token);
- }
+
+ Override this to provide async task for writing a single logevent.
+
+ Example of how to override this method, and call custom async method
+
+ protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token)
+ {
+ return CustomWriteAsync(logEvent, token);
+ }
- private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token)
- {
- await MyLogMethodAsync(logEvent, token).ConfigureAwait(false);
- }
-
-
- The log event.
- The cancellation token
-
+ private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token)
+ {
+ await MyLogMethodAsync(logEvent, token).ConfigureAwait(false);
+ }
+
+
+ The log event.
+ The cancellation token
+
@@ -22226,7 +19972,7 @@
- Write to queue without locking
+ Write to queue without locking
@@ -22236,11 +19982,11 @@
-
- LogEvent is written to target, but target failed to successfully initialize
+
+ LogEvent is written to target, but target failed to successfully initialize
- Enqueue logevent for later processing when target failed to initialize because of unresolved service dependency.
-
+ Enqueue logevent for later processing when target failed to initialize because of unresolved service dependency.
+
@@ -22250,7 +19996,7 @@
- Closes Target by updating CancellationToken
+ Closes Target by updating CancellationToken
@@ -22291,37 +20037,6 @@
-
-
- Sends log messages to the remote instance of Chainsaw application from log4j.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with a name.
-
- Name of the target.
-
Color formatting for using ANSI Color Codes
@@ -22363,7 +20078,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -22407,6 +20122,11 @@
Name of the target.
+
+
+ Initializes a new instance of the class for Unit-Testing.
+
+
Obsolete and replaced by with NLog v5.
@@ -22425,7 +20145,7 @@
Gets or sets a value indicating whether to use default row highlighting rules.
- The default rules are:
+ Default: which enables the following rules:
| Condition |
@@ -22439,12 +20159,12 @@
| level == LogLevel.Error |
- Yellow |
+ Red |
NoChange |
| level == LogLevel.Warn |
- Magenta |
+ Yellow |
NoChange |
@@ -22459,7 +20179,7 @@
| level == LogLevel.Trace |
- DarkGray |
+ Gray |
NoChange |
@@ -22476,16 +20196,18 @@
Gets or sets a value indicating whether to auto-check if the console is available.
- - Disables console writing if Environment.UserInteractive = False (Windows Service)
+ - Disables console writing if Environment.UserInteractive = (Windows Service)
- Disables console writing if Console Standard Input is not available (Non-Console-App)
+ Default:
Gets or sets a value indicating whether to auto-check if the console has been redirected to file
- - Disables coloring logic when System.Console.IsOutputRedirected = true
+ - Disables coloring logic when System.Console.IsOutputRedirected =
+ Default:
@@ -22493,6 +20215,7 @@
Gets or sets a value indicating whether to auto-flush after
+ Default: .
Normally not required as standard Console.Out will have = true, but not when pipe to file
@@ -22501,6 +20224,14 @@
Enables output using ANSI Color Codes
+ Default:
+
+
+
+
+ Support NO_COLOR=1 environment variable. See also
+
+ Default: NO_COLOR=1
@@ -22532,7 +20263,7 @@
Colored console output color.
- Note that this enumeration is defined to be binary compatible with
+ Note that this enumeration is defined to be binary compatible with
.NET 2.0 System.ConsoleColor + some additions
@@ -22648,31 +20379,27 @@
Gets or sets the condition that must be met in order to set the specified foreground and background color.
+ Default:
Gets or sets the foreground color.
+ Default:
Gets or sets the background color.
+ Default:
Checks whether the specified log event matches the condition (if any).
-
- Log event.
-
-
- A value of if the condition is not defined or
- if it matches, otherwise.
-
@@ -22684,7 +20411,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -22695,21 +20422,21 @@
-
- Should logging being paused/stopped because of the race condition bug in Console.Writeline?
-
-
- Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug.
- See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written
- and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service
-
- Full error:
- Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory.
- The I/ O package is not thread safe by default. In multi-threaded applications,
- a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or
- TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader.
+
+ Should logging being paused/stopped because of the race condition bug in Console.Writeline?
+
+
+ Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug.
+ See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written
+ and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service
-
+ Full error:
+ Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory.
+ The I/ O package is not thread safe by default. In multi-threaded applications,
+ a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or
+ TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader.
+
+
@@ -22728,31 +20455,39 @@
The encoding for writing messages to the .
- Has side effect
Gets or sets a value indicating whether to auto-check if the console is available
- - Disables console writing if Environment.UserInteractive = False (Windows Service)
+ - Disables console writing if Environment.UserInteractive = (Windows Service)
- Disables console writing if Console Standard Input is not available (Non-Console-App)
+ Default:
Gets or sets a value indicating whether to auto-flush after
-
+ Default: .
Normally not required as standard Console.Out will have = true, but not when pipe to file
+
+
+ Gets or sets whether to force (slower) instead of the faster internal buffering.
+
+ Default:
+
+
Gets or sets whether to activate internal buffering to allow batch writing, instead of using
-
+ Default:
+
@@ -22763,14 +20498,14 @@
-
+
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
+ Initializes a new instance of the class.
+
+
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
+
+ Name of the target.
@@ -22805,27 +20540,23 @@
Color of the foreground.
Color of the background.
-
-
- Gets or sets the regular expression to be matched. You must specify either text or regex.
-
-
-
Gets or sets the condition that must be met before scanning the row for highlight of words
-
-
-
-
- Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used.
-
+ Default:
- Gets or sets the text to be matched. You must specify either text or regex.
+ Gets or sets the text to be matched for Highlighting.
+
+ Default:
+
+
+
+
+ Gets or sets the list of words to be matched for Highlighting.
@@ -22833,61 +20564,39 @@
Gets or sets a value indicating whether to match whole words only.
+ Default:
Gets or sets a value indicating whether to ignore case when comparing texts.
+ Default:
Gets or sets the foreground color.
+ Default:
Gets or sets the background color.
+ Default:
-
+
- Gets the compiled regular expression that matches either Text or Regex property. Only used when is true.
+ Scans the for words that should be highlighted.
+ List of words with start-position (Key) and word-length (Value)
-
+
- A descriptor for an archive created with the DateAndSequence numbering mode.
-
-
-
-
- The full name of the archive file.
-
-
-
-
- The parsed date contained in the file name.
-
-
-
-
- The parsed sequence number contained in the file name.
-
-
-
-
- Determines whether produces the same string as the current instance's date once formatted with the current instance's date format.
-
- The date to compare the current object's date to.
- True if the formatted dates are equal, otherwise False.
-
-
-
- Initializes a new instance of the class.
+ Checks whether the specified log event matches the condition (if any).
@@ -22900,7 +20609,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -22984,7 +20693,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -23106,14 +20815,14 @@
all options
JSON escaped string
-
+
Checks input string if it needs JSON escaping, and makes necessary conversion
Destination Builder
Input string
Should non-ASCII characters be encoded
-
+
JSON escaped string
@@ -23126,7 +20835,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -23162,24 +20871,28 @@
Gets or sets the name of the machine on which Event Log service is running.
+ Default:
Gets or sets the layout that renders event ID.
+ Default: ${event-properties:item=EventId}
Gets or sets the layout that renders event Category.
+ Default:
Optional entry type. When not set, or when not convertible to then determined by
+ Default:
@@ -23187,7 +20900,7 @@
Gets or sets the value to be used as the event Source.
- By default this is the friendly name of the current AppDomain.
+ [Required] Default:
@@ -23195,13 +20908,14 @@
Gets or sets the name of the Event Log to write to. This can be System, Application or any user-defined name.
+ [Required] Default: Application
Gets or sets the message length limit to write to the Event Log.
- MaxMessageLength cannot be zero or negative
+ Default:
@@ -23218,6 +20932,7 @@
Gets or sets the action to take if the message is larger than the option.
+ Default:
@@ -23358,142 +21073,60 @@
Discard of the message. It will not be written to the Event Log.
-
+
- Check if cleanup should be performed on initialize new file
-
- Skip cleanup when initializing new file, just after having performed archive operation
-
- Base archive file pattern
- Maximum number of archive files that should be kept
- Maximum days of archive files that should be kept
- True, when archive cleanup is needed
-
-
-
- Characters determining the start of the .
+ Handles the actual file-operations on disk
-
+
- Characters determining the end of the .
+ Writes the specified bytes to a file.
+
+ The bytes array.
+ The bytes array offset.
+ The number of bytes.
+
+
+
+ - Only strict scan for sequence-number (GetTodaysArchiveFiles) when having input "fileLastWriteTime"
+ - Expect optional DateTime-part to be "sortable" (when missing birthtime)
+ - Trim away sequencer-number, so not part of sorting
+ - Use DateTime part from FileSystem for ordering by Date-only, and sort by FileName
-
+
- File name which is used as template for matching and replacements.
- It is expected to contain a pattern to match.
+ Handles the actual file-operations on disk
-
+
- The beginning position of the
- within the . -1 is returned
- when no pattern can be found.
+ Called just before opening a new log-file
+ File-name of the new log-file
+ The first LogEvent for the new log-file
+ Previous file-write-time
+ File-path-suffix for the new log-file
+ Updated for the new file.
-
-
- The ending position of the
- within the . -1 is returned
- when no pattern can be found.
-
-
-
-
- Replace the pattern with the specified String.
-
-
-
-
-
-
- Archives the log-files using a date style numbering. Archives will be stamped with the
- prior period (Year, Month, Day, Hour, Minute) datetime.
-
- When the number of archive files exceed the obsolete archives are deleted.
- When the age of archive files exceed the obsolete archives are deleted.
-
-
-
-
- Archives the log-files using a date and sequence style numbering. Archives will be stamped
- with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in
- combination with the date).
-
- When the number of archive files exceed the obsolete archives are deleted.
- When the age of archive files exceed the obsolete archives are deleted.
-
-
-
-
- Parse filename with date and sequence pattern
-
-
- dateformat for archive
-
- the found pattern. When failed, then default
- the found pattern. When failed, then default
-
-
-
-
- Archives the log-files using the provided base-archive-filename. If the base-archive-filename causes
- duplicate archive filenames, then sequence-style is automatically enforced.
-
- Example:
- Base Filename trace.log
- Next Filename trace.0.log
-
- The most recent archive has the highest number.
-
- When the number of archive files exceed the obsolete archives are deleted.
- When the age of archive files exceed the obsolete archives are deleted.
-
-
-
-
- Dynamically converts a non-template archiveFilePath into a correct archiveFilePattern.
- Before called the original IFileArchiveMode, that has been wrapped by this
-
-
-
+
- Determines if the file name as contains a numeric pattern i.e. {#} in it.
-
- Example:
- trace{#}.log Contains the numeric pattern.
- trace{###}.log Contains the numeric pattern.
- trace{#X#}.log Contains the numeric pattern (See remarks).
- trace.log Does not contain the pattern.
+ Legacy archive logic with file-move of active-file to file-path specified by
- Occasionally, this method can identify the existence of the {#} pattern incorrectly.
- File name to be checked.
- when the pattern is found; otherwise.
-
-
-
- Archives the log-files using a rolling style numbering (the most recent is always #0 then
- #1, ..., #N.
+
+ Kept mostly for legacy reasons, because archive operation can fail because of file-locks by other applications (or by multi-process logging).
- When the number of archive files exceed the obsolete archives
- are deleted.
+ Avoid using when possible, and instead rely on only using and .
+
+
+
+
+ Rolls the active-file to the next sequence-number
-
+
- Replaces the numeric pattern i.e. {#} in a file name with the parameter value.
-
- File name which contains the numeric pattern.
- Value which will replace the numeric pattern.
- File name with the value of in the position of the numeric pattern.
-
-
-
- Archives the log-files using a sequence style numbering. The most recent archive has the highest number.
-
- When the number of archive files exceed the obsolete archives are deleted.
- When the age of archive files exceed the obsolete archives are deleted.
+ Deletes/truncates the active logging-file when archive-roll-event is triggered
@@ -23508,150 +21141,308 @@
- AddToArchive every year.
+ Archive every new year.
- AddToArchive every month.
+ Archive every new month.
- AddToArchive daily.
+ Archive every new day.
- AddToArchive every hour.
+ Archive every new hour.
- AddToArchive every minute.
+ Archive every new minute.
- AddToArchive every Sunday.
+ Archive every Sunday.
- AddToArchive every Monday.
+ Archive every Monday.
- AddToArchive every Tuesday.
+ Archive every Tuesday.
- AddToArchive every Wednesday.
+ Archive every Wednesday.
- AddToArchive every Thursday.
+ Archive every Thursday.
- AddToArchive every Friday.
+ Archive every Friday.
- AddToArchive every Saturday.
+ Archive every Saturday.
-
-
- Type of filepath
-
-
-
-
- Detect of relative or absolute
-
-
-
-
- Relative path
-
-
-
-
- Absolute path
-
- Best for performance
-
- Writes log messages to one or more files.
+ FileTarget for writing formatted messages to one or more log-files.
See NLog Wiki
Documentation on NLog Wiki
-
+
- Default clean up period of the initialized files. When a file exceeds the clean up period is removed from the list.
+ Gets or sets the name of the file to write to.
- Clean up period is defined in days.
+
+ [Required] Default: .
+ When not absolute path then relative path will be resolved against .
+ The FileName Layout supports layout-renderers, where a single FileTarget can write to multiple files.
+
+
+ The following value makes NLog write logging events to files based on the log level in the directory where
+ the application runs.
+ ${basedir}/${level}.log
+ All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on.
+ You can combine as many of the layout renderers as you want to produce an arbitrary log file name.
+
+
-
+
- This value disables file archiving based on the size.
+ Gets or sets a value indicating whether to create directories if they do not exist.
+
+ Default: .
+ Setting this to may improve performance a bit, but will always fail
+ when attempt writing to a non-existing directory.
+
+
-
+
- Holds the initialized files each given time by the instance. Against each file, the last write time is stored.
+ Gets or sets a value indicating whether to delete old log file on startup.
- Last write time is store in local time (no UTC).
+
+ Default: .
+ When current log-file exists, then it is deleted (and resetting sequence number)
+
+
-
+
- List of the associated file appenders with the instance.
+ Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end.
+ Default:
+
-
+
- The number of initialized files at any one time.
+ Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event.
+
+ Default: .
+ KeepFileOpen = gives the best performance, and ensure the file-lock is not lost to other applications.
+ KeepFileOpen = gives the best compatibility, but slow performance and lead to file-locking issues with other applications.
+
+
-
+
- The maximum number of archive files that should be kept.
+ Gets or sets a value indicating whether to enable log file(s) to be deleted.
+ Default:
+
-
+
- The maximum days of archive files that should be kept.
+ Gets or sets the line ending mode.
+ Default:
+
-
+
- The filename as target
+ Gets or sets a value indicating whether to automatically flush the file buffers after each log message.
+ Default:
+
-
+
- The archive file name as target
+ Gets or sets the maximum number of files to be kept open.
+
+ Default: . Higher number might improve performance when single FileTarget
+ is writing to many files (such as splitting by loglevel or by logger-name).
+ Files are closed in LRU (least recently used) ordering, so files unused
+ for longest period are closed first. Careful with number higher than 10-15,
+ because a large number of open files consumes system resources.
+
+
-
+
- The date of the previous log event.
+ Gets or sets the maximum number of seconds that files are kept open. Zero or negative means disabled.
+ Default:
+
-
+
- The file name of the previous log event.
+ Gets or sets the maximum number of seconds before open files are flushed. Zero or negative means disabled.
+ Default:
+
+
+
+
+ Gets or sets the log file buffer size in bytes.
+
+ Default:
+
+
+
+
+ Gets or sets the file encoding.
+
+ Default:
+
+
+
+
+ Gets or sets whether or not this target should just discard all data that its asked to write.
+ Mostly used for when testing NLog Stack except final write
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to write BOM (byte order mark) in created files.
+
+ Default: (Unless UTF16 / UTF32)
+
+
+
+
+ Gets or sets a value indicating whether any existing log-file should be archived on startup.
+
+ Default:
+
+
+
+
+ Gets or sets whether to write the Header on initial creation of file appender, even if the file is not empty.
+ Default value is , which means only write header when initial file is empty (Ex. ensures valid CSV files)
+
+
+ Default: .
+ Alternative use to ensure each application session gets individual log-file.
+
+
+
+
+
+ Gets or sets a value specifying the date format when using .
+ Obsolete and only here for Legacy reasons, instead use .
+
+ Default:
+
+
+
+
+ Gets or sets the size in bytes above which log files will be automatically archived. Zero or negative means disabled.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to trigger archive operation based on time-period, by moving active-file to file-path specified by
+
+
+ Default: .
+ Archive move operation only works if is static in nature, and not rolling automatically because of ${date} or ${shortdate}
+
+ NLog FileTarget probes the file-birthtime to recognize when time-period has passed, but file-birthtime is not supported by all filesystems.
+
+
+
+
+
+ Legacy archive logic where file-archive-logic moves active file to path specified by , and then recreates the active file.
+
+ Use to control suffix format, instead of now obsolete token {#}
+
+
+ Default: .
+ Archive file-move operation only works if is static in nature, and not rolling automatically because of ${date} or ${shortdate} .
+
+ Legacy archive file-move operation can fail because of file-locks, so file-archiving can stop working because of environment issues (Other applications locking files).
+
+ Avoid using when possible, and instead rely on only using and .
+
+
+
+
+
+ Gets or sets the maximum number of archive files that should be kept. Negative means disabled.
+
+ Default:
+
+
+
+
+ Gets or sets the maximum days of archive files that should be kept. Zero or negative means disabled.
+
+ Default:
+
+
+
+
+ Gets or sets the way file archives are numbered.
+ Obsolete and only here for Legacy reasons, instead use .
+
+ Default: Sequence
+
+
+
+
+ Gets or sets the format-string to convert archive sequence-number by using string.Format
+
+
+ Default: _{0:00} .
+ Ex. to prefix archive sequence number with leading zero's then one can use _{0:000} .
+
+ Legacy archive-logic with can use suffix _{1:yyyyMMdd}_{0:00} .
+
+
+
+
+
+ Gets or sets a value indicating whether the footer should be written only when the file is archived.
+
+ Default:
+
@@ -23670,444 +21461,23 @@
Name of the target.
-
-
- Gets or sets the name of the file to write to.
-
-
- This FileName string is a layout which may include instances of layout renderers.
- This lets you use a single target to write to multiple files.
-
-
- The following value makes NLog write logging events to files based on the log level in the directory where
- the application runs.
- ${basedir}/${level}.log
- All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on.
- You can combine as many of the layout renderers as you want to produce an arbitrary log file name.
-
-
-
-
-
- Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes.
- If set to false, nothing gets written when the filename is wrong.
-
-
-
-
-
- Is the an absolute or relative path?
-
-
-
-
-
- Gets or sets a value indicating whether to create directories if they do not exist.
-
-
- Setting this to false may improve performance a bit, but you'll receive an error
- when attempting to write to a directory that's not present.
-
-
-
-
-
- Gets or sets a value indicating whether to delete old log file on startup.
-
-
- This option works only when the "FileName" parameter denotes a single file.
-
-
-
-
-
- Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end.
-
-
-
-
-
- Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event.
-
-
- KeepFileOpen = true gives the best performance, and ensure the file-lock is not lost to other applications.
- KeepFileOpen = false gives the best compability, but slow performance and lead to file-locking issues with other applications.
-
-
-
-
-
- Gets or sets a value indicating whether to enable log file(s) to be deleted.
-
-
-
-
-
- Gets or sets the file attributes (Windows only).
-
-
-
-
-
- Gets or sets the line ending mode.
-
-
-
-
-
- Gets or sets a value indicating whether to automatically flush the file buffers after each log message.
-
-
-
-
-
- Gets or sets the number of files to be kept open. Setting this to a higher value may improve performance
- in a situation where a single File target is writing to many files
- (such as splitting by level or by logger).
-
-
- The files are managed on a LRU (least recently used) basis, which flushes
- the files that have not been used for the longest period of time should the
- cache become full. As a rule of thumb, you shouldn't set this parameter to
- a very high value. A number like 10-15 shouldn't be exceeded, because you'd
- be keeping a large number of files open which consumes system resources.
-
-
-
-
-
- Gets or sets the maximum number of seconds that files are kept open. Zero or negative means disabled.
-
-
-
-
-
- Gets or sets the maximum number of seconds before open files are flushed. Zero or negative means disabled.
-
-
-
-
-
- Gets or sets the log file buffer size in bytes.
-
-
-
-
-
- Gets or sets the file encoding.
-
-
-
-
-
- Gets or sets whether or not this target should just discard all data that its asked to write.
- Mostly used for when testing NLog Stack except final write
-
-
-
-
-
- Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host.
-
-
- This makes multi-process logging possible. NLog uses a special technique
- that lets it keep the files open for writing.
-
-
-
-
-
- Obsolete and replaced by = false with NLog v5.3.
- Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts.
-
-
- This effectively prevents files from being kept open.
-
-
-
-
-
- Gets or sets a value indicating whether to write BOM (byte order mark) in created files.
-
- Defaults to true for UTF-16 and UTF-32
-
-
-
-
-
- Gets or sets the number of times the write is appended on the file before NLog
- discards the log message.
-
-
-
-
-
- Gets or sets the delay in milliseconds to wait before attempting to write to the file again.
-
-
- The actual delay is a random value between 0 and the value specified
- in this parameter. On each failed attempt the delay base is doubled
- up to times.
-
-
- Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:
- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...
- and so on.
-
-
-
-
-
- Gets or sets a value indicating whether to archive old log file on startup.
-
-
- This option works only when the "FileName" parameter denotes a single file.
- After archiving the old file, the current log file will be empty.
-
-
-
-
-
- Gets or sets whether to write the Header on initial creation of file appender, even if the file is not empty.
- Default value is , which means only write header when initial file is empty (Ex. ensures valid CSV files)
-
-
- Alternative use to ensure each application session gets individual log-file.
-
-
-
-
- Gets or sets a value of the file size threshold to archive old log file on startup.
-
-
- This option won't work if is set to false
- Default value is 0 which means that the file is archived as soon as archival on
- startup is enabled.
-
-
-
-
-
- Gets or sets a value specifying the date format to use when archiving files.
-
-
- This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence.
-
-
-
-
-
- Gets or sets the size in bytes above which log files will be automatically archived.
-
-
- Notice when combined with then it will attempt to append to any existing
- archive file if grown above size multiple times. New archive file will be created when using
-
-
-
-
-
- Gets or sets a value indicating whether to automatically archive log files every time the specified time passes.
-
-
- Files are moved to the archive as part of the write operation if the current period of time changes. For example
- if the current hour changes from 10 to 11, the first write that will occur
- on or after 11:00 will trigger the archiving.
-
-
-
-
-
- Is the an absolute or relative path?
-
-
-
-
-
- Gets or sets the name of the file to be used for an archive.
-
-
- It may contain a special placeholder {#####}
- that will be replaced with a sequence of numbers depending on
- the archiving strategy. The number of hash characters used determines
- the number of numerical digits to be used for numbering files.
-
-
-
-
-
- Gets or sets the maximum number of archive files that should be kept.
-
-
-
-
-
- Gets or sets the maximum days of archive files that should be kept.
-
-
-
-
-
- Gets or sets the way file archives are numbered.
-
-
-
-
-
- Used to compress log files during archiving.
- This may be used to provide your own implementation of a zip file compressor,
- on platforms other than .Net4.5.
- Defaults to ZipArchiveFileCompressor on .Net4.5 and to null otherwise.
-
-
-
-
-
- Gets or sets a value indicating whether to compress archive files into the zip archive format.
-
-
-
-
-
- Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation.
-
-
-
-
-
- Gets or sets a value indicating whether file creation calls should be synchronized by a system global mutex.
-
-
-
-
-
- Gets or sets a value indicating whether the footer should be written only when the file is archived.
-
-
-
-
-
- Gets the characters that are appended after each line.
-
-
-
-
- Refresh the ArchiveFilePatternToWatch option of the .
- The log file must be watched for archiving when multiple processes are writing to the same
- open file.
-
-
-
-
- Removes records of initialized files that have not been
- accessed in the last two days.
-
-
- Files are marked 'initialized' for the purpose of writing footers when the logging finishes.
-
-
-
-
- Removes records of initialized files that have not been
- accessed after the specified date.
-
- The cleanup threshold.
-
- Files are marked 'initialized' for the purpose of writing footers when the logging finishes.
-
-
Flushes all pending file operations.
The asynchronous continuation.
-
- The timeout parameter is ignored, because file APIs don't provide
- the needed functionality.
-
-
-
-
- Returns the suitable appender factory ( ) to be used to generate the file
- appenders associated with the instance.
-
- The type of the file appender factory returned depends on the values of various properties.
-
- suitable for this instance.
-
- Initializes file logging by creating data structures that
- enable efficient multi-file logging.
-
+
-
- Closes the file(s) opened for writing.
-
+
-
- Writes the specified logging event to a file specified in the FileName
- parameter.
-
- The logging event.
-
-
-
- Get full filename (=absolute) and cleaned if needed.
-
-
-
+
-
- Writes the specified array of logging events to a file specified in the FileName
- parameter.
-
- An array of objects.
-
- This function makes use of the fact that the events are batched by sorting
- the requests by filename. This optimizes the number of open/close calls
- and can help improve performance.
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Formats the log event for write.
-
- The log event to be formatted.
- A string representation of the log event.
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets the bytes to be written to the file.
-
- Log event.
- Array of bytes that are ready to be written.
-
-
-
- Obsolete and replaced by with NLog v5.
- Modifies the specified byte array before it gets sent to a file.
-
- The byte array.
- The modified byte array. The function can do the modification in-place.
-
-
-
- Gets the bytes to be written to the file.
-
- The log event to be formatted.
- to help format log event.
- Optional temporary char-array to help format log event.
- Destination for the encoded result.
+
@@ -24116,31 +21486,6 @@
The log event to be formatted.
for the result.
-
-
- Modifies the specified byte array before it gets sent to a file.
-
- The LogEvent being written
- The byte array.
-
-
-
- Archives fileName to archiveFileName.
-
- File name to be archived.
- Name of the archive file.
-
-
-
- Gets the correct formatting to be used based on the value of for converting values which will be inserting into file
- names during archiving.
-
- This value will be computed only when a empty value or is passed into
-
- Date format to used irrespectively of value.
- Formatting for dates.
-
Calculate the DateTime of the requested day of the week.
@@ -24151,152 +21496,6 @@
For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return
Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09.
-
-
- Invokes the archiving process after determining when and which type of archiving is required.
-
- File name to be checked and archived.
- Log event that the instance is currently processing.
- The DateTime of the previous log event for this file.
- File has just been opened.
-
-
-
- Gets the pattern that archive files will match
-
- Filename of the log file
- Log event that the instance is currently processing.
- A string with a pattern that will match the archive filenames
-
-
-
- Archives the file if it should be archived.
-
- The file name to check for.
- Log event that the instance is currently processing.
- The size in bytes of the next chunk of data to be written in the file.
- The DateTime of the previous log event for this file.
- File has just been opened.
- True when archive operation of the file was completed (by this target or a concurrent target)
-
-
-
- Closes any active file-appenders that matches the input filenames.
- File-appender is requested to invalidate/close its filehandle, but keeping its archive-mutex alive
-
-
-
-
- Indicates if the automatic archiving process should be executed.
-
- File name to be written.
- Log event that the instance is currently processing.
- The size in bytes of the next chunk of data to be written in the file.
- The DateTime of the previous log event for this file.
- File has just been opened.
- Filename to archive. If null, then nothing to archive.
-
-
-
- Returns the correct filename to archive
-
-
-
-
- Gets the file name for archiving, or null if archiving should not occur based on file size.
-
- File name to be written.
- The size in bytes of the next chunk of data to be written in the file.
- File has just been opened.
- Filename to archive. If null, then nothing to archive.
-
-
-
- Check if archive operation should check previous filename, because FileAppenderCache tells us current filename no longer exists
-
-
-
-
- Returns the file name for archiving, or null if archiving should not occur based on date/time.
-
- File name to be written.
- Log event that the instance is currently processing.
- The DateTime of the previous log event for this file.
- File has just been opened.
- Filename to archive. If null, then nothing to archive.
-
-
-
- Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks
-
- High resolution Time
- Time Resolution Level
- Truncated Low Resolution Time
-
-
-
- Evaluates which parts of a file should be written (header, content, footer) based on various properties of
- instance and writes them.
-
- File name to be written.
- Raw sequence of to be written into the content part of the file.
- File has just been opened.
-
-
-
- Initialize a file to be used by the instance. Based on the number of initialized
- files and the values of various instance properties clean up and/or archiving processes can be invoked.
-
- File name to be written.
- Log event that the instance is currently processing.
- The DateTime of the previous log event for this file (DateTime.MinValue if just initialized).
-
-
-
- Writes the file footer and finalizes the file in instance internal structures.
-
- File name to close.
- Indicates if the file is being finalized for archiving.
-
-
-
- Writes the footer information to a file.
-
- The file path to write to.
-
-
-
- Decision logic whether to archive logfile on startup.
- and properties.
-
- File name to be written.
- Decision whether to archive or not.
-
-
-
- Invokes the archiving and clean up of older archive file based on the values of
- and
- properties respectively.
-
- File name to be written.
- Log event that the instance is currently processing.
-
-
-
- Creates the file specified in and writes the file content in each entirety i.e.
- Header, Content and Footer.
-
- The name of the file to be written.
- Sequence of to be written in the content section of the file.
- First attempt to write?
- This method is used when the content of the log file is re-written on every write.
-
-
-
- Writes the header information and byte order mark to a file.
-
- File appender associated with the file.
-
The sequence of to be written in a file after applying any formatting and any
@@ -24306,19 +21505,13 @@
Sequence of to be written.
Usually it is used to render the header and hooter of the files.
-
+
- may be configured to compress archived files in a custom way
- by setting before logging your first event.
+ Creates stream for appending to the specified
-
-
-
- Create archiveFileName by compressing fileName.
-
- Absolute path to the log file to compress.
- Absolute path to the compressed archive file to create.
- The name of the file inside the archive.
+ Path of the file to be written
+ Wanted internal buffer size for the stream
+ Stream for appending to the file
@@ -24397,60 +21590,6 @@
Default row highlight rules for the console printer
-
-
- Check if cleanup should be performed on initialize new file
-
- Base archive file pattern
- Maximum number of archive files that should be kept
- Maximum days of archive files that should be kept
- True, when archive cleanup is needed
-
-
-
- Create a wildcard file-mask that allows one to find all files belonging to the same archive.
-
- Base archive file pattern
- Wildcard file-mask
-
-
-
- Search directory for all existing files that are part of the same archive.
-
- Base archive file pattern
-
-
-
-
- Generate the next archive filename for the archive.
-
- Base archive file pattern
- File date of archive
- Existing files in the same archive
-
-
-
-
- Return all files that should be removed from the provided archive.
-
- Base archive file pattern
- Existing files in the same archive
- Maximum number of archive files that should be kept
- Maximum days of archive files that should be kept
-
-
-
- may be configured to compress archived files in a custom way
- by setting before logging your first event.
-
-
-
-
- Create archiveFileName by compressing fileName.
-
- Absolute path to the log file to compress.
- Absolute path to the compressed archive file to create.
-
Options for JSON serialization
@@ -24460,43 +21599,57 @@
Add quotes around object keys?
+ Default:
Format provider for value
+ Default:
Format string for value
+ Default:
- Should non-ascii characters be encoded
+ Should non-ascii characters be encoded.
+ Default:
- Should forward slashes be escaped? If true, / will be converted to \/
+ Should forward slashes be escaped? If , / will be converted to \/
+ Default:
- Serialize enum as string value
+ Serialize enum as integer value.
+ Default:
+
+
+
+ Gets or sets the option to suppress the extra spaces in the output json.
+
+ Default:
-
- Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_).
+
+ Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_).
- Any other characters will be converted to underscore character (_)
-
+ Any other characters will be converted to underscore character (_)
+
+ Default:
How far down the rabbit hole should the Json Serializer go with object-reflection before stopping
+ Default:
@@ -24505,7 +21658,7 @@
- Insert platform-dependent end-of-line sequence after each line.
+ Insert platform-dependent sequence after each line.
@@ -24540,7 +21693,7 @@
- Gets the new line characters (value) of the LineEndingMode instance.
+ Gets the new line characters (value) of the LineEndingMode instance.
@@ -24563,7 +21716,7 @@
- Compares two objects and returns a
+ Compares two objects and returns a
value indicating whether the first one is equal to the second one.
The first level.
@@ -24572,7 +21725,7 @@
- Compares two objects and returns a
+ Compares two objects and returns a
value indicating whether the first one is not equal to the second one.
The first mode
@@ -24590,7 +21743,7 @@
Indicates whether the current object is equal to another object of the same type.
- true if the current object is equal to the parameter; otherwise, false.
+ if the current object is equal to the parameter; otherwise, .
An object to compare with this object.
@@ -24604,259 +21757,6 @@
-
-
- Sends log messages by email using SMTP protocol.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
- Mail target works best when used with BufferingWrapper target
- which lets you send multiple log messages in single mail
-
-
- To set up the buffered mail target in the configuration file,
- use the following syntax:
-
-
-
- To set up the buffered mail target programmatically use code like this:
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
-
-
-
- Gets the mailSettings/smtp configuration from app.config in cases when we need those configuration.
- E.g when UseSystemNetMailSettings is enabled and we need to read the From attribute from system.net/mailSettings/smtp
-
- Internal for mocking
-
-
-
- Gets or sets sender's email address (e.g. joe@domain.com).
-
-
-
-
-
- Gets or sets recipients' email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
-
-
-
-
-
- Gets or sets CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
-
-
-
-
-
- Gets or sets BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
-
-
-
-
-
- Gets or sets a value indicating whether to add new lines between log entries.
-
- A value of true if new lines should be added; otherwise, false.
-
-
-
-
- Gets or sets the mail subject.
-
-
-
-
-
- Gets or sets mail message body (repeated for each log message send in one mail).
-
- Alias for the Layout property.
-
-
-
-
- Gets or sets encoding to be used for sending e-mail.
-
-
-
-
-
- Gets or sets a value indicating whether to send message as HTML instead of plain text.
-
-
-
-
-
- Gets or sets SMTP Server to be used for sending.
-
-
-
-
-
- Gets or sets SMTP Authentication mode.
-
-
-
-
-
- Gets or sets the username used to connect to SMTP server (used when SmtpAuthentication is set to "basic").
-
-
-
-
-
- Gets or sets the password used to authenticate against SMTP server (used when SmtpAuthentication is set to "basic").
-
-
-
-
-
- Gets or sets a value indicating whether SSL (secure sockets layer) should be used when communicating with SMTP server.
-
- .
-
-
-
- Gets or sets the port number that SMTP Server is listening on.
-
-
-
-
-
- Gets or sets a value indicating whether the default Settings from System.Net.MailSettings should be used.
-
-
-
-
-
- Specifies how outgoing email messages will be handled.
-
-
-
-
-
- Gets or sets the folder where applications save mail messages to be processed by the local SMTP server.
-
-
-
-
-
- Gets or sets the priority used for sending mails.
-
-
-
-
-
- Gets or sets a value indicating whether NewLine characters in the body should be replaced with
tags.
-
- Only happens when is set to true.
-
-
-
-
- Gets or sets a value indicating the SMTP client timeout.
-
- Warning: zero is not infinite waiting
-
-
-
-
- Gets the array of email headers that are transmitted with this email message
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Create mail and send with SMTP
-
- event printed in the body of the event
-
-
-
- Create buffer for body
-
- all events
- first event for header
- last event for footer
-
-
-
-
- Set properties of
-
- last event for username/password
- client to set properties on
- Configure not at , as the properties could have layout renderers.
-
-
-
- Handle if it is a virtual directory.
-
-
-
-
-
-
- Create key for grouping. Needed for multiple events in one mail message
-
- event for rendering layouts
- string to group on
-
-
-
- Create the mail message with the addresses, properties and body.
-
-
-
-
- Render and add the addresses to
-
- Addresses appended to this list
- layout with addresses, ; separated
- event for rendering the
- added a address?
-
Writes log messages to in memory for programmatic retrieval.
@@ -24867,7 +21767,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -24904,8 +21804,9 @@
- Gets or sets the max number of items to have in memory
+ Gets or sets the max number of items to have in memory. Zero or Negative means no limit.
+ Default: 0
@@ -24955,12 +21856,14 @@
Gets or sets the name of the parameter.
+ [Required] Default:
- Gets or sets the layout that should be use to calculate the value for the parameter.
+ Gets or sets the layout used for rendering the method-parameter value.
+ [Required] Default:
@@ -24968,18 +21871,21 @@
Obsolete and replaced by with NLog v4.6.
Gets or sets the type of the parameter. Obsolete alias for
+ Default: typeof(string)
- Gets or sets the type of the parameter.
+ Gets or sets the type of the parameter.
+ Default: typeof(string)
Gets or sets the fallback value when result value is not available
+ Default:
@@ -24999,7 +21905,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -25014,15 +21920,16 @@
Gets or sets the class name.
+ Default:
-
- Gets or sets the method name. The method must be public and static.
+
+ Gets or sets the method name. The method must be public and static.
- Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx
- e.g.
-
-
+ Use the AssemblyQualifiedName -
+
+ Default:
+
@@ -25054,13 +21961,13 @@
- Calls the specified Method.
+ Calls the specified Method.
Method parameters.
- The base class for all targets which call methods (local or remote).
+ The base class for all targets which call methods (local or remote).
Manages parameters and type coercion.
@@ -25088,570 +21995,12 @@
Method call parameters.
The logging event.
-
-
- Calls the target DoInvoke method, and handles AsyncContinuation callback
-
- Method call parameters.
- The continuation.
-
Calls the target method. Must be implemented in concrete classes.
Method call parameters.
-
-
- Arguments for events.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Creates new instance of NetworkTargetLogEventDroppedEventArgs
-
-
-
-
- The reason why log was dropped
-
-
-
-
- The reason why log event was dropped by
-
-
-
-
- Discarded LogEvent because message is bigger than
-
-
-
-
- Discarded LogEvent because message queue was bigger than
-
-
-
-
- Discarded LogEvent because attempted to open more than connections
-
-
-
-
- Discarded LogEvent because of network communication error
-
-
-
-
- Sends log messages over the network.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
- To print the results, use any application that's able to receive messages over
- TCP or UDP. NetCat is
- a simple but very powerful command-line tool that can be used for that. This image
- demonstrates the NetCat tool receiving log messages from Network target.
-
-
-
- There are two specialized versions of the Network target: Chainsaw
- and NLogViewer which write to instances of Chainsaw log4j viewer
- or NLogViewer application respectively.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
-
-
-
- Gets or sets the network address.
-
-
- The network address can be:
-
- - tcp://host:port - TCP (auto select IPv4/IPv6)
- - tcp4://host:port - force TCP/IPv4
- - tcp6://host:port - force TCP/IPv6
- - udp://host:port - UDP (auto select IPv4/IPv6)
- - udp4://host:port - force UDP/IPv4
- - udp6://host:port - force UDP/IPv6
- - http://host:port/pageName - HTTP using POST verb
- - https://host:port/pageName - HTTPS using POST verb
-
- For SOAP-based webservice support over HTTP use WebService target.
-
-
-
-
-
- Gets or sets a value indicating whether to keep connection open whenever possible.
-
-
-
-
-
- Gets or sets a value indicating whether to append newline at the end of log message.
-
-
-
-
-
- Gets or sets the end of line value if a newline is appended at the end of log message .
-
-
-
-
-
- Gets or sets the maximum message size in bytes. On limit breach then action is activated.
-
-
-
-
-
- Gets or sets the maximum simultaneous connections. Requires = false
-
-
- When having reached the maximum limit, then action will apply.
-
-
-
-
-
- Gets or sets the action that should be taken, when more connections than .
-
-
-
-
-
- Gets or sets the maximum queue size for a single connection. Requires = true
-
-
- When having reached the maximum limit, then action will apply.
-
-
-
-
-
- Gets or sets the action that should be taken, when more pending messages than .
-
-
-
-
-
- Occurs when LogEvent has been dropped.
-
-
- - When internal queue is full and set to
- - When connection-list is full and set to
- - When message is too big and set to
-
-
-
-
- Gets or sets the size of the connection cache (number of connections which are kept alive). Requires = true
-
-
-
-
-
- Gets or sets the action that should be taken if the message is larger than
-
-
- For TCP sockets then means no-limit, as TCP sockets
- performs splitting automatically.
-
- For UDP Network sender then means splitting the message
- into smaller chunks. This can be useful on networks using DontFragment, which drops network packages
- larger than MTU-size (1472 bytes).
-
-
-
-
-
- Gets or sets the encoding to be used.
-
-
-
-
-
- Gets or sets the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP.
-
-
-
-
-
- The number of seconds a connection will remain idle before the first keep-alive probe is sent
-
-
-
-
-
- Type of compression for protocol payload. Useful for UDP where datagram max-size is 8192 bytes.
-
-
-
-
- Skip compression when protocol payload is below limit to reduce overhead in cpu-usage and additional headers
-
-
-
-
- Flush any pending log messages asynchronously (in case of asynchronous targets).
-
- The asynchronous continuation.
-
-
-
-
-
-
- Sends the
- rendered logging event over the network optionally concatenating it with a newline character.
-
- The logging event.
-
-
-
- Try to remove.
-
-
-
-
- removed something?
-
-
-
- Gets the bytes to be written.
-
- Log event.
- Byte array.
-
-
-
- Type of compression for protocol payload
-
-
-
-
- No compression
-
-
-
-
- GZip optimal compression
-
-
-
-
- GZip fastest compression
-
-
-
-
- The action to be taken when there are more connections then the max.
-
-
-
-
- Allow new connections when reaching max connection limit
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Just allow it.
-
-
-
-
- Discard new messages when reaching max connection limit
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Discard the connection item.
-
-
-
-
- Block until there's more room in the queue.
-
-
-
-
- Action that should be taken if the message overflows.
-
-
-
-
- Report an error.
-
-
-
-
- Split the message into smaller pieces. Only relevant for UDP sockets, as TCP sockets does it automatically.
-
-
- Udp-Network-Sender will split the message into smaller chunks that matches .
- This can avoid network-package-drop when network uses DontFragment and message is larger than MTU-size (1472 bytes).
-
-
-
-
- Discard the entire message.
-
-
-
-
- The action to be taken when the queue overflows.
-
-
-
-
- Grow the queue.
-
-
-
-
- Discard the overflowing item.
-
-
-
-
- Block until there's more room in the queue.
-
-
-
-
- Represents a parameter to a NLogViewer target.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets viewer parameter name.
-
-
-
-
-
- Gets or sets the layout that should be use to calculate the value for the parameter.
-
-
-
-
-
- Gets or sets whether an attribute with empty value should be included in the output
-
-
-
-
-
- Sends log messages to the remote instance of NLog Viewer.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
-
-
-
- Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema.
-
-
-
-
-
- Gets or sets the log4j:event logger-xml-attribute. Default: ${logger}
-
-
-
-
-
- Gets or sets the log4j:event message-xml-element. Default: ${message}
-
-
-
-
-
- Gets or sets the log4j:event log4japp-xml-element. By default it's the friendly name of the current AppDomain.
-
-
-
-
-
- Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network.
-
-
-
-
-
- Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include dictionary contents.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets whether to include the contents of the properties-dictionary.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets the separator for operation-states-stack.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include dictionary contents.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include contents of the stack.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets or sets the stack separator for log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets the stack separator for log4j:NDC in output from nested context.
-
-
-
-
-
- Gets the collection of parameters. Each parameter contains a mapping
- between NLog layout and a named parameter.
-
-
-
-
-
- Gets the layout renderer which produces Log4j-compatible XML events.
-
-
-
-
- Gets or sets the instance of that is used to format log messages.
-
-
-
Discards log messages. Used mainly for debugging and benchmarking.
@@ -25662,7 +22011,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -25676,6 +22025,7 @@
Gets or sets a value indicating whether to perform layout calculation.
+ Default:
@@ -25696,26 +22046,6 @@
The logging event.
-
-
- SMTP authentication modes.
-
-
-
-
- No authentication.
-
-
-
-
- Basic - username and password.
-
-
-
-
- NTLM Authentication.
-
-
Represents logging target.
@@ -25733,6 +22063,7 @@
Gets or sets the name of the target.
+ [Required] Default:
@@ -25743,16 +22074,16 @@
-
- NLog Layout are by default threadsafe, so multiple threads can be rendering logevents at the same time.
- This ensure high concurrency with no lock-congestion for the application-threads, especially when using
- or AsyncTaskTarget.
+
+ NLog Layout are by default threadsafe, so multiple threads can be rendering logevents at the same time.
+ This ensure high concurrency with no lock-congestion for the application-threads, especially when using
+ or AsyncTaskTarget.
- But if using custom or that are not
- threadsafe, then this option can enabled to protect against thread-concurrency-issues. Allowing one
- to update to NLog 5.0 without having to fix custom/external layout-dependencies.
-
-
+ But if using custom or that are not
+ threadsafe, then this option can enabled to protect against thread-concurrency-issues. Allowing one
+ to update to NLog 5.0 without having to fix custom/external layout-dependencies.
+
+
@@ -25842,7 +22173,7 @@
Releases unmanaged and - optionally - managed resources.
- True to release both managed and unmanaged resources; false to release only unmanaged resources.
+ to release both managed and unmanaged resources; to release only unmanaged resources.
@@ -25874,15 +22205,15 @@
Async Log event to be written out.
-
- Writes a log event to the log target, in a thread safe manner.
- Any override of this method has to provide their own synchronization mechanism.
+
+ Writes a log event to the log target, in a thread safe manner.
+ Any override of this method has to provide their own synchronization mechanism.
- !WARNING! Custom targets should only override this method if able to provide their
- own synchronization mechanism. -objects are not guaranteed to be
- thread-safe, so using them without a SyncRoot-object can be dangerous.
-
- Log event to be written out.
+ !WARNING! Custom targets should only override this method if able to provide their
+ own synchronization mechanism. -objects are not guaranteed to be
+ thread-safe, so using them without a SyncRoot-object can be dangerous.
+
+ Log event to be written out.
@@ -25893,15 +22224,15 @@
Logging events to be written out.
-
- Writes an array of logging events to the log target, in a thread safe manner.
- Any override of this method has to provide their own synchronization mechanism.
+
+ Writes an array of logging events to the log target, in a thread safe manner.
+ Any override of this method has to provide their own synchronization mechanism.
- !WARNING! Custom targets should only override this method if able to provide their
- own synchronization mechanism. -objects are not guaranteed to be
- thread-safe, so using them without a SyncRoot-object can be dangerous.
-
- Logging events to be written out.
+ !WARNING! Custom targets should only override this method if able to provide their
+ own synchronization mechanism. -objects are not guaranteed to be
+ thread-safe, so using them without a SyncRoot-object can be dangerous.
+
+ Logging events to be written out.
@@ -25935,31 +22266,31 @@
Avoid calling this while handling a LogEvent, since random deadlocks can occur.
-
- Should the exception be rethrown?
-
- Upgrade to private protected when using C# 7.2
+
+ Should the exception be rethrown?
+
+ Upgrade to private protected when using C# 7.2
-
- Obsolete and replaced by with NLog v5.2.
+
+ Obsolete and replaced by with NLog v5.2.
- Register a custom Target.
-
- Short-cut for registering to default
- Type of the Target.
- The target type-alias for use in NLog configuration
+ Register a custom Target.
+
+ Short-cut for registering to default
+ Type of the Target.
+ The target type-alias for use in NLog configuration
-
- Obsolete and replaced by with NLog v5.2.
+
+ Obsolete and replaced by with NLog v5.2.
- Register a custom Target.
-
- Short-cut for registering to default
- Type of the Target.
- The target type-alias for use in NLog configuration
+ Register a custom Target.
+
+ Short-cut for registering to default
+ Type of the Target.
+ The target type-alias for use in NLog configuration
@@ -25984,7 +22315,7 @@
- Attribute details for
+ Attribute details for
@@ -26001,32 +22332,37 @@
- Gets or sets the name of the attribute.
+ Gets or sets the name of the property.
+ [Required] Default:
- Gets or sets the layout that will be rendered as the attribute's value.
+ Gets or sets the layout used for rendering the property value.
+ [Required] Default:
Gets or sets the type of the property.
+ Default:
Gets or sets the fallback value when result value is not available
+ Default:
- Gets or sets when an empty value should cause the property to be included
+ Gets or sets whether empty property value should be included in the output.
+ Default: . Empty value is either null or empty string
@@ -26051,11 +22387,10 @@
{
this.Host = "localhost";
}
-
- [RequiredParameter]
+
public Layout Host { get; set; }
- protected override void Write(LogEventInfo logEvent)
+ protected override void Write(LogEventInfo logEvent)
{
string logMessage = this.RenderLogEvent(this.Layout, logEvent);
string hostName = this.RenderLogEvent(this.Host, logEvent);
@@ -26078,18 +22413,21 @@
Gets or sets the option to include all properties from the log events
+ Default:
Gets or sets whether to include the contents of the properties-dictionary.
+ Default:
Gets or sets whether to include the contents of the nested-state-stack.
+ Default:
@@ -26097,6 +22435,7 @@
Obsolete and replaced by with NLog v5.
Gets or sets whether to include the contents of the -dictionary.
+ Default:
@@ -26104,6 +22443,7 @@
Obsolete and replaced by with NLog v5.
Gets or sets whether to include the contents of the -stack.
+ Default:
@@ -26111,6 +22451,7 @@
Obsolete and replaced by with NLog v5.
Gets or sets whether to include the contents of the -properties.
+ Default:
@@ -26118,24 +22459,28 @@
Obsolete and replaced by with NLog v5.
Gets or sets whether to include the contents of the -stack.
+ Default:
Gets or sets a value indicating whether to include contents of the dictionary
+ Default:
Gets or sets a value indicating whether to include call site (class and method name) in the
+ Default:
Gets or sets a value indicating whether to include source info (file name and line number) in the
+ Default:
@@ -26146,7 +22491,7 @@
- List of property names to exclude when is true
+ List of property names to exclude when is
@@ -26155,12 +22500,15 @@
Constructor
+
+
+
Check if logevent has properties (or context properties)
- True if properties should be included
+ if properties should be included
@@ -26174,7 +22522,7 @@
Checks if any context properties, and if any returns them as a single dictionary
- Optional prefilled dictionary
+ Optional pre-allocated dictionary for the snapshot
Dictionary with any context properties for the logEvent (Null if none found)
@@ -26202,14 +22550,6 @@
Dictionary of context values
New (unique) value (or null to skip value). If the same value is used then the item will be overwritten
-
-
- Obsolete and replaced by with NLog v5.
- Returns the captured snapshot of for the
-
-
- Dictionary with MDC context if any, else null
-
Returns the captured snapshot of dictionary for the
@@ -26217,22 +22557,6 @@
Dictionary with ScopeContext properties if any, else null
-
-
- Obsolete and replaced by with NLog v5.
- Returns the captured snapshot of for the
-
-
- Dictionary with MDLC context if any, else null
-
-
-
- Obsolete and replaced by with NLog v5.
- Returns the captured snapshot of for the
-
-
- Collection with NDC context if any, else null
-
Returns the captured snapshot of nested states from for the
@@ -26240,14 +22564,6 @@
Collection of nested state objects if any, else null
-
-
- Obsolete and replaced by with NLog v5.
- Returns the captured snapshot of for the
-
-
- Collection with NDLC context if any, else null
-
Takes snapshot of for the
@@ -26256,35 +22572,6 @@
Optional pre-allocated dictionary for the snapshot
Dictionary with GDC context if any, else null
-
-
- Obsolete and replaced by with NLog v5.
- Takes snapshot of for the
-
-
- Optional pre-allocated dictionary for the snapshot
- Dictionary with MDC context if any, else null
-
-
-
- Obsolete and replaced by with NLog v5.
- Take snapshot of a single object value from
-
- Log event
- MDC key
- MDC value
- Snapshot of MDC value
- Include object value in snapshot
-
-
-
- Obsolete and replaced by with NLog v5.
- Takes snapshot of for the
-
-
- Optional pre-allocated dictionary for the snapshot
- Dictionary with MDLC context if any, else null
-
Takes snapshot of dictionary for the
@@ -26293,17 +22580,6 @@
Optional pre-allocated dictionary for the snapshot
Dictionary with ScopeContext properties if any, else null
-
-
- Obsolete and replaced by with NLog v5.
- Take snapshot of a single object value from
-
- Log event
- MDLC key
- MDLC value
- Snapshot of MDLC value
- Include object value in snapshot
-
Take snapshot of a single object value from dictionary
@@ -26314,32 +22590,6 @@
Snapshot of ScopeContext property-value
Include object value in snapshot
-
-
- Obsolete and replaced by with NLog v5.
- Takes snapshot of for the
-
-
- Collection with NDC context if any, else null
-
-
-
- Obsolete and replaced by with NLog v5.
- Take snapshot of a single object value from
-
- Log event
- NDC value
- Snapshot of NDC value
- Include object value in snapshot
-
-
-
- Obsolete and replaced by with NLog v5.
- Takes snapshot of for the
-
-
- Collection with NDLC context if any, else null
-
Takes snapshot of nested states from for the
@@ -26347,16 +22597,6 @@
Collection with stack items if any, else null
-
-
- Obsolete and replaced by with NLog v5.
- Take snapshot of a single object value from
-
- Log event
- NDLC value
- Snapshot of NDLC value
- Include object value in snapshot
-
Take snapshot of a single object value from nested states
@@ -26376,6 +22616,20 @@
Snapshot of value
Include object value in snapshot
+
+
+ Returns the captured snapshot of for the
+
+
+ Collection with NDLC context if any, else null
+
+
+
+ Returns the captured snapshot of for the
+
+
+ Dictionary with MDLC context if any, else null
+
Internal Layout that allows capture of properties-dictionary
@@ -26403,9 +22657,7 @@
Gets or sets the layout used to format log messages.
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
+ [Required] Default: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
@@ -26422,452 +22674,22 @@
-
- Gets or sets the text to be rendered.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
-
+
Gets or sets the footer.
+ Default:
Gets or sets the header.
+ Default:
-
-
- Gets or sets the layout with header and footer.
-
- The layout with header and footer.
-
-
-
- Sends log messages through System.Diagnostics.Trace.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Force use independent of
-
-
-
-
-
- Forward to (Instead of )
-
-
- Trace.Fail can have special side-effects, and give fatal exceptions, message dialogs or Environment.FailFast
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
-
-
-
-
-
-
-
-
-
- Writes the specified logging event to the facility.
-
- Redirects the log message depending on and .
- When is false:
- - writes to
- - writes to
- - writes to
- - writes to
- - writes to
- - writes to
-
- The logging event.
-
-
-
- Web service protocol.
-
-
-
-
- Use SOAP 1.1 Protocol.
-
-
-
-
- Use SOAP 1.2 Protocol.
-
-
-
-
- Use HTTP POST Protocol.
-
-
-
-
- Use HTTP GET Protocol.
-
-
-
-
- Do an HTTP POST of a JSON document.
-
-
-
-
- Do an HTTP POST of an XML document.
-
-
-
-
- Web Service Proxy Configuration Type
-
-
-
-
- Default proxy configuration from app.config (System.Net.WebRequest.DefaultWebProxy)
-
-
- Example of how to configure default proxy using app.config
-
- <system.net>
- <defaultProxy enabled = "true" useDefaultCredentials = "true" >
- <proxy usesystemdefault = "True" />
- </defaultProxy>
- </system.net>
-
-
-
-
-
- Automatic use of proxy with authentication (cached)
-
-
-
-
- Disables use of proxy (fast)
-
-
-
-
- Custom proxy address (cached)
-
-
-
-
- Calls the specified web service on each log message.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
- The web service must implement a method that accepts a number of string parameters.
-
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
- The example web service that works with this example is shown below
-
-
-
-
-
- dictionary that maps a concrete implementation
- to a specific -value.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the target
-
-
-
- Gets or sets the web service URL.
-
-
-
-
-
- Gets or sets the value of the User-agent HTTP header.
-
-
-
-
-
- Gets or sets the Web service method name. Only used with Soap.
-
-
-
-
-
- Gets or sets the Web service namespace. Only used with Soap.
-
-
-
-
-
- Gets or sets the protocol to be used when calling web service.
-
-
-
-
-
- Gets or sets the proxy configuration when calling web service
-
-
- Changing ProxyType on Net5 (or newer) will turn off Http-connection-pooling
-
-
-
-
-
- Gets or sets the custom proxy address, include port separated by a colon
-
-
-
-
-
- Should we include the BOM (Byte-order-mark) for UTF? Influences the property.
-
- This will only work for UTF-8.
-
-
-
-
-
- Gets or sets the encoding.
-
-
-
-
-
- Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs)
-
- A value of true if Rfc3986; otherwise, false for legacy Rfc2396.
-
-
-
-
- Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard)
-
- A value of true if legacy encoding; otherwise, false for standard UTF8 encoding.
-
-
-
-
- Gets or sets the name of the root XML element,
- if POST of XML document chosen.
- If so, this property must not be null.
- (see and ).
-
-
-
-
-
- Gets or sets the (optional) root namespace of the XML document,
- if POST of XML document chosen.
- (see and ).
-
-
-
-
-
- Gets the array of parameters to be passed.
-
-
-
-
-
- Indicates whether to pre-authenticate the HttpWebRequest (Requires 'Authorization' in parameters)
-
-
-
-
-
- Calls the target method. Must be implemented in concrete classes.
-
- Method call parameters.
-
-
-
- Calls the target DoInvoke method, and handles AsyncContinuation callback
-
- Method call parameters.
- The continuation.
-
-
-
- Invokes the web service method.
-
- Parameters to be passed.
- The logging event.
-
-
-
-
-
-
-
-
-
- Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol.
-
-
-
-
- Write from input to output. Fix the UTF-8 bom
-
-
-
-
- base class for POST formatters, that
- implement former PrepareRequest() method,
- that creates the content for
- the requested kind of HTTP request
-
-
-
-
- Win32 file attributes.
-
-
- For more information see https://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp.
-
-
-
-
- Read-only file.
-
-
-
-
- Hidden file.
-
-
-
-
- System file.
-
-
-
-
- File should be archived.
-
-
-
-
- Device file.
-
-
-
-
- Normal file.
-
-
-
-
- File is temporary (should be kept in cache and not
- written to disk if possible).
-
-
-
-
- Sparse file.
-
-
-
-
- Reparse point.
-
-
-
-
- Compress file contents.
-
-
-
-
- File should not be indexed by the content indexing service.
-
-
-
-
- Encrypted file.
-
-
-
-
- The system writes through any intermediate cache and goes directly to disk.
-
-
-
-
- The system opens a file with no system caching.
-
-
-
-
- Delete file after it is closed.
-
-
-
-
- A file is accessed according to POSIX rules.
-
-
Asynchronous request queue.
@@ -26877,7 +22699,7 @@
Initializes a new instance of the AsyncRequestQueue class.
- Request limit.
+ Queue max size.
The overflow action.
@@ -26913,9 +22735,9 @@
Clears the queue.
-
+
- Gets or sets the request limit.
+ Gets or sets the queue max-size
@@ -26942,7 +22764,7 @@
- Raise event when RequestCount overflow
+ Raise event when RequestCount overflow
current requests count
@@ -26975,7 +22797,7 @@
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27016,12 +22838,14 @@
Gets or sets the number of log events that should be processed in a batch
by the lazy writer thread.
+ Default:
Gets or sets the time in milliseconds to sleep between batches. (1 or less means trigger on new activity)
+ Default: ms
@@ -27039,30 +22863,28 @@
Gets or sets the action to be taken when the lazy writer thread request queue count
exceeds the set limit.
+ Default:
Gets or sets the limit on the number of requests in the lazy writer thread request queue.
+ Default:
Gets or sets the number of batches of to write before yielding into
-
- Performance is better when writing many small batches, than writing a single large batch
-
+ Default: . Better performance when writing small batches, than single large batch.
Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue
-
- The locking queue is less concurrent when many logger threads, but reduces memory allocation
-
+ Default: . Queue with Monitor.Lock is less concurrent when many logger threads, but reduces memory allocation
@@ -27097,7 +22919,7 @@
Attempts to start an instant timer-worker-thread which can write
queued log messages.
- Returns true when scheduled a timer-worker-thread
+ Returns when scheduled a timer-worker-thread
@@ -27117,7 +22939,7 @@
- Write to queue without locking
+ Write to queue without locking
@@ -27152,7 +22974,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27167,20 +22989,21 @@
Gets or sets the condition expression. Log events who meet this condition will cause
a flush on the wrapped target.
+ Default:
Delay the flush until the LogEvent has been confirmed as written
- If not explicitly set, then disabled by default for and AsyncTaskTarget
-
+ Default: . When not explicitly set, then automatically disabled when or AsyncTaskTarget
Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush
+ Default:
@@ -27276,13 +23099,15 @@
Gets or sets the number of log events to be buffered.
+ Default:
- Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed
+ Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed
if there's no write in the specified period of time. Use -1 to disable timed flushes.
+ Default: . Zero or Negative means disabled.
@@ -27290,9 +23115,10 @@
Gets or sets a value indicating whether to use sliding timeout.
- This value determines how the inactivity period is determined. If sliding timeout is enabled,
- the inactivity timer is reset after each write, if it is disabled - inactivity timer will
- count from the first event written to the buffer.
+ Default: .
+ This value determines how the inactivity period is determined. When
+ the inactivity timer is reset after each write, if - inactivity timer will
+ count from the first event written to the buffer.
@@ -27301,10 +23127,9 @@
Gets or sets the action to take if the buffer overflows.
- Setting to will replace the
- oldest event with new events without sending events down to the wrapped target, and
- setting to will flush the
- entire buffer to the wrapped target.
+ Default: . Setting to
+ will flush the entire buffer to the wrapped target. Setting to
+ will replace the oldest event with new events without sending events down to the wrapped target.
@@ -27382,7 +23207,7 @@
Initializes a new instance of the AsyncRequestQueue class.
- Request limit.
+ Queue max size.
The overflow action.
@@ -27430,10 +23255,10 @@
Documentation on NLog Wiki
- This example causes the messages to be written to server1,
+
This example causes the messages to be written to server1,
and if it fails, messages go to server2.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27465,12 +23290,14 @@
Gets or sets a value indicating whether to return to the first target after any successful write.
+ Default:
Gets or sets whether to enable batching, but fallback will be handled individually
+ Default:
@@ -27527,7 +23354,7 @@
This example causes the messages not contains the string '1' to be ignored.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27559,17 +23386,22 @@
- Gets or sets the condition expression. Log events who meet this condition will be forwarded
+ Gets or sets the condition expression. Log events who meet this condition will be forwarded
to the wrapped target.
+ Default:
Gets or sets the filter. Log events who evaluates to will be discarded
+ [Required] Default:
+
+
+
Checks the condition against the passed log event.
@@ -27594,6 +23426,7 @@
Identifier to perform group-by
+ [Required] Default:
@@ -27621,6 +23454,9 @@
The wrapped target.
Group by identifier.
+
+
+
@@ -27632,7 +23468,7 @@
Limits the number of messages written per timespan to the wrapped target.
- See NLog Wiki
+ See NLog Wiki
Documentation on NLog Wiki
@@ -27666,18 +23502,14 @@
Gets or sets the maximum allowed number of messages written per .
-
- Messages received after has been reached in the current will be discarded.
-
+ Default: . Messages received after has been reached in the current will be discarded.
Gets or sets the interval in which messages will be written up to the number of messages.
-
- Messages received after has been reached in the current will be discarded.
-
+ Default: hour. Messages received after has been reached in the current will be discarded.
@@ -27716,8 +23548,8 @@
-
- Raises by when
+
+ Raises by when
queue is full
and set to
By default queue doubles it size.
@@ -27751,11 +23583,11 @@
This example works like this. If there are no Warn,Error or Fatal messages in the buffer
- only Info messages are written to the file, but if there are any warnings or errors,
+ only Info messages are written to the file, but if there are any warnings or errors,
the output includes detailed trace (levels >= Debug).
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27786,6 +23618,7 @@
Gets or sets the default filter to be applied when no specific rule matches.
+ Default:
@@ -27796,6 +23629,9 @@
+
+
+
@@ -27824,11 +23660,11 @@
Documentation on NLog Wiki
- This example causes the messages to be written to either file1.txt or file2.txt
+
This example causes the messages to be written to either file1.txt or file2.txt
chosen randomly on a per-message basis.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27874,7 +23710,7 @@
This example causes each log message to be repeated 3 times.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27908,6 +23744,7 @@
Gets or sets the number of times to repeat each log message.
+ Default:
@@ -27925,10 +23762,10 @@
Documentation on NLog Wiki
- This example causes each write attempt to be repeated 3 times,
+
This example causes each write attempt to be repeated 3 times,
sleeping 1 second between attempts if first one fails.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27964,18 +23801,21 @@
Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure.
+ Default:
Gets or sets the time to wait between retries in milliseconds.
+ Default: ms
Gets or sets whether to enable batching, and only apply single delay when a whole batch fails
+ Default:
@@ -28014,7 +23854,7 @@
Each odd message is written to file2.txt, each even message goes to file1.txt.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -28071,10 +23911,10 @@
Documentation on NLog Wiki
- This example causes the messages to be written to both file1.txt or file2.txt
+
This example causes the messages to be written to both file1.txt or file2.txt
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -28125,6 +23965,7 @@
Gets or sets the target that is wrapped by this target.
+ [Required] Default:
@@ -28133,6 +23974,9 @@
+
+
+
Writes logging event to the log target. Must be overridden in inheriting
@@ -28140,23 +23984,14 @@
Logging event to be written out.
-
-
- Builtin IFileCompressor implementation utilizing the .Net4.5 specific
- and is used as the default value for on .Net4.5.
- So log files created via can be zipped when archived
- w/o 3rd party zip library when run on .Net4.5 or higher.
-
-
-
-
- Implements using the .Net4.5 specific
-
-
Current local time retrieved directly from DateTime.Now.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -28176,6 +24011,10 @@
Current UTC time retrieved directly from DateTime.UtcNow.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -28195,6 +24034,10 @@
Fast time source that updates current time only once per tick (15.6 milliseconds).
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -28210,6 +24053,10 @@
Fast local time source that is updated once per tick (15.6 milliseconds).
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -28229,6 +24076,10 @@
Fast UTC time source that is updated once per tick (15.6 milliseconds).
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -28248,6 +24099,10 @@
Defines source of current time.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -28276,21 +24131,21 @@
The system originated time value to convert.
- The value of converted to the same form
+ The value of converted to the same form
as time values originated from this source.
- There are situations when NLog have to compare the time originated from TimeSource
+ There are situations when NLog have to compare the time originated from TimeSource
to the time originated externally in the system.
- To be able to provide meaningful result of such comparisons the system time must be expressed in
+ To be able to provide meaningful result of such comparisons the system time must be expressed in
the same form as TimeSource time.
Examples:
- - If the TimeSource provides time values of local time, it should also convert the provided
+ - If the TimeSource provides time values of local time, it should also convert the provided
to the local time.
- - If the TimeSource shifts or skews its time values, it should also apply
+ - If the TimeSource shifts or skews its time values, it should also apply
the same transform to the given .
@@ -28306,676 +24161,6 @@
The Time type-alias for use in NLog configuration.
-
-
- Indicates that the value of the marked element could be null sometimes,
- so checking for null is required before its usage.
-
-
- [CanBeNull] object Test() => null;
-
- void UseTest() {
- var p = Test();
- var s = p.ToString(); // Warning: Possible 'System.NullReferenceException'
- }
-
-
-
-
- Indicates that the value of the marked element can never be null.
-
-
- [NotNull] object Foo() {
- return null; // Warning: Possible 'null' assignment
- }
-
-
-
-
- Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task
- and Lazy classes to indicate that the value of a collection item, of the Task.Result property
- or of the Lazy.Value property can never be null.
-
-
- public void Foo([ItemNotNull]List<string> books)
- {
- foreach (var book in books) {
- if (book != null) // Warning: Expression is always true
- Console.WriteLine(book.ToUpper());
- }
- }
-
-
-
-
- Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task
- and Lazy classes to indicate that the value of a collection item, of the Task.Result property
- or of the Lazy.Value property can be null.
-
-
- public void Foo([ItemCanBeNull]List<string> books)
- {
- foreach (var book in books)
- {
- // Warning: Possible 'System.NullReferenceException'
- Console.WriteLine(book.ToUpper());
- }
- }
-
-
-
-
- Indicates that the marked method builds string by the format pattern and (optional) arguments.
- The parameter, which contains the format string, should be given in the constructor. The format string
- should be in -like form.
-
-
- [StringFormatMethod("message")]
- void ShowError(string message, params object[] args) { /* do something */ }
-
- void Foo() {
- ShowError("Failed: {0}"); // Warning: Non-existing argument in format string
- }
-
-
-
-
- Specifies which parameter of an annotated method should be treated as the format string
-
-
-
-
- Indicates that the marked parameter is a message template where placeholders are to be replaced by the following arguments
- in the order in which they appear
-
-
- void LogInfo([StructuredMessageTemplate]string message, params object[] args) { /* do something */ }
-
- void Foo() {
- LogInfo("User created: {username}"); // Warning: Non-existing argument in format string
- }
-
-
-
-
- Use this annotation to specify a type that contains static or const fields
- with values for the annotated property/field/parameter.
- The specified type will be used to improve completion suggestions.
-
-
- namespace TestNamespace
- {
- public class Constants
- {
- public static int INT_CONST = 1;
- public const string STRING_CONST = "1";
- }
-
- public class Class1
- {
- [ValueProvider("TestNamespace.Constants")] public int myField;
- public void Foo([ValueProvider("TestNamespace.Constants")] string str) { }
-
- public void Test()
- {
- Foo(/*try completion here*/);//
- myField = /*try completion here*/
- }
- }
- }
-
-
-
-
- Indicates that the integral value falls into the specified interval.
- It's allowed to specify multiple non-intersecting intervals.
- Values of interval boundaries are inclusive.
-
-
- void Foo([ValueRange(0, 100)] int value) {
- if (value == -1) { // Warning: Expression is always 'false'
- ...
- }
- }
-
-
-
-
- Indicates that the integral value never falls below zero.
-
-
- void Foo([NonNegativeValue] int value) {
- if (value == -1) { // Warning: Expression is always 'false'
- ...
- }
- }
-
-
-
-
- Indicates that the function argument should be a string literal and match
- one of the parameters of the caller function. This annotation is used for parameters
- like 'string paramName' parameter of the constructor.
-
-
- void Foo(string param) {
- if (param == null)
- throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol
- }
-
-
-
-
- Indicates that the method is contained in a type that implements
- System.ComponentModel.INotifyPropertyChanged interface and this method
- is used to notify that some property value changed.
-
-
- The method should be non-static and conform to one of the supported signatures:
-
- - NotifyChanged(string)
- - NotifyChanged(params string[])
- - NotifyChanged{T}(Expression{Func{T}})
- - NotifyChanged{T,U}(Expression{Func{T,U}})
- - SetProperty{T}(ref T, T, string)
-
-
-
- public class Foo : INotifyPropertyChanged {
- public event PropertyChangedEventHandler PropertyChanged;
-
- [NotifyPropertyChangedInvocator]
- protected virtual void NotifyChanged(string propertyName) { ... }
-
- string _name;
-
- public string Name {
- get { return _name; }
- set { _name = value; NotifyChanged("LastName"); /* Warning */ }
- }
- }
-
- Examples of generated notifications:
-
- - NotifyChanged("Property")
- - NotifyChanged(() => Property)
- - NotifyChanged((VM x) => x.Property)
- - SetProperty(ref myField, value, "Property")
-
-
-
-
-
- Describes dependency between method input and output.
-
-
- Function Definition Table syntax:
-
- - FDT ::= FDTRow [;FDTRow]*
- - FDTRow ::= Input => Output | Output <= Input
- - Input ::= ParameterName: Value [, Input]*
- - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value}
- - Value ::= true | false | null | notnull | canbenull
-
- If the method has a single input parameter, its name could be omitted.
- Using halt (or void/nothing, which is the same) for the method output
- means that the method doesn't return normally (throws or terminates the process).
- Value canbenull is only applicable for output parameters.
- You can use multiple [ContractAnnotation] for each FDT row, or use single attribute
- with rows separated by the semicolon. There is no notion of order rows, all rows are checked
- for applicability and applied per each program state tracked by the analysis engine.
-
-
-
- [ContractAnnotation("=> halt")]
- public void TerminationMethod()
-
-
- [ContractAnnotation("null <= param:null")] // reverse condition syntax
- public string GetName(string surname)
-
-
- [ContractAnnotation("s:null => true")]
- public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty()
-
-
- // A method that returns null if the parameter is null,
- // and not null if the parameter is not null
- [ContractAnnotation("null => null; notnull => notnull")]
- public object Transform(object data)
-
-
- [ContractAnnotation("=> true, result: notnull; => false, result: null")]
- public bool TryParse(string s, out Person result)
-
-
-
-
-
- Indicates whether the marked element should be localized.
-
-
- [LocalizationRequiredAttribute(true)]
- class Foo {
- string str = "my string"; // Warning: Localizable string
- }
-
-
-
-
- Indicates that the value of the marked type (or its derivatives)
- cannot be compared using '==' or '!=' operators and Equals()
- should be used instead. However, using '==' or '!=' for comparison
- with null is always permitted.
-
-
- [CannotApplyEqualityOperator]
- class NoEquality { }
-
- class UsesNoEquality {
- void Test() {
- var ca1 = new NoEquality();
- var ca2 = new NoEquality();
- if (ca1 != null) { // OK
- bool condition = ca1 == ca2; // Warning
- }
- }
- }
-
-
-
-
- When applied to a target attribute, specifies a requirement for any type marked
- with the target attribute to implement or inherit specific type or types.
-
-
- [BaseTypeRequired(typeof(IComponent)] // Specify requirement
- class ComponentAttribute : Attribute { }
-
- [Component] // ComponentAttribute requires implementing IComponent interface
- class MyComponent : IComponent { }
-
-
-
-
- Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library),
- so this symbol will be ignored by usage-checking inspections.
- You can use and
- to configure how this attribute is applied.
-
-
- [UsedImplicitly]
- public class TypeConverter {}
-
- public class SummaryData
- {
- [UsedImplicitly(ImplicitUseKindFlags.InstantiatedWithFixedConstructorSignature)]
- public SummaryData() {}
- }
-
- [UsedImplicitly(ImplicitUseTargetFlags.WithInheritors | ImplicitUseTargetFlags.Default)]
- public interface IService {}
-
-
-
-
- Can be applied to attributes, type parameters, and parameters of a type assignable from .
- When applied to an attribute, the decorated attribute behaves the same as .
- When applied to a type parameter or to a parameter of type ,
- indicates that the corresponding type is used implicitly.
-
-
-
-
- Specifies the details of implicitly used symbol when it is marked
- with or .
-
-
-
- Only entity marked with attribute considered used.
-
-
- Indicates implicit assignment to a member.
-
-
-
- Indicates implicit instantiation of a type with fixed constructor signature.
- That means any unused constructor parameters won't be reported as such.
-
-
-
- Indicates implicit instantiation of a type.
-
-
-
- Specifies what is considered to be used implicitly when marked
- with or .
-
-
-
- Members of the type marked with the attribute are considered used.
-
-
- Inherited entities are considered used.
-
-
- Entity marked with the attribute and all its members considered used.
-
-
-
- This attribute is intended to mark publicly available API,
- which should not be removed and so is treated as used.
-
-
-
-
- Tells the code analysis engine if the parameter is completely handled when the invoked method is on stack.
- If the parameter is a delegate, indicates that delegate can only be invoked during method execution
- (the delegate can be invoked zero or multiple times, but not stored to some field and invoked later,
- when the containing method is no longer on the execution stack).
- If the parameter is an enumerable, indicates that it is enumerated while the method is executed.
- If is true, the attribute will only takes effect if the method invocation is located under the 'await' expression.
-
-
-
-
- Require the method invocation to be used under the 'await' expression for this attribute to take effect on code analysis engine.
- Can be used for delegate/enumerable parameters of 'async' methods.
-
-
-
-
- Indicates that a method does not make any observable state changes.
- The same as System.Diagnostics.Contracts.PureAttribute.
-
-
- [Pure] int Multiply(int x, int y) => x * y;
-
- void M() {
- Multiply(123, 42); // Warning: Return value of pure method is not used
- }
-
-
-
-
- Indicates that the return value of the method invocation must be used.
-
-
- Methods decorated with this attribute (in contrast to pure methods) might change state,
- but make no sense without using their return value.
- Similarly to , this attribute
- will help to detect usages of the method when the return value is not used.
- Optionally, you can specify a message to use when showing warnings, e.g.
- [MustUseReturnValue("Use the return value to...")].
-
-
-
-
- This annotation allows to enforce allocation-less usage patterns of delegates for performance-critical APIs.
- When this annotation is applied to the parameter of delegate type, IDE checks the input argument of this parameter:
- * When lambda expression or anonymous method is passed as an argument, IDE verifies that the passed closure
- has no captures of the containing local variables and the compiler is able to cache the delegate instance
- to avoid heap allocations. Otherwise the warning is produced.
- * IDE warns when method name or local function name is passed as an argument as this always results
- in heap allocation of the delegate instance.
-
-
- In C# 9.0 code IDE would also suggest to annotate the anonymous function with 'static' modifier
- to make use of the similar analysis provided by the language/compiler.
-
-
-
-
- Indicates the type member or parameter of some type, that should be used instead of all other ways
- to get the value of that type. This annotation is useful when you have some "context" value evaluated
- and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one.
-
-
- class Foo {
- [ProvidesContext] IBarService _barService = ...;
-
- void ProcessNode(INode node) {
- DoSomething(node, node.GetGlobalServices().Bar);
- // ^ Warning: use value of '_barService' field
- }
- }
-
-
-
-
- Indicates that a parameter is a path to a file or a folder within a web project.
- Path can be relative or absolute, starting from web root (~).
-
-
-
-
- An extension method marked with this attribute is processed by code completion
- as a 'Source Template'. When the extension method is completed over some expression, its source code
- is automatically expanded like a template at call site.
-
-
- Template method body can contain valid source code and/or special comments starting with '$'.
- Text inside these comments is added as source code when the template is applied. Template parameters
- can be used either as additional method parameters or as identifiers wrapped in two '$' signs.
- Use the attribute to specify macros for parameters.
-
-
- In this example, the 'forEach' method is a source template available over all values
- of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block:
-
- [SourceTemplate]
- public static void forEach<T>(this IEnumerable<T> xs) {
- foreach (var x in xs) {
- //$ $END$
- }
- }
-
-
-
-
-
- Allows specifying a macro for a parameter of a source template.
-
-
- You can apply the attribute on the whole method or on any of its additional parameters. The macro expression
- is defined in the property. When applied on a method, the target
- template parameter is defined in the property. To apply the macro silently
- for the parameter, set the property value = -1.
-
-
- Applying the attribute on a source template method:
-
- [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")]
- public static void forEach<T>(this IEnumerable<T> collection) {
- foreach (var item in collection) {
- //$ $END$
- }
- }
-
- Applying the attribute on a template method parameter:
-
- [SourceTemplate]
- public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) {
- /*$ var $x$Id = "$newguid$" + x.ToString();
- x.DoSomething($x$Id); */
- }
-
-
-
-
-
- Allows specifying a macro that will be executed for a source template
- parameter when the template is expanded.
-
-
-
-
- Allows specifying which occurrence of the target parameter becomes editable when the template is deployed.
-
-
- If the target parameter is used several times in the template, only one occurrence becomes editable;
- other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence,
- use values >= 0. To make the parameter non-editable when the template is expanded, use -1.
-
-
-
-
- Identifies the target parameter of a source template if the
- is applied on a template method.
-
-
-
-
- Indicates how method, constructor invocation, or property access
- over collection type affects the contents of the collection.
- When applied to a return value of a method indicates if the returned collection
- is created exclusively for the caller (CollectionAccessType.UpdatedContent) or
- can be read/updated from outside (CollectionAccessType.Read | CollectionAccessType.UpdatedContent)
- Use to specify the access type.
-
-
- Using this attribute only makes sense if all collection methods are marked with this attribute.
-
-
- public class MyStringCollection : List<string>
- {
- [CollectionAccess(CollectionAccessType.Read)]
- public string GetFirstString()
- {
- return this.ElementAt(0);
- }
- }
- class Test
- {
- public void Foo()
- {
- // Warning: Contents of the collection is never updated
- var col = new MyStringCollection();
- string x = col.GetFirstString();
- }
- }
-
-
-
-
- Provides a value for the to define
- how the collection method invocation affects the contents of the collection.
-
-
-
- Method does not use or modify content of the collection.
-
-
- Method only reads content of the collection but does not modify it.
-
-
- Method can change content of the collection but does not add new elements.
-
-
- Method can add new elements to the collection.
-
-
-
- Indicates that the marked method is assertion method, i.e. it halts the control flow if
- one of the conditions is satisfied. To set the condition, mark one of the parameters with
- attribute.
-
-
-
-
- Indicates the condition parameter of the assertion method. The method itself should be
- marked by attribute. The mandatory argument of
- the attribute is the assertion type.
-
-
-
-
- Specifies assertion type. If the assertion method argument satisfies the condition,
- then the execution continues. Otherwise, execution is assumed to be halted.
-
-
-
- Marked parameter should be evaluated to true.
-
-
- Marked parameter should be evaluated to false.
-
-
- Marked parameter should be evaluated to null value.
-
-
- Marked parameter should be evaluated to not null value.
-
-
-
- Indicates that the marked method unconditionally terminates control flow execution.
- For example, it could unconditionally throw exception.
-
-
-
-
- Indicates that the method is a pure LINQ method, with postponed enumeration (like Enumerable.Select,
- .Where). This annotation allows inference of [InstantHandle] annotation for parameters
- of delegate type by analyzing LINQ method chains.
-
-
-
-
- Indicates that IEnumerable passed as a parameter is not enumerated.
- Use this annotation to suppress the 'Possible multiple enumeration of IEnumerable' inspection.
-
-
- static void ThrowIfNull<T>([NoEnumeration] T v, string n) where T : class
- {
- // custom check for null but no enumeration
- }
-
- void Foo(IEnumerable<string> values)
- {
- ThrowIfNull(values, nameof(values));
- var x = values.ToList(); // No warnings about multiple enumeration
- }
-
-
-
-
- Indicates that the marked parameter, field, or property is a regular expression pattern.
-
-
-
-
- Language of injected code fragment inside marked by string literal.
-
-
-
-
- Indicates that the marked parameter, field, or property is accepting a string literal
- containing code fragment in a language specified by the .
-
-
- void Foo([LanguageInjection(InjectedLanguage.CSS, Prefix = "body{", Suffix = "}")] string cssProps)
- {
- // cssProps should only contains a list of CSS properties
- }
-
-
-
- Specify a language of injected code fragment.
-
-
- Specify a string that "precedes" injected string literal.
-
-
- Specify a string that "follows" injected string literal.
-
-
-
- Prevents the Member Reordering feature from tossing members of the marked class.
-
-
- The attribute must be mentioned in your member reordering patterns.
-
-
Initializes a new instance of the class
@@ -29151,5 +24336,35 @@
Gets or sets the justification for suppressing the code analysis message.
+
+
+ Indicates that the specified method requires dynamic access to code that is not referenced
+ statically, for example through .
+
+
+ This allows tools to understand which methods are unsafe to call when removing unreferenced
+ code from an application.
+
+
+
+
+ Initializes a new instance of the class
+ with the specified message.
+
+
+ A message that contains information about the usage of unreferenced code.
+
+
+
+
+ Gets a message that contains information about the usage of unreferenced code.
+
+
+
+
+ Gets or sets an optional URL that contains more information about the method,
+ why it requires unreferenced code, and what options a consumer has to deal with it.
+
+
diff --git a/ToolsDoksImportExport/bin/Debug/ToolsDoksImportExport.exe.config b/ToolsDoksImportExport/bin/Debug/ToolsDoksImportExport.exe.config
index 4bfa00561..ac374055d 100644
--- a/ToolsDoksImportExport/bin/Debug/ToolsDoksImportExport.exe.config
+++ b/ToolsDoksImportExport/bin/Debug/ToolsDoksImportExport.exe.config
@@ -1,6 +1,20 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ToolsDoksImportExport/obj/Debug/ToolsDoksImportExport.csproj.AssemblyReference.cache b/ToolsDoksImportExport/obj/Debug/ToolsDoksImportExport.csproj.AssemblyReference.cache
index 122e8aa1f..48dd48d5c 100644
Binary files a/ToolsDoksImportExport/obj/Debug/ToolsDoksImportExport.csproj.AssemblyReference.cache and b/ToolsDoksImportExport/obj/Debug/ToolsDoksImportExport.csproj.AssemblyReference.cache differ
diff --git a/ToolsDoksImportExport/obj/Debug/ToolsDoksImportExport.csproj.FileListAbsolute.txt b/ToolsDoksImportExport/obj/Debug/ToolsDoksImportExport.csproj.FileListAbsolute.txt
index 4886e92ee..049bc491d 100644
--- a/ToolsDoksImportExport/obj/Debug/ToolsDoksImportExport.csproj.FileListAbsolute.txt
+++ b/ToolsDoksImportExport/obj/Debug/ToolsDoksImportExport.csproj.FileListAbsolute.txt
@@ -24,3 +24,7 @@ E:\Software-Projekte\OnDoc\OnDoc\ToolsDoksImportExport\obj\Debug\ToolsDoksImport
E:\Software-Projekte\OnDoc\OnDoc\ToolsDoksImportExport\obj\Debug\ToolsDok.60F7CB03.Up2Date
E:\Software-Projekte\OnDoc\OnDoc\ToolsDoksImportExport\obj\Debug\ToolsDoksImportExport.exe
E:\Software-Projekte\OnDoc\OnDoc\ToolsDoksImportExport\obj\Debug\ToolsDoksImportExport.pdb
+E:\Software-Projekte\OnDoc\OnDoc\ToolsDoksImportExport\bin\Debug\Database.dll.config
+E:\Software-Projekte\OnDoc\OnDoc\ToolsDoksImportExport\bin\Debug\Logging.dll.config
+E:\Software-Projekte\OnDoc\OnDoc\ToolsDoksImportExport\obj\Debug\ToolsDoksImportExport.csproj.SuggestedBindingRedirects.cache
+E:\Software-Projekte\OnDoc\OnDoc\ToolsDoksImportExport\obj\Debug\ToolsDoksImportExport.exe.config
diff --git a/ToolsDoksImportExport/obj/Debug/ToolsDoksImportExport.csproj.SuggestedBindingRedirects.cache b/ToolsDoksImportExport/obj/Debug/ToolsDoksImportExport.csproj.SuggestedBindingRedirects.cache
new file mode 100644
index 000000000..c29dde78d
--- /dev/null
+++ b/ToolsDoksImportExport/obj/Debug/ToolsDoksImportExport.csproj.SuggestedBindingRedirects.cache
@@ -0,0 +1 @@
+6d76e7a2caa84cc541daed57fe5afac7bb9484f5c33350578418a0d84207e06f
diff --git a/ToolsDoksImportExport/obj/Debug/ToolsDoksImportExport.exe.config b/ToolsDoksImportExport/obj/Debug/ToolsDoksImportExport.exe.config
new file mode 100644
index 000000000..ac374055d
--- /dev/null
+++ b/ToolsDoksImportExport/obj/Debug/ToolsDoksImportExport.exe.config
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/VBOffice/bin/Debug/Database.dll.config b/VBOffice/bin/Debug/Database.dll.config
new file mode 100644
index 000000000..221bbe71f
--- /dev/null
+++ b/VBOffice/bin/Debug/Database.dll.config
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/VBOffice/bin/Debug/Logging.dll b/VBOffice/bin/Debug/Logging.dll
index 2d6fd3221..980d7597b 100644
Binary files a/VBOffice/bin/Debug/Logging.dll and b/VBOffice/bin/Debug/Logging.dll differ
diff --git a/VBOffice/bin/Debug/Logging.dll.config b/VBOffice/bin/Debug/Logging.dll.config
new file mode 100644
index 000000000..3df69c5a5
--- /dev/null
+++ b/VBOffice/bin/Debug/Logging.dll.config
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/VBOffice/bin/Debug/Logging.pdb b/VBOffice/bin/Debug/Logging.pdb
index 8834ecd5f..75ce3d64b 100644
Binary files a/VBOffice/bin/Debug/Logging.pdb and b/VBOffice/bin/Debug/Logging.pdb differ
diff --git a/VBOffice/bin/Debug/Model.dll b/VBOffice/bin/Debug/Model.dll
index 74d2710ed..b2007c3c5 100644
Binary files a/VBOffice/bin/Debug/Model.dll and b/VBOffice/bin/Debug/Model.dll differ
diff --git a/VBOffice/bin/Debug/Model.pdb b/VBOffice/bin/Debug/Model.pdb
index 1f7611581..244081632 100644
Binary files a/VBOffice/bin/Debug/Model.pdb and b/VBOffice/bin/Debug/Model.pdb differ
diff --git a/VBOffice/bin/Debug/NLog.Database.dll b/VBOffice/bin/Debug/NLog.Database.dll
index d5c959ecb..047d27acf 100644
Binary files a/VBOffice/bin/Debug/NLog.Database.dll and b/VBOffice/bin/Debug/NLog.Database.dll differ
diff --git a/VBOffice/bin/Debug/NLog.Database.xml b/VBOffice/bin/Debug/NLog.Database.xml
index 2ca03c0e6..d13749e14 100644
--- a/VBOffice/bin/Debug/NLog.Database.xml
+++ b/VBOffice/bin/Debug/NLog.Database.xml
@@ -105,6 +105,14 @@
Name of the parameter.
The parameter layout.
+
+
+ Initializes a new instance of the class.
+
+ Name of the parameter.
+ The parameter layout.
+ Method-delegate to perform custom initialization database-parameter. Ex. for AOT to assign custom DbType.
+
Gets or sets the database parameter name.
@@ -113,7 +121,7 @@
- Gets or sets the layout that should be use to calculate the value for the parameter.
+ Gets or sets the layout used for rendering the database-parameter value.
@@ -121,8 +129,16 @@
Gets or sets the database parameter DbType.
+
+ Not compatible with AOT since using type-reflection to convert into Enum and assigning value.
+
+
+
+ Gets or sets the database parameter DbType (without reflection logic)
+
+
Gets or sets the database parameter size.
@@ -209,12 +225,26 @@
Initializes a new instance of the class.
+
+ Not compatible with AOT since using type-reflection with to resolve DbConnection-factory.
+
Initializes a new instance of the class.
Name of the target.
+
+ Not compatible with AOT since using type-reflection with to resolve DbConnection-factory.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A factory function that creates instances of for connecting to the database (AOT compatible)
+
@@ -235,7 +265,7 @@
(Note that provider invariant names are not supported on .NET Compact Framework).
- Alternatively the parameter value can be be a fully qualified name of the provider
+ Alternatively the parameter value can be be a fully qualified name of the provider
connection type (class implementing ) or one of the following tokens:
- Gets or sets a value indicating whether to keep the
+ Gets or sets a value indicating whether to keep the
database connection open between the log events.
@@ -321,10 +351,10 @@
Gets or sets the text of the SQL command to be run on each log level.
- Typically this is a SQL INSERT statement or a stored procedure call.
+ Typically this is a SQL INSERT statement or a stored procedure call.
It should use the database-specific parameters (marked as @parameter
for SQL server or :parameter for Oracle, other data providers
- have their own notation) and not the layout renderers,
+ have their own notation) and not the layout renderers,
because the latter is prone to SQL injection attacks.
The layout renderers should be specified as <parameter /> elements instead.
@@ -336,7 +366,7 @@
This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure".
- When using the value StoredProcedure, the commandText-property would
+ When using the value StoredProcedure, the commandText-property would
normally be the name of the stored procedure. TableDirect method is not supported in this context.
@@ -392,7 +422,7 @@
-
+
Set the to use it for opening connections to the database.
@@ -423,10 +453,10 @@
- Build the connectionstring from the properties.
+ Build the connectionstring from the properties.
- Using at first, and falls back to the properties ,
+ Using at first, and falls back to the properties ,
, and
Event to render the layout inside the properties.
@@ -457,5 +487,180 @@
Reflection helpers.
+
+
+ Initializes a new instance of the class
+ with the specified member types.
+
+ The types of members dynamically accessed.
+
+
+
+ Gets the which specifies the type
+ of members dynamically accessed.
+
+
+
+
+ Specifies the types of members that are dynamically accessed.
+
+ This enumeration has a attribute that allows a
+ bitwise combination of its member values.
+
+
+
+
+ Specifies no members.
+
+
+
+
+ Specifies the default, parameterless public constructor.
+
+
+
+
+ Specifies all public constructors.
+
+
+
+
+ Specifies all non-public constructors.
+
+
+
+
+ Specifies all public methods.
+
+
+
+
+ Specifies all non-public methods.
+
+
+
+
+ Specifies all public fields.
+
+
+
+
+ Specifies all non-public fields.
+
+
+
+
+ Specifies all public nested types.
+
+
+
+
+ Specifies all non-public nested types.
+
+
+
+
+ Specifies all public properties.
+
+
+
+
+ Specifies all non-public properties.
+
+
+
+
+ Specifies all public events.
+
+
+
+
+ Specifies all non-public events.
+
+
+
+
+ Specifies all interfaces implemented by the type.
+
+
+
+
+ Specifies all members.
+
+
+
+
+ Suppresses reporting of a specific rule violation, allowing multiple suppressions on a
+ single code artifact.
+
+
+ is different than
+ in that it doesn't have a
+ . So it is always preserved in the compiled assembly.
+
+
+
+
+ Initializes a new instance of the
+ class, specifying the category of the tool and the identifier for an analysis rule.
+
+ The category for the attribute.
+ The identifier of the analysis rule the attribute applies to.
+
+
+
+ Gets the category identifying the classification of the attribute.
+
+
+ The property describes the tool or tool analysis category
+ for which a message suppression attribute applies.
+
+
+
+
+ Gets the identifier of the analysis tool rule to be suppressed.
+
+
+ Concatenated together, the and
+ properties form a unique check identifier.
+
+
+
+
+ Gets or sets the scope of the code that is relevant for the attribute.
+
+
+ The Scope property is an optional argument that specifies the metadata scope for which
+ the attribute is relevant.
+
+
+
+
+ Gets or sets a fully qualified path that represents the target of the attribute.
+
+
+ The property is an optional argument identifying the analysis target
+ of the attribute. An example value is "System.IO.Stream.ctor():System.Void".
+ Because it is fully qualified, it can be long, particularly for targets such as parameters.
+ The analysis tool user interface should be capable of automatically formatting the parameter.
+
+
+
+
+ Gets or sets an optional argument expanding on exclusion criteria.
+
+
+ The property is an optional argument that specifies additional
+ exclusion where the literal metadata target is not sufficiently precise. For example,
+ the cannot be applied within a method,
+ and it may be desirable to suppress a violation against a statement in the method that will
+ give a rule violation, but not against all statements in the method.
+
+
+
+
+ Gets or sets the justification for suppressing the code analysis message.
+
+
diff --git a/VBOffice/bin/Debug/NLog.dll b/VBOffice/bin/Debug/NLog.dll
index 54fe62533..443d19a27 100644
Binary files a/VBOffice/bin/Debug/NLog.dll and b/VBOffice/bin/Debug/NLog.dll differ
diff --git a/VBOffice/bin/Debug/NLog.xml b/VBOffice/bin/Debug/NLog.xml
index 96ffa38b0..5188834db 100644
--- a/VBOffice/bin/Debug/NLog.xml
+++ b/VBOffice/bin/Debug/NLog.xml
@@ -4,6 +4,4071 @@
NLog
+
+
+ Indicates that the value of the marked element could be null sometimes,
+ so checking for null is required before its usage.
+
+
+ [CanBeNull] object Test() => null;
+
+ void UseTest() {
+ var p = Test();
+ var s = p.ToString(); // Warning: Possible 'System.NullReferenceException'
+ }
+
+
+
+
+ Indicates that the value of the marked element can never be null.
+
+
+ [NotNull] object Foo() {
+ return null; // Warning: Possible 'null' assignment
+ }
+
+
+
+
+ Indicates that the marked method builds string by the format pattern and (optional) arguments.
+ The parameter, which contains the format string, should be given in the constructor. The format string
+ should be in -like form.
+
+
+ [StringFormatMethod("message")]
+ void ShowError(string message, params object[] args) { /* do something */ }
+
+ void Foo() {
+ ShowError("Failed: {0}"); // Warning: Non-existing argument in format string
+ }
+
+
+
+
+ Specifies which parameter of an annotated method should be treated as the format string
+
+
+
+
+ Indicates that the marked parameter is a message template where placeholders are to be replaced by the following arguments
+ in the order in which they appear
+
+
+ void LogInfo([StructuredMessageTemplate]string message, params object[] args) { /* do something */ }
+
+ void Foo() {
+ LogInfo("User created: {username}"); // Warning: Non-existing argument in format string
+ }
+
+
+
+
+ Describes dependency between method input and output.
+
+
+ Function Definition Table syntax:
+
+ - FDT ::= FDTRow [;FDTRow]*
+ - FDTRow ::= Input => Output | Output <= Input
+ - Input ::= ParameterName: Value [, Input]*
+ - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value}
+ - Value ::= true | false | null | notnull | canbenull
+
+ If the method has a single input parameter, its name could be omitted.
+ Using halt (or void/nothing, which is the same) for the method output
+ means that the method doesn't return normally (throws or terminates the process).
+ Value canbenull is only applicable for output parameters.
+ You can use multiple [ContractAnnotation] for each FDT row, or use single attribute
+ with rows separated by the semicolon. There is no notion of order rows, all rows are checked
+ for applicability and applied per each program state tracked by the analysis engine.
+
+
+
+ [ContractAnnotation("=> halt")]
+ public void TerminationMethod()
+
+
+ [ContractAnnotation("null <= param:null")] // reverse condition syntax
+ public string GetName(string surname)
+
+
+ [ContractAnnotation("s:null => true")]
+ public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty()
+
+
+ // A method that returns null if the parameter is null,
+ // and not null if the parameter is not null
+ [ContractAnnotation("null => null; notnull => notnull")]
+ public object Transform(object data)
+
+
+ [ContractAnnotation("=> true, result: notnull; => false, result: null")]
+ public bool TryParse(string s, out Person result)
+
+
+
+
+
+ Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library),
+ so this symbol will be ignored by usage-checking inspections.
+ You can use and
+ to configure how this attribute is applied.
+
+
+ [UsedImplicitly]
+ public class TypeConverter {}
+
+ public class SummaryData
+ {
+ [UsedImplicitly(ImplicitUseKindFlags.InstantiatedWithFixedConstructorSignature)]
+ public SummaryData() {}
+ }
+
+ [UsedImplicitly(ImplicitUseTargetFlags.WithInheritors | ImplicitUseTargetFlags.Default)]
+ public interface IService {}
+
+
+
+
+ Can be applied to attributes, type parameters, and parameters of a type assignable from .
+ When applied to an attribute, the decorated attribute behaves the same as .
+ When applied to a type parameter or to a parameter of type ,
+ indicates that the corresponding type is used implicitly.
+
+
+
+
+ Specifies the details of implicitly used symbol when it is marked
+ with or .
+
+
+
+ Only entity marked with attribute considered used.
+
+
+ Indicates implicit assignment to a member.
+
+
+
+ Indicates implicit instantiation of a type with fixed constructor signature.
+ That means any unused constructor parameters won't be reported as such.
+
+
+
+ Indicates implicit instantiation of a type.
+
+
+
+ Specifies what is considered to be used implicitly when marked
+ with or .
+
+
+
+ Members of the type marked with the attribute are considered used.
+
+
+ Inherited entities are considered used.
+
+
+ Entity marked with the attribute and all its members considered used.
+
+
+
+ Asynchronous continuation delegate - function invoked at the end of asynchronous
+ processing.
+
+ Exception during asynchronous processing or null if no exception
+ was thrown.
+
+
+
+ Helpers for asynchronous operations.
+
+
+
+
+ Iterates over all items in the given collection and runs the specified action
+ in sequence (each action executes only after the preceding one has completed without an error).
+
+ Type of each item.
+ The items to iterate.
+ The asynchronous continuation to invoke once all items
+ have been iterated.
+ The action to invoke for each item.
+
+
+
+ Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end.
+
+ The repeat count.
+ The asynchronous continuation to invoke at the end.
+ The action to invoke.
+
+
+
+ Modifies the continuation by pre-pending given action to execute just before it.
+
+ The async continuation.
+ The action to pre-pend.
+ Continuation which will execute the given action before forwarding to the actual continuation.
+
+
+
+ Attaches a timeout to a continuation which will invoke the continuation when the specified
+ timeout has elapsed.
+
+ The asynchronous continuation.
+ The timeout.
+ Wrapped continuation.
+
+
+
+ Iterates over all items in the given collection and runs the specified action
+ in parallel (each action executes on a thread from thread pool).
+
+ Type of each item.
+ The items to iterate.
+ The asynchronous continuation to invoke once all items
+ have been iterated.
+ The action to invoke for each item.
+
+
+
+ Runs the specified asynchronous action synchronously (blocks until the continuation has
+ been invoked).
+
+ The action.
+
+ Using this method is not recommended because it will block the calling thread.
+
+
+
+
+ Wraps the continuation with a guard which will only make sure that the continuation function
+ is invoked only once.
+
+ The asynchronous continuation.
+ Wrapped asynchronous continuation.
+
+
+
+ Gets the combined exception from all exceptions in the list.
+
+ The exceptions.
+ Combined exception or null if no exception was thrown.
+
+
+
+ Disposes the Timer, and waits for it to leave the Timer-callback-method
+
+ The Timer object to dispose
+ Timeout to wait (TimeSpan.Zero means dispose without waiting)
+ Timer disposed within timeout (true/false)
+
+
+
+ Asynchronous action.
+
+ Continuation to be invoked at the end of action.
+
+
+
+ Asynchronous action with one argument.
+
+ Type of the argument.
+ Argument to the action.
+ Continuation to be invoked at the end of action.
+
+
+
+ Represents the logging event with asynchronous continuation.
+
+
+
+
+ Initializes a new instance of the struct.
+
+ The log event.
+ The continuation.
+
+
+
+ Gets the log event.
+
+
+
+
+ Gets the continuation.
+
+
+
+
+ Implements the operator ==.
+
+ The event info1.
+ The event info2.
+ The result of the operator.
+
+
+
+ Implements the operator ==.
+
+ The event info1.
+ The event info2.
+ The result of the operator.
+
+
+
+
+
+
+
+
+
+
+
+
+ String Conversion Helpers
+
+
+
+
+ Converts input string value into . Parsing is case-insensitive.
+
+ Input value
+ Output value
+ Default value
+ Returns if the input value could not be parsed
+
+
+
+ Converts input string value into . Parsing is case-insensitive.
+
+ Input value
+ The type of the enum
+ Output value. Null if parse failed
+
+
+
+ Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded.
+
+ The enumeration type to which to convert value.
+ The string representation of the enumeration name or underlying value to convert.
+ to ignore case; to consider case.
+ When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized.
+ if the value parameter was converted successfully; otherwise, .
+ Wrapper because Enum.TryParse is not present in .net 3.5
+
+
+
+ Enum.TryParse implementation for .net 3.5
+
+
+ Don't uses reflection
+
+
+
+ Enables to extract extra context details for
+
+
+
+
+ Name of context
+
+
+
+
+ The current LogFactory next to LogManager
+
+
+
+
+ Handle Internal LogEvent written to the InternalLogger
+
+
+ Never use/call NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
+
+
+
+
+ Internal LogEvent details from
+
+
+
+
+ The rendered message
+
+
+
+
+ The log level
+
+
+
+
+ The exception. Could be null.
+
+
+
+
+ The type that triggered this internal log event, for example the FileTarget.
+ This property is not always populated.
+
+
+
+
+ The context name that triggered this internal log event, for example the name of the Target.
+ This property is not always populated.
+
+
+
+
+ NLog internal logger.
+
+ Writes to file, console or custom text writer (see )
+
+ Documentation on NLog Wiki
+
+
+
+ Gets a value indicating whether internal log includes Trace messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Debug messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Info messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Warn messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Error messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Fatal messages.
+
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Trace level.
+ will be only called when logging is enabled for level Trace.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Trace level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Trace level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Trace level.
+ will be only called when logging is enabled for level Trace.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Logs the specified message without an at the Debug level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Debug level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Debug level.
+ will be only called when logging is enabled for level Debug.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Debug level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Debug level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Debug level.
+ will be only called when logging is enabled for level Debug.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Logs the specified message without an at the Info level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Info level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Info level.
+ will be only called when logging is enabled for level Info.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Info level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Info level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Info level.
+ will be only called when logging is enabled for level Info.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Logs the specified message without an at the Warn level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Warn level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Warn level.
+ will be only called when logging is enabled for level Warn.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Warn level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Warn level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Warn level.
+ will be only called when logging is enabled for level Warn.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Logs the specified message without an at the Error level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Error level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Error level.
+ will be only called when logging is enabled for level Error.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Error level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Error level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Error level.
+ will be only called when logging is enabled for level Error.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Logs the specified message without an at the Fatal level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Fatal level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Fatal level.
+ will be only called when logging is enabled for level Fatal.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Fatal level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Fatal level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Fatal level.
+ will be only called when logging is enabled for level Fatal.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Set the config of the InternalLogger with defaults and config.
+
+
+
+
+ Gets or sets the minimal internal log level.
+
+ If set to , then messages of the levels , and will be written.
+
+
+
+ Gets or sets a value indicating whether internal messages should be written to the console output stream.
+
+ Your application must be a console application.
+
+
+
+ Gets or sets a value indicating whether internal messages should be written to the console error stream.
+
+ Your application must be a console application.
+
+
+
+ Gets or sets the file path of the internal log file.
+
+ A value of value disables internal logging to a file.
+
+
+
+ Gets or sets the text writer that will receive internal logs.
+
+
+
+
+ Internal LogEvent written to the InternalLogger
+
+
+ EventHandler will only be triggered for events, where severity matches the configured .
+
+ Never use/call NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
+
+
+
+
+ Gets or sets a value indicating whether timestamp should be included in internal log output.
+
+
+
+
+ Is there an thrown when writing the message?
+
+
+
+
+ Logs the specified message without an at the specified level.
+
+ Log level.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the specified level.
+
+ Log level.
+ Log message.
+
+
+
+ Logs the specified message without an at the specified level.
+ will be only called when logging is enabled for level .
+
+ Log level.
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the specified level.
+ will be only called when logging is enabled for level .
+
+ Exception to be logged.
+ Log level.
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the specified level.
+
+ Exception to be logged.
+ Log level.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message with an at the specified level.
+
+ Exception to be logged.
+ Log level.
+ Log message.
+
+
+
+ Write to internallogger.
+
+ optional exception to be logged.
+ level
+ message
+ optional args for
+
+
+
+ Create log line with timestamp, exception message etc (if configured)
+
+
+
+
+ Determine if logging should be avoided because of exception type.
+
+ The exception to check.
+ if logging should be avoided; otherwise, .
+
+
+
+ Determine if logging is enabled for given LogLevel
+
+ The for the log event.
+ if logging is enabled; otherwise, .
+
+
+
+ Determine if logging is enabled.
+
+ if logging is enabled; otherwise, .
+
+
+
+ A cyclic buffer of object.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Buffer size.
+ Whether buffer should grow as it becomes full.
+ The maximum number of items that the buffer can grow to.
+
+
+
+ Gets the capacity of the buffer
+
+
+
+
+ Gets the number of items in the buffer
+
+
+
+
+ Adds the specified log event to the buffer.
+
+ Log event.
+ The number of items in the buffer.
+
+
+
+ Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation.
+
+ Events in the buffer.
+
+
+
+ Condition and expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Left hand side of the AND expression.
+ Right hand side of the AND expression.
+
+
+
+ Gets the left hand side of the AND expression.
+
+
+
+
+ Gets the right hand side of the AND expression.
+
+
+
+
+ Returns a string representation of this expression.
+
+ A concatenated '(Left) and (Right)' string.
+
+
+
+ Evaluates the expression by evaluating and recursively.
+
+ Evaluation context.
+ The value of the conjunction operator.
+
+
+
+ Exception during evaluation of condition expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+ The parameter is null.
+
+
+ The class name is null or is zero (0).
+
+
+
+
+ Condition message expression (represented by the exception keyword).
+
+
+
+
+
+
+
+ Evaluates the current .
+
+ Evaluation context.
+ The object.
+
+
+
+ Base class for representing nodes in condition expression trees.
+
+ Documentation on NLog Wiki
+
+
+
+ Converts condition text to a condition expression tree.
+
+ Condition text to be converted.
+ Condition expression tree.
+
+
+
+ Evaluates the expression.
+
+ Evaluation context.
+ Expression result.
+
+
+
+ Returns a string representation of the expression.
+
+
+
+
+ Evaluates the expression.
+
+ Evaluation context.
+ Expression result.
+
+
+
+ Condition layout expression (represented by a string literal
+ with embedded ${}).
+
+
+
+
+ Initializes a new instance of the class.
+
+ The layout.
+
+
+
+ Gets the layout.
+
+ The layout.
+
+
+
+
+
+
+ Evaluates the expression by rendering the formatted output from
+ the
+
+ Evaluation context.
+ The output rendered from the layout.
+
+
+
+ Condition level expression (represented by the level keyword).
+
+
+
+
+
+
+
+ Evaluates to the current log level.
+
+ Evaluation context.
+ The object representing current log level.
+
+
+
+ Condition literal expression (numeric, LogLevel.XXX, true or false).
+
+
+
+
+ Initializes a new instance of the class.
+
+ Literal value.
+
+
+
+ Gets the literal value.
+
+ The literal value.
+
+
+
+
+
+
+ Evaluates the expression.
+
+ Evaluation context. Ignored.
+ The literal value as passed in the constructor.
+
+
+
+ Condition logger name expression (represented by the logger keyword).
+
+
+
+
+
+
+
+ Evaluates to the logger name.
+
+ Evaluation context.
+ The logger name.
+
+
+
+ Condition message expression (represented by the message keyword).
+
+
+
+
+
+
+
+ Evaluates to the logger message.
+
+ Evaluation context.
+ The logger message.
+
+
+
+ Marks class as a log event Condition and assigns a name to it.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Condition method name.
+
+
+
+ Gets the method parameters
+
+
+
+
+
+
+
+
+
+
+ A bunch of utility methods (mostly predicates) which can be used in
+ condition expressions. Partially inspired by XPath 1.0.
+
+
+
+
+ Compares two values for equality.
+
+ The first value.
+ The second value.
+ true when two objects are equal, false otherwise.
+
+
+
+ Compares two strings for equality.
+
+ The first string.
+ The second string.
+ Optional. If true, case is ignored; if false (default), case is significant.
+ true when two strings are equal, false otherwise.
+
+
+
+ Gets or sets a value indicating whether the second string is a substring of the first one.
+
+ The first string.
+ The second string.
+ Optional. If true (default), case is ignored; if false, case is significant.
+ true when the second string is a substring of the first string, false otherwise.
+
+
+
+ Gets or sets a value indicating whether the second string is a prefix of the first one.
+
+ The first string.
+ The second string.
+ Optional. If true (default), case is ignored; if false, case is significant.
+ true when the second string is a prefix of the first string, false otherwise.
+
+
+
+ Gets or sets a value indicating whether the second string is a suffix of the first one.
+
+ The first string.
+ The second string.
+ Optional. If true (default), case is ignored; if false, case is significant.
+ true when the second string is a prefix of the first string, false otherwise.
+
+
+
+ Returns the length of a string.
+
+ A string whose lengths is to be evaluated.
+ The length of the string.
+
+
+
+ Marks the class as containing condition methods.
+
+
+
+
+ Condition not expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expression.
+
+
+
+ Gets the expression to be negated.
+
+ The expression.
+
+
+
+
+
+
+
+
+
+ Condition or expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Left hand side of the OR expression.
+ Right hand side of the OR expression.
+
+
+
+ Gets the left expression.
+
+ The left expression.
+
+
+
+ Gets the right expression.
+
+ The right expression.
+
+
+
+
+
+
+ Evaluates the expression by evaluating and recursively.
+
+ Evaluation context.
+ The value of the alternative operator.
+
+
+
+ Exception during parsing of condition expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+ The parameter is null.
+
+
+ The class name is null or is zero (0).
+
+
+
+
+ Condition parser. Turns a string representation of condition expression
+ into an expression tree.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The string reader.
+ Instance of used to resolve references to condition methods and layout renderers.
+
+
+
+ Parses the specified condition string and turns it into
+ tree.
+
+ The expression to be parsed.
+ The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
+
+
+
+ Parses the specified condition string and turns it into
+ tree.
+
+ The expression to be parsed.
+ Instance of used to resolve references to condition methods and layout renderers.
+ The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
+
+
+
+ Parses the specified condition string and turns it into
+ tree.
+
+ The string reader.
+ Instance of used to resolve references to condition methods and layout renderers.
+
+ The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
+
+
+
+
+ Try stringed keyword to
+
+
+
+ success?
+
+
+
+ Parse number
+
+ negative number? minus should be parsed first.
+
+
+
+
+ Condition relational (==, !=, <, <=,
+ > or >=) expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The left expression.
+ The right expression.
+ The relational operator.
+
+
+
+ Gets the left expression.
+
+ The left expression.
+
+
+
+ Gets the right expression.
+
+ The right expression.
+
+
+
+ Gets the relational operator.
+
+ The operator.
+
+
+
+
+
+
+
+
+
+ Compares the specified values using specified relational operator.
+
+ The first value.
+ The second value.
+ The relational operator.
+ Result of the given relational operator.
+
+
+
+ Promote values to the type needed for the comparison, e.g. parse a string to int.
+
+
+
+
+
+
+ Promotes to type
+
+
+
+ success?
+
+
+
+ Try to promote both values. First try to promote to ,
+ when failed, try to .
+
+
+
+
+
+ Get the order for the type for comparison.
+
+
+ index, 0 to max int. Lower is first
+
+
+
+ Dictionary from type to index. Lower index should be tested first.
+
+
+
+
+ Build the dictionary needed for the order of the types.
+
+
+
+
+
+ Get the string representing the current
+
+
+
+
+
+ Relational operators used in conditions.
+
+
+
+
+ Equality (==).
+
+
+
+
+ Inequality (!=).
+
+
+
+
+ Less than (<).
+
+
+
+
+ Greater than (>).
+
+
+
+
+ Less than or equal (<=).
+
+
+
+
+ Greater than or equal (>=).
+
+
+
+
+ Hand-written tokenizer for conditions.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The string reader.
+
+
+
+ Asserts current token type and advances to the next token.
+
+ Expected token type.
+ If token type doesn't match, an exception is thrown.
+
+
+
+ Asserts that current token is a keyword and returns its value and advances to the next token.
+
+ Keyword value.
+
+
+
+ Gets or sets a value indicating whether current keyword is equal to the specified value.
+
+ The keyword.
+
+ A value of if current keyword is equal to the specified value; otherwise, .
+
+
+
+
+ Gets or sets a value indicating whether the tokenizer has reached the end of the token stream.
+
+
+ A value of if the tokenizer has reached the end of the token stream; otherwise, .
+
+
+
+
+ Gets or sets a value indicating whether current token is a number.
+
+
+ A value of if current token is a number; otherwise, .
+
+
+
+
+ Gets or sets a value indicating whether the specified token is of specified type.
+
+ The token type.
+
+ A value of if current token is of specified type; otherwise, .
+
+
+
+
+ Gets the next token and sets and properties.
+
+
+
+
+ Try the comparison tokens (greater, smaller, greater-equals, smaller-equals)
+
+ current char
+ is match
+
+
+
+ Try the logical tokens (and, or, not, equals)
+
+ current char
+ is match
+
+
+
+ Mapping between characters and token types for punctuations.
+
+
+
+
+ Initializes a new instance of the CharToTokenType struct.
+
+ The character.
+ Type of the token.
+
+
+
+ Token types for condition expressions.
+
+
+
+
+ Marks the class or a member as advanced. Advanced classes and members are hidden by
+ default in generated documentation.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain.
+
+
+
+ Implementors must have the [ThreadAgnostic] attribute
+
+ A layout(renderer) could be converted to a literal when:
+ - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput]
+
+ Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout.
+
+
+
+
+ Used to mark configurable parameters which are arrays.
+ Specifies the mapping between XML elements and .NET types.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type of the array item.
+ The XML element name that represents the item.
+
+
+
+ Gets the .NET type of the array item.
+
+
+
+
+ Gets the XML element name.
+
+
+
+
+ Gets all usable exported types from the given assembly.
+
+ Assembly to scan.
+ Usable types from the given assembly.
+ Types which cannot be loaded are skipped.
+
+
+
+ Load from url
+
+ file or path, including .dll
+ basepath, optional
+
+
+
+
+ Load from url
+
+
+
+
+ Provides logging interface and utility functions.
+
+
+
+
+ Represents NLog ConfigSection for loading from app.config / web.config
+
+
+ <configSections>
+ <section name="NLog" type="NLog.Config.ConfigSectionHandler, NLog" />
+ </configSections>
+
+
+
+
+ Gets the default object by parsing
+ the application configuration file (app.exe.config).
+
+
+
+
+ Overriding base implementation to just store
+ of the relevant app.config section.
+
+ The XmlReader that reads from the configuration file.
+ to serialize only the collection key properties; otherwise, .
+
+
+
+ Override base implementation to return a object
+ for
+ instead of the instance.
+
+
+ A instance, that has been deserialized from app.config.
+
+
+
+
+ Provides registration information for named items (targets, layouts, layout renderers, etc.)
+
+ Supports creating item-instance from their type-alias, when parsing NLog configuration
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets default singleton instance of .
+
+
+ This property implements lazy instantiation so that the is not built before
+ the internal logger is configured.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the ambient property factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+ Gets or sets the JSON serializer to use with
+
+
+
+
+ Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect)
+
+
+ - (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering.
+ - : Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with )
+ - : Always performs parsing and rendering using string.Format (Fastest if not using structured logging)
+
+
+
+
+ Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
+ Registers named items from the assembly.
+
+ The assembly.
+
+
+
+ Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
+ Registers named items from the assembly.
+
+ The assembly.
+ Item name prefix.
+
+
+
+ Clears the contents of all factories.
+
+
+
+
+ Obsolete since dynamic type loading is not compatible with publish as trimmed application.
+ Registers the type.
+
+ The type to register.
+ The item name prefix.
+
+
+
+ Attribute used to mark the default parameters for layout renderers.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Dynamic filtering with a positive list of enabled levels
+
+
+
+
+ Dynamic filtering with a minlevel and maxlevel range
+
+
+
+
+ Format of the exception output to the specific target.
+
+
+
+
+ Appends the Message of an Exception to the specified target.
+
+
+
+
+ Appends the type of an Exception to the specified target.
+
+
+
+
+ Appends the short type of an Exception to the specified target.
+
+
+
+
+ Appends the result of calling ToString() on an Exception to the specified target.
+
+
+
+
+ Appends the method name from Exception's stack trace to the specified target.
+
+
+
+
+ Appends the stack trace from an Exception to the specified target.
+
+
+
+
+ Appends the contents of an Exception's Data property to the specified target.
+
+
+
+
+ Destructure the exception (usually into JSON)
+
+
+
+
+ Appends the from the application or the object that caused the error.
+
+
+
+
+ Appends the from the application or the object that caused the error.
+
+
+
+
+ Appends any additional properties that specific type of Exception might have.
+
+
+
+
+ Factory for class-based items.
+
+ The base type of each item.
+ The type of the attribute used to annotate items.
+
+
+
+ Registers the type.
+
+ The type to register.
+ The item name prefix.
+
+
+
+ Registers the item based on a type name.
+
+ Name of the item.
+ Name of the type.
+
+
+
+ Clears the contents of the factory.
+
+
+
+
+
+
+
+ Factory specialized for s.
+
+
+
+
+
+
+
+ Register a layout renderer with a callback function.
+
+ Name of the layoutrenderer, without ${}.
+ the renderer that renders the value.
+
+
+
+
+
+
+ Factory of named items (such as , , , etc.).
+
+
+
+
+ Factory of named items (such as , , , etc.).
+
+
+
+
+ Tries to create an item instance with type-alias
+
+ if instance was created successfully, otherwise.
+
+
+
+ Include context properties
+
+
+
+
+ Gets or sets the option to include all properties from the log events
+
+
+
+
+
+ Gets or sets whether to include the contents of the properties-dictionary.
+
+
+
+
+
+ Gets or sets whether to include the contents of the nested-state-stack.
+
+
+
+
+
+ Implemented by objects which support installation and uninstallation.
+
+
+
+
+ Performs installation which requires administrative permissions.
+
+ The installation context.
+
+
+
+ Performs uninstallation which requires administrative permissions.
+
+ The installation context.
+
+
+
+ Determines whether the item is installed.
+
+ The installation context.
+
+ Value indicating whether the item is installed or null if it is not possible to determine.
+
+
+
+
+ Interface for accessing configuration details
+
+
+
+
+ Name of this configuration element
+
+
+
+
+ Configuration Key/Value Pairs
+
+
+
+
+ Child configuration elements
+
+
+
+
+ Interface for loading NLog
+
+
+
+
+ Finds and loads the NLog configuration
+
+ LogFactory that owns the NLog configuration
+ Name of NLog.config file (optional)
+ NLog configuration (or null if none found)
+
+
+
+ Get file paths (including filename) for the possible NLog config files.
+
+ Name of NLog.config file (optional)
+ The file paths to the possible config file
+
+
+
+ Level enabled flags for each LogLevel ordinal
+
+
+
+
+ Converts the filter into a simple
+
+
+
+
+ Provides context for install/uninstall operations.
+
+
+
+
+ Mapping between log levels and console output colors.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The log output.
+
+
+
+ Gets or sets the installation log level.
+
+
+
+
+ Gets or sets a value indicating whether to ignore failures during installation.
+
+
+
+
+ Whether installation exceptions should be rethrown. If IgnoreFailures is set to true,
+ this property has no effect (there are no exceptions to rethrow).
+
+
+
+
+ Gets the installation parameters.
+
+
+
+
+ Gets or sets the log output.
+
+
+
+
+ Logs the specified trace message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified debug message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified informational message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified warning message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified error message.
+
+ The message.
+ The arguments.
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Creates the log event which can be used to render layouts during install/uninstall.
+
+ Log event info object.
+
+
+
+ Convert object-value into specified type
+
+
+
+
+ Parses the input value and converts into the wanted type
+
+ Input Value
+ Wanted Type
+ Format to use when parsing
+ Culture to use when parsing
+ Output value with wanted type
+
+
+
+ Interface for fluent setup of LogFactory options
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LoggingRules for LoggingConfiguration
+
+
+
+
+ LoggingRule being built
+
+
+
+
+ Interface for fluent setup of target for LoggingRule
+
+
+
+
+ LoggingConfiguration being built
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Collection of targets that should be written to
+
+
+
+
+ Interface for fluent setup of LogFactory options for extension loading
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LogFactory options for enabling NLog
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LoggingConfiguration for LogFactory
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ LoggingConfiguration being built
+
+
+
+
+ Interface for fluent setup of LogFactory options
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LogFactory options for logevent serialization
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Allows components to request stack trace information to be provided in the .
+
+
+
+
+ Gets the level of stack trace information required by the implementing class.
+
+
+
+
+ Encapsulates and the logic to match the actual logger name
+ All subclasses defines immutable objects.
+ Concrete subclasses defines various matching rules through
+
+
+
+
+ Creates a concrete based on .
+
+
+ Rules used to select the concrete implementation returned:
+
+ - if is null => returns (never matches)
+ - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals)
+ - if == '*' => returns (always matches)
+ - if doesn't contain '?'
+
+ - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns
+ - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns
+ - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns
+
+
+ - returns
+
+
+
+ It may include one or more '*' or '?' wildcards at any position.
+
+ - '*' means zero or more occurrences of any character
+ - '?' means exactly one occurrence of any character
+
+
+ A concrete
+
+
+
+ Returns the argument passed to
+
+
+
+
+ Checks whether given name matches the logger name pattern.
+
+ String to be matched.
+ A value of when the name matches, otherwise.
+
+
+
+ Defines a that never matches.
+ Used when pattern is null
+
+
+
+
+ Defines a that always matches.
+ Used when pattern is '*'
+
+
+
+
+ Defines a that matches with a case-sensitive Equals
+ Used when pattern is a string without wildcards '?' '*'
+
+
+
+
+ Defines a that matches with a case-sensitive StartsWith
+ Used when pattern is a string like "*foobar"
+
+
+
+
+ Defines a that matches with a case-sensitive EndsWith
+ Used when pattern is a string like "foobar*"
+
+
+
+
+ Defines a that matches with a case-sensitive Contains
+ Used when pattern is a string like "*foobar*"
+
+
+
+
+ Defines a that matches with a complex wildcards combinations:
+
+ - '*' means zero or more occurrences of any character
+ - '?' means exactly one occurrence of any character
+
+ used when pattern is a string containing any number of '?' or '*' in any position
+ i.e. "*Server[*].Connection[?]"
+
+
+
+
+ Keeps logging configuration and provides simple API to modify it.
+
+ This class is thread-safe..ToList() is used for that purpose.
+
+
+
+ Gets the factory that will be configured
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets the variables defined in the configuration or assigned from API
+
+ Name is case insensitive.
+
+
+
+ Gets a collection of named targets specified in the configuration.
+
+
+ A list of named targets.
+
+
+ Unnamed targets (such as those wrapped by other targets) are not returned.
+
+
+
+
+ Gets the collection of file names which should be watched for changes by NLog.
+
+
+
+
+ Gets the collection of logging rules.
+
+
+
+
+ Gets or sets the default culture info to use as .
+
+
+ Specific culture info or null to use
+
+
+
+
+ Gets all targets.
+
+
+
+
+ Inserts NLog Config Variable without overriding NLog Config Variable assigned from API
+
+
+
+
+ Lookup NLog Config Variable Layout
+
+
+
+
+ Registers the specified target object. The name of the target is read from .
+
+
+ The target object with a non
+
+ when is
+
+
+
+ Registers the specified target object under a given name.
+
+ Name of the target.
+ The target object.
+ when is
+ when is
+
+
+
+ Finds the target with the specified name.
+
+
+ The name of the target to be found.
+
+
+ Found target or when the target is not found.
+
+
+
+
+ Finds the target with the specified name and specified type.
+
+
+ The name of the target to be found.
+
+ Type of the target
+
+ Found target or when the target is not found of not of type
+
+
+
+
+ Add a rule with min- and maxLevel.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Name of the target to be written when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule with min- and maxLevel.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule with min- and maxLevel.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+ Gets or sets a value indicating whether to quit processing any further rule when this one matches.
+
+
+
+ Add a rule object.
+
+ rule object to add
+
+
+
+ Add a rule for one loglevel.
+
+ log level needed to trigger this rule.
+ Name of the target to be written when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for one loglevel.
+
+ log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for one loglevel.
+
+ log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+ Gets or sets a value indicating whether to quit processing any further rule when this one matches.
+
+
+
+ Add a rule for all loglevels.
+
+ Name of the target to be written when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for all loglevels.
+
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for all loglevels.
+
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+ Gets or sets a value indicating whether to quit processing any further rule when this one matches.
+
+
+
+ Lookup the logging rule with matching
+
+ The name of the logging rule to be found.
+ Found logging rule or when not found.
+
+
+
+ Removes the specified named logging rule with matching
+
+ The name of the logging rule to be removed.
+ Found one or more logging rule to remove, or when not found.
+
+
+
+ Loads the NLog LoggingConfiguration from its original source (Ex. read from original config-file after it was updated)
+
+
+ A new instance of that represents the updated configuration.
+
+ Must assign the returned object to LogManager.Configuration to activate it
+
+
+
+ Allow this new configuration to capture state from the old configuration
+
+ Old config that is about to be replaced
+ Checks KeepVariablesOnReload and copies all NLog Config Variables assigned from API into the new config
+
+
+
+ Notify the configuration when has been assigned / unassigned.
+
+ LogFactory that configuration has been assigned to.
+
+
+
+ Removes the specified named target.
+
+ Name of the target.
+
+
+
+ Installs target-specific objects on current system.
+
+ The installation context.
+
+ Installation typically runs with administrative permissions.
+
+
+
+
+ Uninstalls target-specific objects from current system.
+
+ The installation context.
+
+ Uninstallation typically runs with administrative permissions.
+
+
+
+
+ Closes all targets and releases any unmanaged resources.
+
+
+
+
+ Log to the internal (NLog) logger the information about the and associated with this instance.
+
+
+ The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is
+ recorded.
+
+
+
+
+ Validates the configuration.
+
+
+
+
+ Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage.
+
+
+
+
+
+
+ Checks whether unused targets exist. If found any, just write an internal log at Warn level.
+ If initializing not started or failed, then checking process will be canceled
+
+
+
+
+
+
+
+ Arguments for events.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The new configuration.
+ The old configuration.
+
+
+
+ Gets the old configuration.
+
+ The old configuration.
+
+
+
+ Gets the new configuration.
+
+
+ New value can be null when unloading configuration during shutdown.
+
+ The new configuration.
+
+
+
+ Gets the optional boolean attribute value.
+
+
+ Name of the attribute.
+ Default value to return if the attribute is not found or if there is a parse error
+ Boolean attribute value or default.
+
+
+
+ Returns children elements with the specified element name.
+
+
+
+
+ Remove the namespace (before :)
+
+
+ x:a, will be a
+
+
+
+
+
+
+ Enables loading of NLog configuration from a file
+
+
+
+
+ Get default file paths (including filename) for possible NLog config files.
+
+
+
+
+ Get default file paths (including filename) for possible NLog config files.
+
+
+
+
+ Loads NLog configuration from
+
+
+ Make sure to update official NLog.xsd schema, when adding new config-options outside targets/layouts
+
+
+
+
+ Constructor
+
+
+
+
+
+ Loads NLog configuration from provided config section
+
+
+ Directory where the NLog-config-file was loaded from
+
+
+
+ Builds list with unique keys, using last value of duplicates. High priority keys placed first.
+
+
+
+
+
+
+ Parse loglevel, but don't throw if exception throwing is disabled
+
+ Name of attribute for logging.
+ Value of parse.
+ Used if there is an exception
+
+
+
+
+ Parses a single config section within the NLog-config
+
+
+ Section was recognized
+
+
+
+ Parse {Rules} xml element
+
+
+
+
+ Parse {Logger} xml element
+
+
+
+
+
+ Parse boolean
+
+ Name of the property for logging.
+ value to parse
+ Default value to return if the parse failed
+ Boolean attribute value or default.
+
+
+
+ Config element that's validated and having extra context
+
+
+
+
+ Explicit cast because NET35 doesn't support covariance.
+
+
+
+
+ Represents a logging rule. An equivalent of <logger /> configuration element.
+
+
+
+
+ Create an empty .
+
+
+
+
+ Create an empty .
+
+
+
+
+ Create a new with a and which writes to .
+
+ Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+
+
+
+ Create a new with a which writes to .
+
+ Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
+ Minimum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+
+
+
+ Create a (disabled) . You should call or to enable logging.
+
+ Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
+ Target to be written to when the rule matches.
+
+
+
+ Rule identifier to allow rule lookup
+
+
+
+
+ Gets a collection of targets that should be written to when this rule matches.
+
+
+
+
+ Obsolete since too exotic feature with NLog v5.3.
+
+ Gets a collection of child rules to be evaluated when this rule matches.
+
+
+
+
+ Gets a collection of filters to be checked before writing to targets.
+
+
+
+
+ Gets or sets a value indicating whether to quit processing any following rules when this one matches.
+
+
+
+
+ Gets or sets the whether to quit processing any following rules when lower severity and this one matches.
+
+
+ Loggers matching will be restricted to specified minimum level for following rules.
+
+
+
+
+ Gets or sets logger name pattern.
+
+
+ Logger name pattern used by to check if a logger name matches this rule.
+ It may include one or more '*' or '?' wildcards at any position.
+
+ - '*' means zero or more occurrences of any character
+ - '?' means exactly one occurrence of any character
+
+
+
+
+
+ Gets the collection of log levels enabled by this rule.
+
+
+
+
+ Obsolete and replaced by with NLog v5.
+
+ Default action when filters not matching
+
+
+ NLog v4.6 introduced the setting with default value .
+ NLog v5 marked it as obsolete and change default value to
+
+
+
+
+ Default action if none of the filters match
+
+
+ NLog v5 changed default value to
+
+
+
+
+ Enables logging for a particular level.
+
+ Level to be enabled.
+
+
+
+ Enables logging for a particular levels between (included) and .
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+
+
+
+ Disables logging for a particular level.
+
+ Level to be disabled.
+
+
+
+ Disables logging for particular levels between (included) and .
+
+ Minimum log level to be disables.
+ Maximum log level to be disabled.
+
+
+
+ Enables logging the levels between (included) and . All the other levels will be disabled.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+
+
+
+ Returns a string representation of . Used for debugging.
+
+
+
+
+ Checks whether the particular log level is enabled for this rule.
+
+ Level to be checked.
+ A value of when the log level is enabled, otherwise.
+
+
+
+ Checks whether given name matches the .
+
+ String to be matched.
+ A value of when the name matches, otherwise.
+
+
+
+ Default filtering with static level config
+
+
+
+
+ Factory for locating methods.
+
+
+
+
+ Registers the type.
+
+ The type to register.
+ The item name prefix.
+
+
+
+ Scans a type for relevant methods with their symbolic names
+
+ Include types that are marked with this attribute
+ Include methods that are marked with this attribute
+ Class Type to scan
+ Collection of methods with their symbolic names
+
+
+
+ Clears contents of the factory.
+
+
+
+
+ Obsolete and replaced by with NLog v5.3.
+
+ Marks the layout or layout renderer depends on mutable objects from the LogEvent
+
+ This can be or
+
+
+
+
+ Attaches a type-alias for an item (such as ,
+ , , etc.).
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type-alias for use in NLog configuration.
+
+
+
+ Gets the name of the type-alias
+
+
+
+
+ Indicates NLog should not scan this property during configuration.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Marks the object as configuration item for NLog.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Failed to resolve the interface of service type
+
+
+
+
+ Typed we tried to resolve
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Default implementation of
+
+
+
+
+ Singleton instance of the serializer.
+
+
+
+
+
+
+
+ Attribute used to mark the required parameters for targets,
+ layout targets and filters.
+
+
+
+
+ Interface to register available configuration objects type
+
+
+
+
+ Registers instance of singleton object for use in NLog
+
+ Type of service/interface to register
+ Instance of service
+
+
+
+ Gets the service object of the specified type.
+
+ Avoid calling this while handling a LogEvent, since random deadlocks can occur.
+
+
+
+ Registers singleton-object as implementation of specific interface.
+
+
+ If the same single-object implements multiple interfaces then it must be registered for each interface
+
+ Type of interface
+ The repo
+ Singleton object to use for override
+
+
+
+ Registers the string serializer to use with
+
+
+
+
+ Repository of interfaces used by NLog to allow override for dependency injection
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Registered service type in the service repository
+
+
+
+
+ Initializes a new instance of the class.
+
+ Type of service that have been registered
+
+
+
+ Type of service-interface that has been registered
+
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Provides simple programmatic configuration API used for trivial logging cases.
+
+ Warning, these methods will overwrite the current config.
+
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Configures NLog for console logging so that all messages above and including
+ the level are output to the console.
+
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Configures NLog for console logging so that all messages above and including
+ the specified level are output to the console.
+
+ The minimal logging level.
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Configures NLog for to log to the specified target so that all messages
+ above and including the level are output.
+
+ The target to log all messages to.
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Configures NLog for to log to the specified target so that all messages
+ above and including the specified level are output.
+
+ The target to log all messages to.
+ The minimal logging level.
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Configures NLog for file logging so that all messages above and including
+ the level are written to the specified file.
+
+ Log file name.
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Configures NLog for file logging so that all messages above and including
+ the specified level are written to the specified file.
+
+ Log file name.
+ The minimal logging level.
+
+
+
+ Value indicating how stack trace should be captured when processing the log event.
+
+
+
+
+ No Stack trace needs to be captured.
+
+
+
+
+ Stack trace should be captured. This option won't add the filenames and linenumbers
+
+
+
+
+ Capture also filenames and linenumbers
+
+
+
+
+ Capture the location of the call
+
+
+
+
+ Capture the class name for location of the call
+
+
+
+
+ Stack trace should be captured. This option won't add the filenames and linenumbers.
+
+
+
+
+ Stack trace should be captured including filenames and linenumbers.
+
+
+
+
+ Capture maximum amount of the stack trace information supported on the platform.
+
+
+
+
+ Marks the layout or layout renderer as thread independent - it producing correct results
+ regardless of the thread it's running on.
+
+ Without this attribute everything is rendered on the main thread.
+
+
+ If this attribute is set on a layout, it could be rendered on the another thread.
+ This could be more efficient as it's skipped when not needed.
+
+ If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied.
+
+ See the AsyncTargetWrapper and BufferTargetWrapper with the , using
+
+ Apply this attribute when:
+ - The result can we rendered in another thread. Delaying this could be more efficient. And/Or,
+ - The result should not be precalculated, for example the target sends some extra context information.
+
+
+
+
+ Marks the layout or layout renderer as thread independent - it producing correct results
+ regardless of the thread it's running on.
+
+ Layout or layout-renderer depends on or ,
+ and requires that LogEvent-state is recognized as immutable.
+
+
+ Must be used in combination with , else it will have no effect
+
+
+
+
+ Marks the layout or layout renderer as thread safe - it producing correct results
+ regardless of the number of threads it's running on.
+
+ Without this attribute then the target concurrency will be reduced
+
+
+
+
+ Loads NLog LoggingConfiguration from xml-file
+
+
+ Make sure to update official NLog.xsd schema, when adding new config-options outside targets/layouts
+
+
+
+
+ Initializes a new instance of the class.
+
+ Path to the config-file to read.
+
+
+
+ Initializes a new instance of the class.
+
+ Path to the config-file to read.
+ The to which to apply any applicable configuration values.
+
+
+
+ Initializes a new instance of the class.
+
+ Configuration file to be read.
+
+
+
+ Initializes a new instance of the class.
+
+ Configuration file to be read.
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+
+
+
+ Initializes a new instance of the class.
+
+ Configuration file to be read.
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The to which to apply any applicable configuration values.
+
+
+
+ Initializes a new instance of the class.
+
+ XML reader to read from.
+
+
+
+ Initializes a new instance of the class.
+
+ XmlReader containing the configuration section.
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+
+
+
+ Initializes a new instance of the class.
+
+ XmlReader containing the configuration section.
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The to which to apply any applicable configuration values.
+
+
+
+ Initializes a new instance of the class.
+
+ NLog configuration as XML string.
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The to which to apply any applicable configuration values.
+
+
+
+ Parse XML string as NLog configuration
+
+ NLog configuration in XML to be parsed
+
+
+
+ Parse XML string as NLog configuration
+
+ NLog configuration in XML to be parsed
+ NLog LogFactory
+
+
+
+ Gets or sets a value indicating whether any of the configuration files
+ should be watched for changes and reloaded automatically when changed.
+
+
+
+
+ Gets the collection of file names which should be watched for changes by NLog.
+ This is the list of configuration files processed.
+ If the autoReload attribute is not set it returns empty collection.
+
+
+
+
+
+
+
+ Loads the NLog LoggingConfiguration from its original configuration file and returns the new object.
+
+ The newly loaded instance.
+ Must assign the returned object to LogManager.Configuration to activate it
+
+
+
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Get file paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Overwrite the paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Clear the candidate file paths and return to the defaults.
+
+
+
+
+ Include new file into the configuration. Check if not already included.
+
+
+
+
+ Parse the root
+
+
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The default value for the autoReload option.
+
+
+
+ Parse {configuration} xml element.
+
+
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The default value for the autoReload option.
+
+
+
+ Parse {NLog} xml element.
+
+
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The default value for the autoReload option.
+
+
+
+ Parses a single config section within the NLog-config
+
+
+ Section was recognized
+
+
+
+ Include (multiple) files by filemask, e.g. *.nlog
+
+ base directory in case if is relative
+ relative or absolute fileMask
+
+
+
+
+
+
+
+ Represents simple XML element with case-insensitive attribute semantics.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The reader to initialize element from.
+
+
+
+ Gets the element name.
+
+
+
+
+ Gets the dictionary of attribute values.
+
+
+
+
+ Gets the collection of child elements.
+
+
+
+
+ Gets the value of the element.
+
+
+
+
+ Asserts that the name of the element is among specified element names.
+
+ The allowed names.
+
+
+
+ Special attribute we could ignore
+
+
+
+
+ Gets the element name.
+
+
+
+
+ Gets the value of the element.
+
+
+
+
+ Gets the dictionary of attribute values.
+
+
+
+
+ Gets the collection of child elements.
+
+
+
+
+ Special attribute we could ignore
+
+
+
+
+ Exception thrown during XML parsing
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
+
+
+ Matches when the specified condition is met.
+
+
+ Conditions are expressed using a simple language.
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the condition expression.
+
+
+
+
+
+
+
+
+ An abstract filter class. Provides a way to eliminate log messages
+ based on properties other than logger name and log level.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the action to be taken when filter matches.
+
+
+
+
+
+ Gets the result of evaluating filter against given log event.
+
+ The log event.
+ Filter result.
+
+
+
+ Checks whether log event should be logged or not.
+
+ Log event.
+
+ - if the log event should be ignored
+ - if the filter doesn't want to decide
+ - if the log event should be logged
+ .
+
+
+
+ Marks class as a layout renderer and assigns a name to it.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the filter.
+
+
+
+ Filter result.
+
+
+
+
+ The filter doesn't want to decide whether to log or discard the message.
+
+
+
+
+ The message should be logged.
+
+
+
+
+ The message should not be logged.
+
+
+
+
+ The message should be logged and processing should be finished.
+
+
+
+
+ The message should not be logged and processing should be finished.
+
+
+
+
+ A base class for filters that are based on comparing a value to a layout.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the layout to be used to filter log messages.
+
+ The layout.
+
+
+
+
+ Matches when the calculated layout contains the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+ Gets or sets the substring to be matched.
+
+
+
+
+
+
+
+
+ Matches when the calculated layout is equal to the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+ Gets or sets a string to compare the layout to.
+
+
+
+
+
+
+
+
+ Matches the provided filter-method
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+
+
+
+ Matches when the calculated layout does NOT contain the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Gets or sets the substring to be matched.
+
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+
+
+
+ Matches when the calculated layout is NOT equal to the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets a string to compare the layout to.
+
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+
+
+
+ Matches when the result of the calculated layout has been repeated a moment ago
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ How long before a filter expires, and logging is accepted again
+
+
+
+
+
+ Max length of filter values, will truncate if above limit
+
+
+
+
+
+ Applies the configured action to the initial logevent that starts the timeout period.
+ Used to configure that it should ignore all events until timeout.
+
+
+
+
+
+ Max number of unique filter values to expect simultaneously
+
+
+
+
+
+ Default number of unique filter values to expect, will automatically increase if needed
+
+
+
+
+
+ Insert FilterCount value into when an event is no longer filtered
+
+
+
+
+
+ Append FilterCount to the when an event is no longer filtered
+
+
+
+
+
+ Reuse internal buffers, and doesn't have to constantly allocate new buffers
+
+
+
+
+
+ Default buffer size for the internal buffers
+
+
+
+
+
+ Checks whether log event should be logged or not. In case the LogEvent has just been repeated.
+
+ Log event.
+
+ - if the log event should be ignored
+ - if the filter doesn't want to decide
+ - if the log event should be logged
+ .
+
+
+
+ Uses object pooling, and prunes stale filter items when the pool runs dry
+
+
+
+
+ Remove stale filter-value from the cache, and fill them into the pool for reuse
+
+
+
+
+ Renders the Log Event into a filter value, that is used for checking if just repeated
+
+
+
+
+ Repeated LogEvent detected. Checks if it should activate filter-action
+
+
+
+
+ Filter Value State (mutable)
+
+
+
+
+ Filter Lookup Key (immutable)
+
+
+
+
+ Global Diagnostics Context - a dictionary structure to hold per-application-instance values.
+
+
+
+
+ Sets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+ Item value.
+
+
+
+ Sets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+ Item value.
+
+
+
+ Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+ The value of , if defined; otherwise .
+ If the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+ to use when converting the item's value to a string.
+ The value of as a string, if defined; otherwise .
+ If is null and the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+ The item value, if defined; otherwise null.
+
+
+
+ Gets all key-names from Global Diagnostics Context (GDC) dictionary
+
+ A collection of the names of all items in the Global Diagnostics Context.
+
+
+
+ Determines whether the Global Diagnostics Context (GDC) dictionary contains the specified key.
+
+ Item name.
+ A boolean indicating whether the specified item exists in current thread GDC.
+
+
+
+ Removes the value with the specified key from the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+
+
+
+ Clears the content of the Global Diagnostics Context (GDC) dictionary.
+
+
Interface for serialization of object values into JSON format
@@ -1435,14 +5500,6 @@
A function returning message to be written. Function is not evaluated if logging is not enabled.
-
-
- Obsolete and replaced by - Writes the diagnostic message and exception at the Trace level.
-
- A to be written.
- An exception to be logged.
- This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release.
-
Writes the diagnostic message and exception at the Trace level.
@@ -1559,6 +5616,14 @@
The second argument to format.
The third argument to format.
+
+
+ Obsolete and replaced by - Writes the diagnostic message and exception at the Trace level.
+
+ A to be written.
+ An exception to be logged.
+ This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release.
+
Writes the diagnostic message at the Debug level using the specified format provider and format parameters.
@@ -2303,11 +6368,11 @@
Auto-generated Logger members for binary compatibility with NLog 1.0.
-
- Obsolete and replaced by with NLog v5.3.
+
+ Obsolete and replaced by with NLog v5.3.
- Logger with only generic methods (passing 'LogLevel' to methods) and core properties.
-
+ Logger with only generic methods (passing 'LogLevel' to methods) and core properties.
+
@@ -2528,7 +6593,7 @@
The log level.
A containing one format item.
- The argument to format.
+ The argument to format.
@@ -2537,7 +6602,7 @@
The log level.
An IFormatProvider that supplies culture-specific formatting information.
A containing one format item.
- The argument to format.
+ The argument to format.
@@ -2758,5164 +6823,6 @@
An exception to be logged.
This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release.
-
-
- Obsolete and replaced by with NLog v5.3.
-
- Provides an interface to execute System.Actions without surfacing any exceptions raised for that action.
-
-
-
-
- Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
-
- Action to execute.
-
-
-
- Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
- The exception is not propagated outside of this method; a default value is returned instead.
-
- Return type of the provided function.
- Function to run.
- Result returned by the provided function or the default value of type in case of exception.
-
-
-
- Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
- The exception is not propagated outside of this method; a fallback value is returned instead.
-
- Return type of the provided function.
- Function to run.
- Fallback value to return in case of exception.
- Result returned by the provided function or fallback value in case of exception.
-
-
-
- Logs an exception is logged at Error level if the provided task does not run to completion.
-
- The task for which to log an error if it does not run to completion.
- This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations.
-
-
-
- Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion.
-
- The task for which to log an error if it does not run to completion.
- A task that completes in the state when completes.
-
-
-
- Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
-
- Async action to execute.
- A task that completes in the state when completes.
-
-
-
- Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
- The exception is not propagated outside of this method; a default value is returned instead.
-
- Return type of the provided function.
- Async function to run.
- A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type .
-
-
-
- Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
- The exception is not propagated outside of this method; a fallback value is returned instead.
-
- Return type of the provided function.
- Async function to run.
- Fallback value to return if the task does not end in the state.
- A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value.
-
-
-
- Render a message template property to a string
-
-
-
-
- Serialization of an object, e.g. JSON and append to
-
- The object to serialize to string.
- Parameter Format
- Parameter CaptureType
- An object that supplies culture-specific formatting information.
- Output destination.
- Serialize succeeded (true/false)
-
-
-
- Support implementation of
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Mark a parameter of a method for message templating
-
-
-
-
- Specifies which parameter of an annotated method should be treated as message-template-string
-
-
-
-
- The name of the parameter that should be as treated as message-template-string
-
-
-
-
- Asynchronous continuation delegate - function invoked at the end of asynchronous
- processing.
-
- Exception during asynchronous processing or null if no exception
- was thrown.
-
-
-
- Helpers for asynchronous operations.
-
-
-
-
- Iterates over all items in the given collection and runs the specified action
- in sequence (each action executes only after the preceding one has completed without an error).
-
- Type of each item.
- The items to iterate.
- The asynchronous continuation to invoke once all items
- have been iterated.
- The action to invoke for each item.
-
-
-
- Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end.
-
- The repeat count.
- The asynchronous continuation to invoke at the end.
- The action to invoke.
-
-
-
- Modifies the continuation by pre-pending given action to execute just before it.
-
- The async continuation.
- The action to pre-pend.
- Continuation which will execute the given action before forwarding to the actual continuation.
-
-
-
- Attaches a timeout to a continuation which will invoke the continuation when the specified
- timeout has elapsed.
-
- The asynchronous continuation.
- The timeout.
- Wrapped continuation.
-
-
-
- Iterates over all items in the given collection and runs the specified action
- in parallel (each action executes on a thread from thread pool).
-
- Type of each item.
- The items to iterate.
- The asynchronous continuation to invoke once all items
- have been iterated.
- The action to invoke for each item.
-
-
-
- Runs the specified asynchronous action synchronously (blocks until the continuation has
- been invoked).
-
- The action.
-
- Using this method is not recommended because it will block the calling thread.
-
-
-
-
- Wraps the continuation with a guard which will only make sure that the continuation function
- is invoked only once.
-
- The asynchronous continuation.
- Wrapped asynchronous continuation.
-
-
-
- Gets the combined exception from all exceptions in the list.
-
- The exceptions.
- Combined exception or null if no exception was thrown.
-
-
-
- Disposes the Timer, and waits for it to leave the Timer-callback-method
-
- The Timer object to dispose
- Timeout to wait (TimeSpan.Zero means dispose without waiting)
- Timer disposed within timeout (true/false)
-
-
-
- Asynchronous action.
-
- Continuation to be invoked at the end of action.
-
-
-
- Asynchronous action with one argument.
-
- Type of the argument.
- Argument to the action.
- Continuation to be invoked at the end of action.
-
-
-
- Represents the logging event with asynchronous continuation.
-
-
-
-
- Initializes a new instance of the struct.
-
- The log event.
- The continuation.
-
-
-
- Gets the log event.
-
-
-
-
- Gets the continuation.
-
-
-
-
- Implements the operator ==.
-
- The event info1.
- The event info2.
- The result of the operator.
-
-
-
- Implements the operator ==.
-
- The event info1.
- The event info2.
- The result of the operator.
-
-
-
-
-
-
-
-
-
-
-
-
- String Conversion Helpers
-
-
-
-
- Converts input string value into . Parsing is case-insensitive.
-
- Input value
- Output value
- Default value
- Returns false if the input value could not be parsed
-
-
-
- Converts input string value into . Parsing is case-insensitive.
-
- Input value
- The type of the enum
- Output value. Null if parse failed
-
-
-
- Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded.
-
- The enumeration type to which to convert value.
- The string representation of the enumeration name or underlying value to convert.
- true to ignore case; false to consider case.
- When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized.
- true if the value parameter was converted successfully; otherwise, false.
- Wrapper because Enum.TryParse is not present in .net 3.5
-
-
-
- Enum.TryParse implementation for .net 3.5
-
-
- Don't uses reflection
-
-
-
- Enables to extract extra context details for
-
-
-
-
- Name of context
-
-
-
-
- The current LogFactory next to LogManager
-
-
-
-
- Handle Internal LogEvent written to the InternalLogger
-
-
- Never use/call NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
-
-
-
-
- Internal LogEvent details from
-
-
-
-
- The rendered message
-
-
-
-
- The log level
-
-
-
-
- The exception. Could be null.
-
-
-
-
- The type that triggered this internal log event, for example the FileTarget.
- This property is not always populated.
-
-
-
-
- The context name that triggered this internal log event, for example the name of the Target.
- This property is not always populated.
-
-
-
-
- NLog internal logger.
-
- Writes to file, console or custom text writer (see )
-
-
- Don't use as that can lead to recursive calls - stackoverflow
-
-
-
-
- Gets a value indicating whether internal log includes Trace messages.
-
-
-
-
- Gets a value indicating whether internal log includes Debug messages.
-
-
-
-
- Gets a value indicating whether internal log includes Info messages.
-
-
-
-
- Gets a value indicating whether internal log includes Warn messages.
-
-
-
-
- Gets a value indicating whether internal log includes Error messages.
-
-
-
-
- Gets a value indicating whether internal log includes Fatal messages.
-
-
-
-
- Logs the specified message without an at the Trace level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Trace level.
- will be only called when logging is enabled for level Trace.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Trace level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Trace level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Trace level.
- will be only called when logging is enabled for level Trace.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Logs the specified message without an at the Debug level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Debug level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Debug level.
- will be only called when logging is enabled for level Debug.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Debug level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Debug level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Debug level.
- will be only called when logging is enabled for level Debug.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Logs the specified message without an at the Info level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Info level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Info level.
- will be only called when logging is enabled for level Info.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Info level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Info level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Info level.
- will be only called when logging is enabled for level Info.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Logs the specified message without an at the Warn level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Warn level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Warn level.
- will be only called when logging is enabled for level Warn.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Warn level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Warn level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Warn level.
- will be only called when logging is enabled for level Warn.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Logs the specified message without an at the Error level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Error level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Error level.
- will be only called when logging is enabled for level Error.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Error level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Error level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Error level.
- will be only called when logging is enabled for level Error.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Logs the specified message without an at the Fatal level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Fatal level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Fatal level.
- will be only called when logging is enabled for level Fatal.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Fatal level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Fatal level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Fatal level.
- will be only called when logging is enabled for level Fatal.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Set the config of the InternalLogger with defaults and config.
-
-
-
-
- Gets or sets the minimal internal log level.
-
- If set to , then messages of the levels , and will be written.
-
-
-
- Gets or sets a value indicating whether internal messages should be written to the console output stream.
-
- Your application must be a console application.
-
-
-
- Gets or sets a value indicating whether internal messages should be written to the console error stream.
-
- Your application must be a console application.
-
-
-
- Obsolete and replaced by with NLog v5.3.
- Gets or sets a value indicating whether internal messages should be written to the .Trace
-
-
-
-
- Gets or sets the file path of the internal log file.
-
- A value of value disables internal logging to a file.
-
-
-
- Gets or sets the text writer that will receive internal logs.
-
-
-
-
- Obsolete and replaced by with NLog 5.3.
- Event written to the internal log.
-
-
- EventHandler will only be triggered for events, where severity matches the configured .
-
- Avoid using/calling NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
-
-
-
-
- Internal LogEvent written to the InternalLogger
-
-
- EventHandler will only be triggered for events, where severity matches the configured .
-
- Never use/call NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
-
-
-
-
- Gets or sets a value indicating whether timestamp should be included in internal log output.
-
-
-
-
- Is there an thrown when writing the message?
-
-
-
-
- Logs the specified message without an at the specified level.
-
- Log level.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the specified level.
-
- Log level.
- Log message.
-
-
-
- Logs the specified message without an at the specified level.
- will be only called when logging is enabled for level .
-
- Log level.
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the specified level.
- will be only called when logging is enabled for level .
-
- Exception to be logged.
- Log level.
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the specified level.
-
- Exception to be logged.
- Log level.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message with an at the specified level.
-
- Exception to be logged.
- Log level.
- Log message.
-
-
-
- Write to internallogger.
-
- optional exception to be logged.
- level
- message
- optional args for
-
-
-
- Create log line with timestamp, exception message etc (if configured)
-
-
-
-
- Determine if logging should be avoided because of exception type.
-
- The exception to check.
- true if logging should be avoided; otherwise, false.
-
-
-
- Determine if logging is enabled for given LogLevel
-
- The for the log event.
- true if logging is enabled; otherwise, false.
-
-
-
- Determine if logging is enabled.
-
- true if logging is enabled; otherwise, false.
-
-
-
- Logs the assembly version and file version of the given Assembly.
-
- The assembly to log.
-
-
-
- A message has been written to the internal logger
-
-
-
-
- The rendered message
-
-
-
-
- The log level
-
-
-
-
- The exception. Could be null.
-
-
-
-
- The type that triggered this internal log event, for example the FileTarget.
- This property is not always populated.
-
-
-
-
- The context name that triggered this internal log event, for example the name of the Target.
- This property is not always populated.
-
-
-
-
- A cyclic buffer of object.
-
-
-
-
- Initializes a new instance of the class.
-
- Buffer size.
- Whether buffer should grow as it becomes full.
- The maximum number of items that the buffer can grow to.
-
-
-
- Gets the capacity of the buffer
-
-
-
-
- Gets the number of items in the buffer
-
-
-
-
- Adds the specified log event to the buffer.
-
- Log event.
- The number of items in the buffer.
-
-
-
- Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation.
-
- Events in the buffer.
-
-
-
- Marks class as a log event Condition and assigns a name to it.
-
-
-
-
- Initializes a new instance of the class.
-
- Condition method name.
-
-
-
- Marks the class as containing condition methods.
-
-
-
-
- A bunch of utility methods (mostly predicates) which can be used in
- condition expressions. Partially inspired by XPath 1.0.
-
-
-
-
- Compares two values for equality.
-
- The first value.
- The second value.
- true when two objects are equal, false otherwise.
-
-
-
- Compares two strings for equality.
-
- The first string.
- The second string.
- Optional. If true, case is ignored; if false (default), case is significant.
- true when two strings are equal, false otherwise.
-
-
-
- Gets or sets a value indicating whether the second string is a substring of the first one.
-
- The first string.
- The second string.
- Optional. If true (default), case is ignored; if false, case is significant.
- true when the second string is a substring of the first string, false otherwise.
-
-
-
- Gets or sets a value indicating whether the second string is a prefix of the first one.
-
- The first string.
- The second string.
- Optional. If true (default), case is ignored; if false, case is significant.
- true when the second string is a prefix of the first string, false otherwise.
-
-
-
- Gets or sets a value indicating whether the second string is a suffix of the first one.
-
- The first string.
- The second string.
- Optional. If true (default), case is ignored; if false, case is significant.
- true when the second string is a prefix of the first string, false otherwise.
-
-
-
- Returns the length of a string.
-
- A string whose lengths is to be evaluated.
- The length of the string.
-
-
-
- Indicates whether the specified regular expression finds a match in the specified input string.
-
- The string to search for a match.
- The regular expression pattern to match.
- A string consisting of the desired options for the test. The possible values are those of the separated by commas.
- true if the regular expression finds a match; otherwise, false.
-
-
-
-
-
-
-
-
-
-
- Relational operators used in conditions.
-
-
-
-
- Equality (==).
-
-
-
-
- Inequality (!=).
-
-
-
-
- Less than (<).
-
-
-
-
- Greater than (>).
-
-
-
-
- Less than or equal (<=).
-
-
-
-
- Greater than or equal (>=).
-
-
-
-
- Exception during evaluation of condition expression.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The message.
-
-
-
- Initializes a new instance of the class.
-
- The message.
- The inner exception.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
-
- The parameter is null.
-
-
- The class name is null or is zero (0).
-
-
-
-
- Exception during parsing of condition expression.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The message.
-
-
-
- Initializes a new instance of the class.
-
- The message.
- The inner exception.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
-
- The parameter is null.
-
-
- The class name is null or is zero (0).
-
-
-
-
- Condition and expression.
-
-
-
-
- Initializes a new instance of the class.
-
- Left hand side of the AND expression.
- Right hand side of the AND expression.
-
-
-
- Gets the left hand side of the AND expression.
-
-
-
-
- Gets the right hand side of the AND expression.
-
-
-
-
- Returns a string representation of this expression.
-
- A concatenated '(Left) and (Right)' string.
-
-
-
- Evaluates the expression by evaluating and recursively.
-
- Evaluation context.
- The value of the conjunction operator.
-
-
-
- Condition message expression (represented by the exception keyword).
-
-
-
-
-
-
-
- Evaluates the current .
-
- Evaluation context.
- The object.
-
-
-
- Base class for representing nodes in condition expression trees.
-
- Documentation on NLog Wiki
-
-
-
- Converts condition text to a condition expression tree.
-
- Condition text to be converted.
- Condition expression tree.
-
-
-
- Evaluates the expression.
-
- Evaluation context.
- Expression result.
-
-
-
- Returns a string representation of the expression.
-
-
-
-
- Evaluates the expression.
-
- Evaluation context.
- Expression result.
-
-
-
- Condition layout expression (represented by a string literal
- with embedded ${}).
-
-
-
-
- Initializes a new instance of the class.
-
- The layout.
-
-
-
- Gets the layout.
-
- The layout.
-
-
-
-
-
-
- Evaluates the expression by rendering the formatted output from
- the
-
- Evaluation context.
- The output rendered from the layout.
-
-
-
- Condition level expression (represented by the level keyword).
-
-
-
-
-
-
-
- Evaluates to the current log level.
-
- Evaluation context.
- The object representing current log level.
-
-
-
- Condition literal expression (numeric, LogLevel.XXX, true or false).
-
-
-
-
- Initializes a new instance of the class.
-
- Literal value.
-
-
-
- Gets the literal value.
-
- The literal value.
-
-
-
-
-
-
- Evaluates the expression.
-
- Evaluation context. Ignored.
- The literal value as passed in the constructor.
-
-
-
- Condition logger name expression (represented by the logger keyword).
-
-
-
-
-
-
-
- Evaluates to the logger name.
-
- Evaluation context.
- The logger name.
-
-
-
- Condition message expression (represented by the message keyword).
-
-
-
-
-
-
-
- Evaluates to the logger message.
-
- Evaluation context.
- The logger message.
-
-
-
- Gets the method parameters
-
-
-
-
-
-
-
-
-
-
- Condition not expression.
-
-
-
-
- Initializes a new instance of the class.
-
- The expression.
-
-
-
- Gets the expression to be negated.
-
- The expression.
-
-
-
-
-
-
-
-
-
- Condition or expression.
-
-
-
-
- Initializes a new instance of the class.
-
- Left hand side of the OR expression.
- Right hand side of the OR expression.
-
-
-
- Gets the left expression.
-
- The left expression.
-
-
-
- Gets the right expression.
-
- The right expression.
-
-
-
-
-
-
- Evaluates the expression by evaluating and recursively.
-
- Evaluation context.
- The value of the alternative operator.
-
-
-
- Condition relational (==, !=, <, <=,
- > or >=) expression.
-
-
-
-
- Initializes a new instance of the class.
-
- The left expression.
- The right expression.
- The relational operator.
-
-
-
- Gets the left expression.
-
- The left expression.
-
-
-
- Gets the right expression.
-
- The right expression.
-
-
-
- Gets the relational operator.
-
- The operator.
-
-
-
-
-
-
-
-
-
- Compares the specified values using specified relational operator.
-
- The first value.
- The second value.
- The relational operator.
- Result of the given relational operator.
-
-
-
- Promote values to the type needed for the comparison, e.g. parse a string to int.
-
-
-
-
-
-
- Promotes to type
-
-
-
- success?
-
-
-
- Try to promote both values. First try to promote to ,
- when failed, try to .
-
-
-
-
-
- Get the order for the type for comparison.
-
-
- index, 0 to max int. Lower is first
-
-
-
- Dictionary from type to index. Lower index should be tested first.
-
-
-
-
- Build the dictionary needed for the order of the types.
-
-
-
-
-
- Get the string representing the current
-
-
-
-
-
- Condition parser. Turns a string representation of condition expression
- into an expression tree.
-
-
-
-
- Initializes a new instance of the class.
-
- The string reader.
- Instance of used to resolve references to condition methods and layout renderers.
-
-
-
- Parses the specified condition string and turns it into
- tree.
-
- The expression to be parsed.
- The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
-
-
-
- Parses the specified condition string and turns it into
- tree.
-
- The expression to be parsed.
- Instance of used to resolve references to condition methods and layout renderers.
- The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
-
-
-
- Parses the specified condition string and turns it into
- tree.
-
- The string reader.
- Instance of used to resolve references to condition methods and layout renderers.
-
- The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
-
-
-
-
- Try stringed keyword to
-
-
-
- success?
-
-
-
- Parse number
-
- negative number? minus should be parsed first.
-
-
-
-
- Hand-written tokenizer for conditions.
-
-
-
-
- Initializes a new instance of the class.
-
- The string reader.
-
-
-
- Asserts current token type and advances to the next token.
-
- Expected token type.
- If token type doesn't match, an exception is thrown.
-
-
-
- Asserts that current token is a keyword and returns its value and advances to the next token.
-
- Keyword value.
-
-
-
- Gets or sets a value indicating whether current keyword is equal to the specified value.
-
- The keyword.
-
- A value of true if current keyword is equal to the specified value; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the tokenizer has reached the end of the token stream.
-
-
- A value of true if the tokenizer has reached the end of the token stream; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether current token is a number.
-
-
- A value of true if current token is a number; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the specified token is of specified type.
-
- The token type.
-
- A value of true if current token is of specified type; otherwise, false.
-
-
-
-
- Gets the next token and sets and properties.
-
-
-
-
- Try the comparison tokens (greater, smaller, greater-equals, smaller-equals)
-
- current char
- is match
-
-
-
- Try the logical tokens (and, or, not, equals)
-
- current char
- is match
-
-
-
- Mapping between characters and token types for punctuations.
-
-
-
-
- Initializes a new instance of the CharToTokenType struct.
-
- The character.
- Type of the token.
-
-
-
- Token types for condition expressions.
-
-
-
-
- Marks the class or a member as advanced. Advanced classes and members are hidden by
- default in generated documentation.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain.
-
-
-
- Implementors must have the [ThreadAgnostic] attribute
-
- A layout(renderer) could be converted to a literal when:
- - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput]
-
- Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout.
-
-
-
-
- Used to mark configurable parameters which are arrays.
- Specifies the mapping between XML elements and .NET types.
-
-
-
-
- Initializes a new instance of the class.
-
- The type of the array item.
- The XML element name that represents the item.
-
-
-
- Gets the .NET type of the array item.
-
-
-
-
- Gets the XML element name.
-
-
-
-
- Load from url
-
- file or path, including .dll
- basepath, optional
-
-
-
-
- Load from url
-
-
-
-
- Provides logging interface and utility functions.
-
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Event notification about trying to load assembly with NLog extensions.
-
-
-
-
- Initializes a new instance of the class.
-
- Assembly that have been loaded
-
-
-
- The assembly that is trying to load.
-
-
-
-
- Represents NLog ConfigSection for loading from app.config / web.config
-
-
- <configSections>
- <section name="NLog" type="NLog.Config.ConfigSectionHandler, NLog" />
- </configSections>
-
-
-
-
- Overriding base implementation to just store
- of the relevant app.config section.
-
- The XmlReader that reads from the configuration file.
- true to serialize only the collection key properties; otherwise, false.
-
-
-
- Override base implementation to return a object
- for
- instead of the instance.
-
-
- A instance, that has been deserialized from app.config.
-
-
-
-
- Obsolete since dynamic tyope loading is not compatible with publish as trimmed application.
- Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type.
-
- Type of the item.
- Created object of the specified type.
-
-
-
- Provides registration information for named items (targets, layouts, layout renderers, etc.)
-
- Supports creating item-instance from their type-alias, when parsing NLog configuration
-
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Called before the assembly with NLog extensions is being loaded.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Initializes a new instance of the class.
-
- The assemblies to scan for named items.
-
-
-
- Gets or sets default singleton instance of .
-
-
- This property implements lazy instantiation so that the is not built before
- the internal logger is configured.
-
-
-
-
- Gets the factory.
-
-
-
-
- Gets the factory.
-
-
-
-
- Gets the factory.
-
-
-
-
- Gets the ambient property factory.
-
-
-
-
- Gets the factory.
-
-
-
-
- Gets the factory.
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets or sets the creator delegate used to instantiate configuration objects.
-
-
- By overriding this property, one can enable dependency injection or interception for created objects.
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the factory.
-
- The target factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the factory.
-
- The layout factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the factory.
-
- The layout renderer factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the ambient property factory.
-
- The ambient property factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the factory.
-
- The filter factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the time source factory.
-
- The time source factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the condition method factory.
-
- The condition method factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets or sets the JSON serializer to use with
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets or sets the string serializer to use with
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets or sets the parameter converter to use with or
-
-
-
-
- Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect)
-
-
- - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering.
- - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with )
- - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging)
-
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Registers named items from the assembly.
-
- The assembly.
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Registers named items from the assembly.
-
- The assembly.
- Item name prefix.
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Call Preload for NLogPackageLoader
-
-
- Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments)
- This method will be called just before registering all items in the assembly.
-
-
-
-
-
- Call the Preload method for . The Preload method must be static.
-
-
-
-
-
- Clears the contents of all factories.
-
-
-
-
- Obsolete since dynamic type loading is not compatible with publish as trimmed application.
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Builds the default configuration item factory.
-
- Default factory.
-
-
-
- Registers items in using late-bound types, so that we don't need a reference to the dll.
-
-
-
-
- Attribute used to mark the default parameters for layout renderers.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Dynamic filtering with a positive list of enabled levels
-
-
-
-
- Dynamic filtering with a minlevel and maxlevel range
-
-
-
-
- Format of the exception output to the specific target.
-
-
-
-
- Appends the Message of an Exception to the specified target.
-
-
-
-
- Appends the type of an Exception to the specified target.
-
-
-
-
- Appends the short type of an Exception to the specified target.
-
-
-
-
- Appends the result of calling ToString() on an Exception to the specified target.
-
-
-
-
- Appends the method name from Exception's stack trace to the specified target.
-
-
-
-
- Appends the stack trace from an Exception to the specified target.
-
-
-
-
- Appends the contents of an Exception's Data property to the specified target.
-
-
-
-
- Destructure the exception (usually into JSON)
-
-
-
-
- Appends the from the application or the object that caused the error.
-
-
-
-
- Appends the from the application or the object that caused the error.
-
-
-
-
- Appends any additional properties that specific type of Exception might have.
-
-
-
-
- Factory for class-based items.
-
- The base type of each item.
- The type of the attribute used to annotate items.
-
-
-
- Scans the assembly.
-
- The types to scan.
- The assembly name for the types.
- The prefix.
-
-
-
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Registers the item based on a type name.
-
- Name of the item.
- Name of the type.
-
-
-
- Clears the contents of the factory.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory specialized for s.
-
-
-
-
-
-
-
- Register a layout renderer with a callback function.
-
- Name of the layoutrenderer, without ${}.
- the renderer that renders the value.
-
-
-
-
-
-
- Factory of named items (such as , , , etc.).
-
-
-
-
- Factory of named items (such as , , , etc.).
-
-
-
-
- Registers type-creation with type-alias
-
-
-
-
- Tries to create an item instance with type-alias
-
- True if instance was created successfully, false otherwise.
-
-
-
- Include context properties
-
-
-
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets whether to include the contents of the properties-dictionary.
-
-
-
-
-
- Gets or sets whether to include the contents of the nested-state-stack.
-
-
-
-
-
- Did the Initialize Succeeded? true= success, false= error, null = initialize not started yet.
-
-
-
-
- Implemented by objects which support installation and uninstallation.
-
-
-
-
- Performs installation which requires administrative permissions.
-
- The installation context.
-
-
-
- Performs uninstallation which requires administrative permissions.
-
- The installation context.
-
-
-
- Determines whether the item is installed.
-
- The installation context.
-
- Value indicating whether the item is installed or null if it is not possible to determine.
-
-
-
-
- Interface for accessing configuration details
-
-
-
-
- Name of this configuration element
-
-
-
-
- Configuration Key/Value Pairs
-
-
-
-
- Child configuration elements
-
-
-
-
- Interface for loading NLog
-
-
-
-
- Finds and loads the NLog configuration
-
- LogFactory that owns the NLog configuration
- Name of NLog.config file (optional)
- NLog configuration (or null if none found)
-
-
-
- Notifies when LoggingConfiguration has been successfully applied
-
- LogFactory that owns the NLog configuration
- NLog Config
-
-
-
- Get file paths (including filename) for the possible NLog config files.
-
- Name of NLog.config file (optional)
- The file paths to the possible config file
-
-
-
- Level enabled flags for each LogLevel ordinal
-
-
-
-
- Converts the filter into a simple
-
-
-
-
- Obsolete since dynamic type loading is not compatible with publish as trimmed application. Replaced by .
- Represents a factory of named items (such as targets, layouts, layout renderers, etc.).
-
- Base type for each item instance.
- Item definition type (typically ).
-
-
-
- Registers new item definition.
-
- Name of the item.
- Item definition.
-
-
-
- Tries to get registered item definition.
-
- Name of the item.
- Reference to a variable which will store the item definition.
- Item definition.
-
-
-
- Creates item instance.
-
- Name of the item.
- Newly created item instance.
-
-
-
- Tries to create an item instance.
-
- Name of the item.
- The result.
- True if instance was created successfully, false otherwise.
-
-
-
- Provides context for install/uninstall operations.
-
-
-
-
- Mapping between log levels and console output colors.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The log output.
-
-
-
- Gets or sets the installation log level.
-
-
-
-
- Gets or sets a value indicating whether to ignore failures during installation.
-
-
-
-
- Whether installation exceptions should be rethrown. If IgnoreFailures is set to true,
- this property has no effect (there are no exceptions to rethrow).
-
-
-
-
- Gets the installation parameters.
-
-
-
-
- Gets or sets the log output.
-
-
-
-
- Logs the specified trace message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified debug message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified informational message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified warning message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified error message.
-
- The message.
- The arguments.
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Creates the log event which can be used to render layouts during install/uninstall.
-
- Log event info object.
-
-
-
- Convert object-value into specified type
-
-
-
-
- Parses the input value and converts into the wanted type
-
- Input Value
- Wanted Type
- Format to use when parsing
- Culture to use when parsing
- Output value with wanted type
-
-
-
- Interface for fluent setup of LogFactory options
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Interface for fluent setup of LoggingRules for LoggingConfiguration
-
-
-
-
- LoggingRule being built
-
-
-
-
- Interface for fluent setup of target for LoggingRule
-
-
-
-
- LoggingConfiguration being built
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Collection of targets that should be written to
-
-
-
-
- Interface for fluent setup of LogFactory options for extension loading
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Interface for fluent setup of LogFactory options for enabling NLog
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Interface for fluent setup of LoggingConfiguration for LogFactory
-
-
-
-
- LogFactory under configuration
-
-
-
-
- LoggingConfiguration being built
-
-
-
-
- Interface for fluent setup of LogFactory options
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Interface for fluent setup of LogFactory options for logevent serialization
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Allows components to request stack trace information to be provided in the .
-
-
-
-
- Gets the level of stack trace information required by the implementing class.
-
-
-
-
- Encapsulates and the logic to match the actual logger name
- All subclasses defines immutable objects.
- Concrete subclasses defines various matching rules through
-
-
-
-
- Creates a concrete based on .
-
-
- Rules used to select the concrete implementation returned:
-
- - if is null => returns (never matches)
- - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals)
- - if == '*' => returns (always matches)
- - if doesn't contain '?'
-
- - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns
- - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns
- - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns
-
-
- - returns
-
-
-
- It may include one or more '*' or '?' wildcards at any position.
-
- - '*' means zero or more occurrences of any character
- - '?' means exactly one occurrence of any character
-
-
- A concrete
-
-
-
- Returns the argument passed to
-
-
-
-
- Checks whether given name matches the logger name pattern.
-
- String to be matched.
- A value of when the name matches, otherwise.
-
-
-
- Defines a that never matches.
- Used when pattern is null
-
-
-
-
- Defines a that always matches.
- Used when pattern is '*'
-
-
-
-
- Defines a that matches with a case-sensitive Equals
- Used when pattern is a string without wildcards '?' '*'
-
-
-
-
- Defines a that matches with a case-sensitive StartsWith
- Used when pattern is a string like "*foobar"
-
-
-
-
- Defines a that matches with a case-sensitive EndsWith
- Used when pattern is a string like "foobar*"
-
-
-
-
- Defines a that matches with a case-sensitive Contains
- Used when pattern is a string like "*foobar*"
-
-
-
-
- Defines a that matches with a complex wildcards combinations:
-
- - '*' means zero or more occurrences of any character
- - '?' means exactly one occurrence of any character
-
- used when pattern is a string containing any number of '?' or '*' in any position
- i.e. "*Server[*].Connection[?]"
-
-
-
-
- Keeps logging configuration and provides simple API to modify it.
-
- This class is thread-safe..ToList() is used for that purpose.
-
-
-
- Gets the factory that will be configured
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the variables defined in the configuration or assigned from API
-
- Name is case insensitive.
-
-
-
- Gets a collection of named targets specified in the configuration.
-
-
- A list of named targets.
-
-
- Unnamed targets (such as those wrapped by other targets) are not returned.
-
-
-
-
- Gets the collection of file names which should be watched for changes by NLog.
-
-
-
-
- Gets the collection of logging rules.
-
-
-
-
- Gets or sets the default culture info to use as .
-
-
- Specific culture info or null to use
-
-
-
-
- Gets all targets.
-
-
-
-
- Inserts NLog Config Variable without overriding NLog Config Variable assigned from API
-
-
-
-
- Lookup NLog Config Variable Layout
-
-
-
-
- Registers the specified target object. The name of the target is read from .
-
-
- The target object with a non
-
- when is
-
-
-
- Registers the specified target object under a given name.
-
- Name of the target.
- The target object.
- when is
- when is
-
-
-
- Finds the target with the specified name.
-
-
- The name of the target to be found.
-
-
- Found target or when the target is not found.
-
-
-
-
- Finds the target with the specified name and specified type.
-
-
- The name of the target to be found.
-
- Type of the target
-
- Found target or when the target is not found of not of type
-
-
-
-
- Add a rule with min- and maxLevel.
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Name of the target to be written when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule with min- and maxLevel.
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule with min- and maxLevel.
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
- Gets or sets a value indicating whether to quit processing any further rule when this one matches.
-
-
-
- Add a rule object.
-
- rule object to add
-
-
-
- Add a rule for one loglevel.
-
- log level needed to trigger this rule.
- Name of the target to be written when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for one loglevel.
-
- log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for one loglevel.
-
- log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
- Gets or sets a value indicating whether to quit processing any further rule when this one matches.
-
-
-
- Add a rule for all loglevels.
-
- Name of the target to be written when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for all loglevels.
-
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for all loglevels.
-
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
- Gets or sets a value indicating whether to quit processing any further rule when this one matches.
-
-
-
- Lookup the logging rule with matching
-
- The name of the logging rule to be found.
- Found logging rule or when not found.
-
-
-
- Removes the specified named logging rule with matching
-
- The name of the logging rule to be removed.
- Found one or more logging rule to remove, or when not found.
-
-
-
- Called by LogManager when one of the log configuration files changes.
-
-
- A new instance of that represents the updated configuration.
-
- Must assign the returned object to LogManager.Configuration to activate it
-
-
-
- Allow this new configuration to capture state from the old configuration
-
- Old config that is about to be replaced
- Checks KeepVariablesOnReload and copies all NLog Config Variables assigned from API into the new config
-
-
-
- Removes the specified named target.
-
- Name of the target.
-
-
-
- Installs target-specific objects on current system.
-
- The installation context.
-
- Installation typically runs with administrative permissions.
-
-
-
-
- Uninstalls target-specific objects from current system.
-
- The installation context.
-
- Uninstallation typically runs with administrative permissions.
-
-
-
-
- Closes all targets and releases any unmanaged resources.
-
-
-
-
- Log to the internal (NLog) logger the information about the and associated with this instance.
-
-
- The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is
- recorded.
-
-
-
-
- Validates the configuration.
-
-
-
-
- Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage.
-
-
-
-
-
-
- Checks whether unused targets exist. If found any, just write an internal log at Warn level.
- If initializing not started or failed, then checking process will be canceled
-
-
-
-
- Flushes any pending log messages on all appenders.
-
- Config containing Targets to Flush
- Flush completed notification (success / timeout)
- Optional timeout that guarantees that completed notification is called.
-
-
-
-
- Change this method with NLog v6 to disconnect LogFactory from Targets/Layouts
- - Remove LoggingRule-List-parameter
- - Return ITargetWithFilterChain[]
-
-
-
-
-
-
-
- Arguments for events.
-
-
-
-
- Initializes a new instance of the class.
-
- The new configuration.
- The old configuration.
-
-
-
- Gets the old configuration.
-
- The old configuration.
-
-
-
- Gets the new configuration.
-
-
- New value can be null when unloading configuration during shutdown.
-
- The new configuration.
-
-
-
- Gets the optional boolean attribute value.
-
-
- Name of the attribute.
- Default value to return if the attribute is not found or if there is a parse error
- Boolean attribute value or default.
-
-
-
- Remove the namespace (before :)
-
-
- x:a, will be a
-
-
-
-
-
-
- Enables loading of NLog configuration from a file
-
-
-
-
- Get default file paths (including filename) for possible NLog config files.
-
-
-
-
- Get default file paths (including filename) for possible NLog config files.
-
-
-
-
- Loads NLog configuration from
-
-
-
-
- Constructor
-
-
-
-
-
- Loads NLog configuration from provided config section
-
-
- Directory where the NLog-config-file was loaded from
-
-
-
- Builds list with unique keys, using last value of duplicates. High priority keys placed first.
-
-
-
-
-
-
- Parse loglevel, but don't throw if exception throwing is disabled
-
- Name of attribute for logging.
- Value of parse.
- Used if there is an exception
-
-
-
-
- Parses a single config section within the NLog-config
-
-
- Section was recognized
-
-
-
- Parse {Rules} xml element
-
-
- Rules are added to this parameter.
-
-
-
- Parse {Logger} xml element
-
-
-
-
-
- Parse boolean
-
- Name of the property for logging.
- value to parse
- Default value to return if the parse failed
- Boolean attribute value or default.
-
-
-
- Config element that's validated and having extra context
-
-
-
-
- Explicit cast because NET35 doesn't support covariance.
-
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
-
-
-
- Initializes a new instance of the class.
-
- Whether configuration reload has succeeded.
-
-
-
- Initializes a new instance of the class.
-
- Whether configuration reload has succeeded.
- The exception during configuration reload.
-
-
-
- Gets a value indicating whether configuration reload has succeeded.
-
- A value of true if succeeded; otherwise, false.
-
-
-
- Gets the exception which occurred during configuration reload.
-
- The exception.
-
-
-
- Enables FileWatcher for the currently loaded NLog Configuration File,
- and supports automatic reload on file modification.
-
-
-
-
- Represents a logging rule. An equivalent of <logger /> configuration element.
-
-
-
-
- Create an empty .
-
-
-
-
- Create an empty .
-
-
-
-
- Create a new with a and which writes to .
-
- Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Target to be written to when the rule matches.
-
-
-
- Create a new with a which writes to .
-
- Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
- Minimum log level needed to trigger this rule.
- Target to be written to when the rule matches.
-
-
-
- Create a (disabled) . You should call or to enable logging.
-
- Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
- Target to be written to when the rule matches.
-
-
-
- Rule identifier to allow rule lookup
-
-
-
-
- Gets a collection of targets that should be written to when this rule matches.
-
-
-
-
- Obsolete since too exotic feature with NLog v5.3.
-
- Gets a collection of child rules to be evaluated when this rule matches.
-
-
-
-
- Gets a collection of filters to be checked before writing to targets.
-
-
-
-
- Gets or sets a value indicating whether to quit processing any following rules when this one matches.
-
-
-
-
- Gets or sets the whether to quit processing any following rules when lower severity and this one matches.
-
-
- Loggers matching will be restricted to specified minimum level for following rules.
-
-
-
-
- Gets or sets logger name pattern.
-
-
- Logger name pattern used by to check if a logger name matches this rule.
- It may include one or more '*' or '?' wildcards at any position.
-
- - '*' means zero or more occurrences of any character
- - '?' means exactly one occurrence of any character
-
-
-
-
-
- Gets the collection of log levels enabled by this rule.
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Default action when filters not matching
-
-
- NLog v4.6 introduced the setting with default value .
- NLog v5 marked it as obsolete and change default value to
-
-
-
-
- Default action if none of the filters match
-
-
- NLog v5 changed default value to
-
-
-
-
- Enables logging for a particular level.
-
- Level to be enabled.
-
-
-
- Enables logging for a particular levels between (included) and .
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
-
-
-
- Disables logging for a particular level.
-
- Level to be disabled.
-
-
-
- Disables logging for particular levels between (included) and .
-
- Minimum log level to be disables.
- Maximum log level to be disabled.
-
-
-
- Enables logging the levels between (included) and . All the other levels will be disabled.
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
-
-
-
- Returns a string representation of . Used for debugging.
-
-
-
-
- Checks whether the particular log level is enabled for this rule.
-
- Level to be checked.
- A value of when the log level is enabled, otherwise.
-
-
-
- Checks whether given name matches the .
-
- String to be matched.
- A value of when the name matches, otherwise.
-
-
-
- Default filtering with static level config
-
-
-
-
- Factory for locating methods.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Scans the assembly for classes marked with expected class
- and methods marked with expected and adds them
- to the factory.
-
- The types to scan.
- The assembly name for the type.
- The item name prefix.
-
-
-
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Scans a type for relevant methods with their symbolic names
-
- Include types that are marked with this attribute
- Include methods that are marked with this attribute
- Class Type to scan
- Collection of methods with their symbolic names
-
-
-
- Clears contents of the factory.
-
-
-
-
- Registers the definition of a single method.
-
- The method name.
- The method info.
-
-
-
- Tries to retrieve method by name.
-
- The method name.
- The result.
- A value of true if the method was found, false otherwise.
-
-
-
- Retrieves method by name.
-
- Method name.
- MethodInfo object.
-
-
-
- Tries to get method definition.
-
- The method name.
- The result.
- A value of true if the method was found, false otherwise.
-
-
-
- Obsolete and replaced by with NLog v5.3.
-
- Marks the layout or layout renderer depends on mutable objects from the LogEvent
-
- This can be or
-
-
-
-
- Attaches a type-alias for an item (such as ,
- , , etc.).
-
-
-
-
- Initializes a new instance of the class.
-
- The type-alias for use in NLog configuration.
-
-
-
- Gets the name of the type-alias
-
-
-
-
- Indicates NLog should not scan this property during configuration.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Marks the object as configuration item for NLog.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Failed to resolve the interface of service type
-
-
-
-
- Typed we tried to resolve
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Default implementation of
-
-
-
-
- Singleton instance of the serializer.
-
-
-
-
-
-
-
- Attribute used to mark the required parameters for targets,
- layout targets and filters.
-
-
-
-
- Interface to register available configuration objects type
-
-
-
-
- Registers instance of singleton object for use in NLog
-
- Type of service/interface to register
- Instance of service
-
-
-
- Gets the service object of the specified type.
-
- Avoid calling this while handling a LogEvent, since random deadlocks can occur.
-
-
-
- Registers singleton-object as implementation of specific interface.
-
-
- If the same single-object implements multiple interfaces then it must be registered for each interface
-
- Type of interface
- The repo
- Singleton object to use for override
-
-
-
- Registers the string serializer to use with
-
-
-
-
- Repository of interfaces used by NLog to allow override for dependency injection
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Registered service type in the service repository
-
-
-
-
- Initializes a new instance of the class.
-
- Type of service that have been registered
-
-
-
- Type of service-interface that has been registered
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Provides simple programmatic configuration API used for trivial logging cases.
-
- Warning, these methods will overwrite the current config.
-
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Configures NLog for console logging so that all messages above and including
- the level are output to the console.
-
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Configures NLog for console logging so that all messages above and including
- the specified level are output to the console.
-
- The minimal logging level.
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Configures NLog for to log to the specified target so that all messages
- above and including the level are output.
-
- The target to log all messages to.
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Configures NLog for to log to the specified target so that all messages
- above and including the specified level are output.
-
- The target to log all messages to.
- The minimal logging level.
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Configures NLog for file logging so that all messages above and including
- the level are written to the specified file.
-
- Log file name.
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Configures NLog for file logging so that all messages above and including
- the specified level are written to the specified file.
-
- Log file name.
- The minimal logging level.
-
-
-
- Value indicating how stack trace should be captured when processing the log event.
-
-
-
-
- No Stack trace needs to be captured.
-
-
-
-
- Stack trace should be captured. This option won't add the filenames and linenumbers
-
-
-
-
- Capture also filenames and linenumbers
-
-
-
-
- Capture the location of the call
-
-
-
-
- Capture the class name for location of the call
-
-
-
-
- Stack trace should be captured. This option won't add the filenames and linenumbers.
-
-
-
-
- Stack trace should be captured including filenames and linenumbers.
-
-
-
-
- Capture maximum amount of the stack trace information supported on the platform.
-
-
-
-
- Marks the layout or layout renderer as thread independent - it producing correct results
- regardless of the thread it's running on.
-
- Without this attribute everything is rendered on the main thread.
-
-
- If this attribute is set on a layout, it could be rendered on the another thread.
- This could be more efficient as it's skipped when not needed.
-
- If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied.
-
- See the AsyncTargetWrapper and BufferTargetWrapper with the , using
-
- Apply this attribute when:
- - The result can we rendered in another thread. Delaying this could be more efficient. And/Or,
- - The result should not be precalculated, for example the target sends some extra context information.
-
-
-
-
- Marks the layout or layout renderer as thread independent - it producing correct results
- regardless of the thread it's running on.
-
- Layout or layout-renderer depends on or ,
- and requires that LogEvent-state is recognized as immutable.
-
-
- Must be used in combination with , else it will have no effect
-
-
-
-
- Marks the layout or layout renderer as thread safe - it producing correct results
- regardless of the number of threads it's running on.
-
- Without this attribute then the target concurrency will be reduced
-
-
-
-
- A class for configuring NLog through an XML configuration file
- (App.config style or App.nlog style).
-
- Parsing of the XML file is also implemented in this class.
-
-
- - This class is thread-safe..ToList() is used for that purpose.
- - Update TemplateXSD.xml for changes outside targets
-
-
-
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
-
-
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
- The to which to apply any applicable configuration values.
-
-
-
- Obsolete and replaced by with NLog v4.7.
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
- Ignore any errors during configuration.
-
-
-
- Obsolete and replaced by with NLog v4.7.
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
- Ignore any errors during configuration.
- The to which to apply any applicable configuration values.
-
-
-
- Initializes a new instance of the class.
-
- XML reader to read from.
-
-
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
-
-
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- The to which to apply any applicable configuration values.
-
-
-
- Obsolete and replaced by with NLog v4.7.
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- Ignore any errors during configuration.
-
-
-
- Obsolete and replaced by with NLog v4.7.
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- Ignore any errors during configuration.
- The to which to apply any applicable configuration values.
-
-
-
- Initializes a new instance of the class.
-
- NLog configuration as XML string.
- Name of the XML file.
- The to which to apply any applicable configuration values.
-
-
-
- Parse XML string as NLog configuration
-
- NLog configuration in XML to be parsed
-
-
-
- Parse XML string as NLog configuration
-
- NLog configuration in XML to be parsed
- NLog LogFactory
-
-
-
- Gets the default object by parsing
- the application configuration file (app.exe.config).
-
-
-
-
- Did the Succeeded? true= success, false= error, null = initialize not started yet.
-
-
-
-
- Gets or sets a value indicating whether all of the configuration files
- should be watched for changes and reloaded automatically when changed.
-
-
-
-
- Gets the collection of file names which should be watched for changes by NLog.
- This is the list of configuration files processed.
- If the autoReload attribute is not set it returns empty collection.
-
-
-
-
- Re-reads the original configuration file and returns the new object.
-
- The newly loaded instance.
- Must assign the returned object to LogManager.Configuration to activate it
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Get file paths (including filename) for the possible NLog config files.
-
- The file paths to the possible config file
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Overwrite the paths (including filename) for the possible NLog config files.
-
- The file paths to the possible config file
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Clear the candidate file paths and return to the defaults.
-
-
-
-
- Create XML reader for (xml config) file.
-
- filepath
- reader or null if filename is empty.
-
-
-
- Initializes the configuration.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- Ignore any errors during configuration.
-
-
-
- Add a file with configuration. Check if not already included.
-
-
-
-
-
-
- Parse the root
-
-
- path to config file.
- The default value for the autoReload option.
-
-
-
- Parse {configuration} xml element.
-
-
- path to config file.
- The default value for the autoReload option.
-
-
-
- Parse {NLog} xml element.
-
-
- path to config file.
- The default value for the autoReload option.
-
-
-
- Parses a single config section within the NLog-config
-
-
- Section was recognized
-
-
-
- Include (multiple) files by filemask, e.g. *.nlog
-
- base directory in case if is relative
- relative or absolute fileMask
-
-
-
-
-
-
-
- Represents simple XML element with case-insensitive attribute semantics.
-
-
-
-
- Initializes a new instance of the class.
-
- The reader to initialize element from.
-
-
-
- Gets the element name.
-
-
-
-
- Gets the dictionary of attribute values.
-
-
-
-
- Gets the collection of child elements.
-
-
-
-
- Gets the value of the element.
-
-
-
-
- Returns children elements with the specified element name.
-
- Name of the element.
- Children elements with the specified element name.
-
-
-
- Asserts that the name of the element is among specified element names.
-
- The allowed names.
-
-
-
- Special attribute we could ignore
-
-
-
-
- Global Diagnostics Context - a dictionary structure to hold per-application-instance values.
-
-
-
-
- Sets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
-
- Item name.
- Item value.
-
-
-
- Sets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
-
- Item name.
- Item value.
-
-
-
- Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
-
- Item name.
- The value of , if defined; otherwise .
- If the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
-
- Item name.
- to use when converting the item's value to a string.
- The value of as a string, if defined; otherwise .
- If is null and the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
-
- Item name.
- The item value, if defined; otherwise null.
-
-
-
- Gets all key-names from Global Diagnostics Context (GDC) dictionary
-
- A collection of the names of all items in the Global Diagnostics Context.
-
-
-
- Determines whether the Global Diagnostics Context (GDC) dictionary contains the specified key.
-
- Item name.
- A boolean indicating whether the specified item exists in current thread GDC.
-
-
-
- Removes the value with the specified key from the Global Diagnostics Context (GDC) dictionary
-
- Item name.
-
-
-
- Clears the content of the Global Diagnostics Context (GDC) dictionary.
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Mapped Diagnostics Context (MDC) is a dictionary of keys and values.
- Stores the dictionary in the thread-local static variable, and provides methods to output dictionary values in layouts.
-
-
-
-
- Sets the current thread MDC item to the specified value.
-
- Item name.
- Item value.
- An that can be used to remove the item from the current thread MDC.
-
-
-
- Sets the current thread MDC item to the specified value.
-
- Item name.
- Item value.
- >An that can be used to remove the item from the current thread MDC.
-
-
-
- Sets the current thread MDC item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Sets the current thread MDC item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Gets the current thread MDC named item, as .
-
- Item name.
- The value of , if defined; otherwise .
- If the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the current thread MDC named item, as .
-
- Item name.
- The to use when converting a value to a .
- The value of , if defined; otherwise .
- If is null and the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the current thread MDC named item, as .
-
- Item name.
- The value of , if defined; otherwise null.
-
-
-
- Returns all item names
-
- A set of the names of all items in current thread-MDC.
-
-
-
- Checks whether the specified item exists in current thread MDC.
-
- Item name.
- A boolean indicating whether the specified exists in current thread MDC.
-
-
-
- Removes the specified from current thread MDC.
-
- Item name.
-
-
-
- Clears the content of current thread MDC.
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Mapped Diagnostics Logical Context (MDLC) is a dictionary of keys and values.
- Stores the dictionary in the logical thread callcontext, and provides methods to output dictionary values in layouts.
- Allows for maintaining state across asynchronous tasks and call contexts.
-
-
- Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original
- NLog library so that state can be maintained for multiple threads in asynchronous situations.
-
-
-
-
- Gets the current logical context named item, as .
-
- Item name.
- The value of , if defined; otherwise .
- If the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the current logical context named item, as .
-
- Item name.
- The to use when converting a value to a string.
- The value of , if defined; otherwise .
- If is null and the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the current logical context named item, as .
-
- Item name.
- The value of , if defined; otherwise null.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
- >An that can be used to remove the item from the current logical context.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
- >An that can be used to remove the item from the current logical context.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
- >An that can be used to remove the item from the current logical context.
-
-
-
- Updates the current logical context with multiple items in single operation
-
- .
- >An that can be used to remove the item from the current logical context (null if no items).
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Returns all item names
-
- A collection of the names of all items in current logical context.
-
-
-
- Checks whether the specified exists in current logical context.
-
- Item name.
- A boolean indicating whether the specified exists in current logical context.
-
-
-
- Removes the specified from current logical context.
-
- Item name.
-
-
-
- Clears the content of current logical context.
-
-
-
-
- Clears the content of current logical context.
-
- Free the full slot.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Nested Diagnostics Context (NDC) is a stack of nested values.
- Stores the stack in the thread-local static variable, and provides methods to output the values in layouts.
-
-
-
-
- Gets the top NDC message but doesn't remove it.
-
- The top message. .
-
-
-
- Gets the top NDC object but doesn't remove it.
-
- The object at the top of the NDC stack if defined; otherwise null.
-
-
-
- Pushes the specified text on current thread NDC.
-
- The text to be pushed.
- An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
-
-
-
- Pushes the specified object on current thread NDC.
-
- The object to be pushed.
- An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
-
-
-
- Pops the top message off the NDC stack.
-
- The top message which is no longer on the stack.
-
-
-
- Pops the top message from the NDC stack.
-
- The to use when converting the value to a string.
- The top message, which is removed from the stack, as a string value.
-
-
-
- Pops the top object off the NDC stack.
-
- The object from the top of the NDC stack, if defined; otherwise null.
-
-
-
- Peeks the first object on the NDC stack
-
- The object from the top of the NDC stack, if defined; otherwise null.
-
-
-
- Clears current thread NDC stack.
-
-
-
-
- Gets all messages on the stack.
-
- Array of strings on the stack.
-
-
-
- Gets all messages from the stack, without removing them.
-
- The to use when converting a value to a string.
- Array of strings.
-
-
-
- Gets all objects on the stack.
-
- Array of objects on the stack.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Nested Diagnostics Logical Context (NDLC) is a stack of nested values.
- Stores the stack in the logical thread callcontexte, and provides methods to output the values in layouts.
-
-
-
-
- Pushes the specified value on current stack
-
- The value to be pushed.
- An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
-
-
-
- Pushes the specified value on current stack
-
- The value to be pushed.
- An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
-
-
-
- Pops the top message off the NDLC stack.
-
- The top message which is no longer on the stack.
- this methods returns a object instead of string, this because of backwards-compatibility
-
-
-
- Pops the top message from the NDLC stack.
-
- The to use when converting the value to a string.
- The top message, which is removed from the stack, as a string value.
-
-
-
- Pops the top message off the current NDLC stack
-
- The object from the top of the NDLC stack, if defined; otherwise null.
-
-
-
- Peeks the top object on the current NDLC stack
-
- The object from the top of the NDLC stack, if defined; otherwise null.
-
-
-
- Clears current stack.
-
-
-
-
- Gets all messages on the stack.
-
- Array of strings on the stack.
-
-
-
- Gets all messages from the stack, without removing them.
-
- The to use when converting a value to a string.
- Array of strings.
-
-
-
- Gets all objects on the stack. The objects are not removed from the stack.
-
- Array of objects on the stack.
-
-
-
- stores state in the async thread execution context. All LogEvents created
- within a scope can include the scope state in the target output. The logical context scope supports
- both scope-properties and scope-nested-state-stack (Similar to log4j2 ThreadContext)
-
-
- (MDLC), (MDC), (NDLC)
- and (NDC) have been deprecated and replaced by .
-
- .NetCore (and .Net46) uses AsyncLocal for handling the thread execution context. Older .NetFramework uses System.Runtime.Remoting.CallContext
-
-
-
-
- Pushes new state on the logical context scope stack together with provided properties
-
- Value to added to the scope stack
- Properties being added to the scope dictionary
- A disposable object that pops the nested scope state on dispose (including properties).
- Scope dictionary keys are case-insensitive
-
-
-
- Updates the logical scope context with provided properties
-
- Properties being added to the scope dictionary
- A disposable object that removes the properties from logical context scope on dispose.
- Scope dictionary keys are case-insensitive
-
-
-
- Updates the logical scope context with provided properties
-
- Properties being added to the scope dictionary
- A disposable object that removes the properties from logical context scope on dispose.
- Scope dictionary keys are case-insensitive
-
-
-
- Updates the logical scope context with provided property
-
- Name of property
- Value of property
- A disposable object that removes the properties from logical context scope on dispose.
- Scope dictionary keys are case-insensitive
-
-
-
- Updates the logical scope context with provided property
-
- Name of property
- Value of property
- A disposable object that removes the properties from logical context scope on dispose.
- Scope dictionary keys are case-insensitive
-
-
-
- Pushes new state on the logical context scope stack
-
- Value to added to the scope stack
- A disposable object that pops the nested scope state on dispose.
- Skips casting of to check for scope-properties
-
-
-
- Pushes new state on the logical context scope stack
-
- Value to added to the scope stack
- A disposable object that pops the nested scope state on dispose.
-
-
-
- Clears all the entire logical context scope, and removes any properties and nested-states
-
-
-
-
- Retrieves all properties stored within the logical context scopes
-
- Collection of all properties
-
-
-
- Lookup single property stored within the logical context scopes
-
- Name of property
- When this method returns, contains the value associated with the specified key
- Returns true when value is found with the specified key
- Scope dictionary keys are case-insensitive
-
-
-
- Retrieves all nested states inside the logical context scope stack
-
- Array of nested state objects.
-
-
-
- Peeks the top value from the logical context scope stack
-
- Value from the top of the stack.
-
-
-
- Peeks the inner state (newest) from the logical context scope stack, and returns its running duration
-
- Scope Duration Time
-
-
-
- Peeks the outer state (oldest) from the logical context scope stack, and returns its running duration
-
- Scope Duration Time
-
-
-
- Special bookmark that can restore original parent, after scopes has been collapsed
-
-
-
-
- Matches when the specified condition is met.
-
-
- Conditions are expressed using a simple language.
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the condition expression.
-
-
-
-
-
-
-
-
- An abstract filter class. Provides a way to eliminate log messages
- based on properties other than logger name and log level.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the action to be taken when filter matches.
-
-
-
-
-
- Gets the result of evaluating filter against given log event.
-
- The log event.
- Filter result.
-
-
-
- Checks whether log event should be logged or not.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
-
-
- Marks class as a layout renderer and assigns a name to it.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the filter.
-
-
-
- Filter result.
-
-
-
-
- The filter doesn't want to decide whether to log or discard the message.
-
-
-
-
- The message should be logged.
-
-
-
-
- The message should not be logged.
-
-
-
-
- The message should be logged and processing should be finished.
-
-
-
-
- The message should not be logged and processing should be finished.
-
-
-
-
- A base class for filters that are based on comparing a value to a layout.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the layout to be used to filter log messages.
-
- The layout.
-
-
-
-
- Matches when the calculated layout contains the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
- Gets or sets the substring to be matched.
-
-
-
-
-
-
-
-
- Matches when the calculated layout is equal to the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
- Gets or sets a string to compare the layout to.
-
-
-
-
-
-
-
-
- Matches the provided filter-method
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
-
-
-
- Matches when the calculated layout does NOT contain the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Gets or sets the substring to be matched.
-
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
-
-
-
- Matches when the calculated layout is NOT equal to the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a string to compare the layout to.
-
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
-
-
-
- Matches when the result of the calculated layout has been repeated a moment ago
-
-
-
-
- How long before a filter expires, and logging is accepted again
-
-
-
-
-
- Max length of filter values, will truncate if above limit
-
-
-
-
-
- Applies the configured action to the initial logevent that starts the timeout period.
- Used to configure that it should ignore all events until timeout.
-
-
-
-
-
- Max number of unique filter values to expect simultaneously
-
-
-
-
-
- Default number of unique filter values to expect, will automatically increase if needed
-
-
-
-
-
- Insert FilterCount value into when an event is no longer filtered
-
-
-
-
-
- Append FilterCount to the when an event is no longer filtered
-
-
-
-
-
- Reuse internal buffers, and doesn't have to constantly allocate new buffers
-
-
-
-
-
- Default buffer size for the internal buffers
-
-
-
-
-
- Checks whether log event should be logged or not. In case the LogEvent has just been repeated.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
-
-
- Uses object pooling, and prunes stale filter items when the pool runs dry
-
-
-
-
- Remove stale filter-value from the cache, and fill them into the pool for reuse
-
-
-
-
- Renders the Log Event into a filter value, that is used for checking if just repeated
-
-
-
-
- Repeated LogEvent detected. Checks if it should activate filter-action
-
-
-
-
- Filter Value State (mutable)
-
-
-
-
- Filter Lookup Key (immutable)
-
-
-
-
- A global logging class using caller info to find the logger.
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event with the specified .
-
- The log level.
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Trace level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Debug level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Info level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Warn level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Error level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Fatal level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- A fluent class to build log events for NLog.
-
-
-
-
- Initializes a new instance of the class.
-
- The to send the log event.
-
-
-
- Initializes a new instance of the class.
-
- The to send the log event.
- The for the log event.
-
-
-
- Gets the created by the builder.
-
-
-
-
- Sets the information of the logging event.
-
- The exception information of the logging event.
- current for chaining calls.
-
-
-
- Sets the level of the logging event.
-
- The level of the logging event.
- current for chaining calls.
-
-
-
- Sets the logger name of the logging event.
-
- The logger name of the logging event.
- current for chaining calls.
-
-
-
- Sets the log message on the logging event.
-
- The log message for the logging event.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The first object to format.
- The second object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The first object to format.
- The second object to format.
- The third object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The first object to format.
- The second object to format.
- The third object to format.
- The fourth object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- An object array that contains zero or more objects to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- An object that supplies culture-specific formatting information.
- A composite format string.
- An object array that contains zero or more objects to format.
- current for chaining calls.
-
-
-
- Sets a per-event context property on the logging event.
-
- The name of the context property.
- The value of the context property.
- current for chaining calls.
-
-
-
- Sets multiple per-event context properties on the logging event.
-
- The properties to set.
- current for chaining calls.
-
-
-
- Sets the timestamp of the logging event.
-
- The timestamp of the logging event.
- current for chaining calls.
-
-
-
- Sets the stack trace for the event info.
-
- The stack trace.
- Index of the first user stack frame within the stack trace.
- current for chaining calls.
-
-
-
- Writes the log event to the underlying logger.
-
- The method or property name of the caller to the method. This is set at by the compiler.
- The full path of the source file that contains the caller. This is set at by the compiler.
- The line number in the source file at which the method is called. This is set at by the compiler.
-
-
-
- Writes the log event to the underlying logger if the condition delegate is true.
-
- If condition is true, write log event; otherwise ignore event.
- The method or property name of the caller to the method. This is set at by the compiler.
- The full path of the source file that contains the caller. This is set at by the compiler.
- The line number in the source file at which the method is called. This is set at by the compiler.
-
-
-
- Writes the log event to the underlying logger if the condition is true.
-
- If condition is true, write log event; otherwise ignore event.
- The method or property name of the caller to the method. This is set at by the compiler.
- The full path of the source file that contains the caller. This is set at by the compiler.
- The line number in the source file at which the method is called. This is set at by the compiler.
-
-
-
- Extension methods for NLog .
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event with the specified .
-
- The logger to write the log event to.
- The log level.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Trace level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Debug level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Info level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Warn level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Error level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Fatal level.
-
- The logger to write the log event to.
- current for chaining calls.
-
Extensions for NLog .
@@ -8243,135 +7150,14 @@
An exception to be logged.
A function returning message to be written. Function is not evaluated if logging is not enabled.
-
+
- Interface for fakeable of the current AppDomain.
+ Allocates new builder and appends to the provided target builder on dispose
-
+
- Gets or sets the base directory that the assembly resolver uses to probe for assemblies.
-
-
-
-
- Gets or sets the name of the configuration file for an application domain.
-
-
-
-
- Gets or sets the list of directories under the application base directory that are probed for private assemblies.
-
-
-
-
- Gets or set the friendly name.
-
-
-
-
- Gets an integer that uniquely identifies the application domain within the process.
-
-
-
-
- Gets the assemblies that have been loaded into the execution context of this application domain.
-
- A list of assemblies in this application domain.
-
-
-
- Process exit event.
-
-
-
-
- Domain unloaded event.
-
-
-
-
- Abstract calls for the application environment
-
-
-
-
- Gets current process name (excluding filename extension, if any).
-
-
-
-
- Process exit event.
-
-
-
-
- Abstract calls to FileSystem
-
-
-
- Determines whether the specified file exists.
- The file to check.
-
-
- Returns the content of the specified file
- The file to load.
-
-
-
- Adapter for to
-
-
-
-
- Initializes a new instance of the class.
-
- The to wrap.
-
-
-
- Creates an AppDomainWrapper for the current
-
-
-
-
- Gets or sets the base directory that the assembly resolver uses to probe for assemblies.
-
-
-
-
- Gets or sets the name of the configuration file for an application domain.
-
-
-
-
- Gets or sets the list of directories under the application base directory that are probed for private assemblies.
-
-
-
-
- Gets or set the friendly name.
-
-
-
-
- Gets an integer that uniquely identifies the application domain within the process.
-
-
-
-
- Gets the assemblies that have been loaded into the execution context of this application domain.
-
- A list of assemblies in this application domain.
-
-
-
- Process exit event.
-
-
-
-
- Domain unloaded event.
+ Access the new builder allocated
@@ -8416,8 +7202,227 @@
-
-
+
+
+ Long UNC paths does not allow relative-path-logic using '..', and also cannot be loaded into Uri by XmlReader
+
+
+
+
+ Abstract calls for the application environment
+
+
+
+
+ Gets current process name (excluding filename extension, if any).
+
+
+
+
+ Process exit event.
+
+
+
+
+ Abstract calls to FileSystem
+
+
+
+ Determines whether the specified file exists.
+ The file to check.
+
+
+ Returns the content of the specified text-file
+ The file to load.
+
+
+
+ Helpers for .
+
+
+
+
+ Logs the assembly version and file version of the given Assembly.
+
+ The assembly to log.
+
+
+
+ Keeps track of pending operation count, and can notify when pending operation count reaches zero
+
+
+
+
+ Mark operation has started
+
+
+
+
+ Mark operation has completed
+
+ Exception coming from the completed operation [optional]
+
+
+
+ Registers an AsyncContinuation to be called when all pending operations have completed
+
+ Invoked on completion
+ AsyncContinuation operation
+
+
+
+ Clear o
+
+
+
+
+ Adds the given assembly which will be skipped
+ when NLog is trying to find the calling method on stack trace.
+
+ The assembly to skip.
+
+
+
+ Sets the stack trace for the event info.
+
+ The stack trace.
+ Index of the first user stack frame within the stack trace.
+ Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger.
+
+
+
+ Sets the details retrieved from the Caller Information Attributes
+
+
+
+
+
+
+
+
+ Obsolete and replaced by or ${callsite} with NLog v5.3.
+
+ Gets the stack frame of the method that did the logging.
+
+
+
+
+ Gets the number index of the stack frame that represents the user
+ code (not the NLog code).
+
+
+
+
+ Legacy attempt to skip async MoveNext, but caused source file line number to be lost
+
+
+
+
+ Gets the entire stack trace.
+
+
+
+
+ Finds first user stack frame in a stack trace
+
+ The stack trace of the logging method invocation
+ Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger.
+ Index of the first user stack frame or 0 if all stack frames are non-user
+
+
+
+ This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame
+
+ The stack trace of the logging method invocation
+ Starting point for skipping async MoveNext-frames
+
+
+
+ Skip StackFrame when from hidden Assembly / ClassType
+
+
+
+
+ Skip StackFrame when type of the logger
+
+
+
+
+ Memory optimized filtering
+
+ Passing state too avoid delegate capture and memory-allocations.
+
+
+
+ Internal configuration manager used to read .NET configuration files.
+ Just a wrapper around the BCL ConfigurationManager, but used to enable
+ unit testing.
+
+
+
+
+ Ensures that IDictionary.GetEnumerator returns DictionaryEntry values
+
+
+
+
+ Safe way to get environment variables.
+
+
+
+
+ Helper class for dealing with exceptions.
+
+
+
+
+ Mark this exception as logged to the .
+
+
+
+
+
+
+ Is this exception logged to the ?
+
+
+ if the has been logged to the .
+
+
+
+ Determines whether the exception must be rethrown and logs the error to the if is .
+
+ Advised to log first the error to the before calling this method.
+
+ The exception to check.
+ Target Object context of the exception.
+ Target Method context of the exception.
+ if the must be rethrown, otherwise.
+
+
+
+ Determines whether the exception must be rethrown immediately, without logging the error to the .
+
+ Only used this method in special cases.
+
+ The exception to check.
+ if the must be rethrown, otherwise.
+
+
+
+ FormatProvider that renders an exception-object as $"{ex.GetType()}: {ex.Message}"
+
+
+
+
+ Convert object to string
+
+ value
+ format for conversion.
+
+
+ If is null and isn't a already, then the will get a locked by
+
@@ -8436,7 +7441,10 @@
- Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect)
+ Perform message template parsing and formatting of LogEvent messages:
+ - = Always
+ - = Never
+ - = Auto Detect
@@ -8451,7 +7459,7 @@
Has the logevent properties?
LogEvent with message to be formatted
- False when logevent has no properties to be extracted
+ when logevent has no properties to be extracted
@@ -8512,141 +7520,47 @@
Initializes this instance.
- The configuration.
Closes this instance.
-
+
- Helpers for .
+ The MessageFormatter delegate
-
+
- Gets all usable exported types from the given assembly.
-
- Assembly to scan.
- Usable types from the given assembly.
- Types which cannot be loaded are skipped.
-
-
-
- Forward declare of system delegate type for use by other classes
+ When Do not fallback to StringBuilder.Format for positional templates
-
+
- Keeps track of pending operation count, and can notify when pending operation count reaches zero
+ New formatter
+
+
+ When Do not fallback to StringBuilder.Format for positional templates
+
+
+
+
+ The MessageFormatter delegate
-
-
- Mark operation has started
-
+
+
-
+
- Mark operation has completed
-
- Exception coming from the completed operation [optional]
-
-
-
- Registers an AsyncContinuation to be called when all pending operations have completed
-
- Invoked on completion
- AsyncContinuation operation
-
-
-
- Clear o
-
-
-
-
- Adds the given assembly which will be skipped
- when NLog is trying to find the calling method on stack trace.
-
- The assembly to skip.
-
-
-
- Sets the stack trace for the event info.
-
- The stack trace.
- Index of the first user stack frame within the stack trace.
- Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger.
-
-
-
- Sets the details retrieved from the Caller Information Attributes
-
-
-
-
-
-
-
-
- Obsolete and replaced by or ${callsite} with NLog v5.3.
-
- Gets the stack frame of the method that did the logging.
-
-
-
-
- Gets the number index of the stack frame that represents the user
- code (not the NLog code).
-
-
-
-
- Legacy attempt to skip async MoveNext, but caused source file line number to be lost
-
-
-
-
- Gets the entire stack trace.
-
-
-
-
- Finds first user stack frame in a stack trace
-
- The stack trace of the logging method invocation
- Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger.
- Index of the first user stack frame or 0 if all stack frames are non-user
-
-
-
- This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame
-
- The stack trace of the logging method invocation
- Starting point for skipping async MoveNext-frames
-
-
-
- Skip StackFrame when from hidden Assembly / ClassType
-
-
-
-
- Skip StackFrame when type of the logger
-
-
-
-
- Memory optimized filtering
-
- Passing state too avoid delegate capture and memory-allocations.
-
-
-
- Ensures that IDictionary.GetEnumerator returns DictionaryEntry values
+ Render a template to a string.
+ The template.
+ Culture.
+ Parameters for the holes.
+ The String Builder destination.
+ Parameters for the holes.
@@ -8665,7 +7579,7 @@
Key of the item to be inserted in the cache.
Value of the item to be inserted in the cache.
- true when the key does not already exist in the cache, false otherwise.
+ when the key does not already exist in the cache, otherwise.
@@ -8673,20 +7587,149 @@
Key of the item to be searched in the cache.
Output value of the item found in the cache.
- True when the key is found in the cache, false otherwise.
+ when the key is found in the cache, otherwise.
+
+
+
+ Watches multiple files at the same time and raises an event whenever
+ a single change is detected in any of those files.
+
+
+
+
+ The types of changes to watch for.
+
+
+
+
+ Occurs when a change is detected in one of the monitored files.
+
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Stops watching all files.
+
+
+
+
+ Watches the specified files for changes.
+
+ The file names.
+
+
+
+ Scans (breadth-first) the object graph following all the edges whose are
+ instances have attached and returns
+ all objects implementing a specified interfaces.
+
+
+
+
+ Finds the objects which have attached which are reachable
+ from any of the given root objects when traversing the object graph over public properties.
+
+ Type of the objects to return.
+ Configuration Reflection Helper
+ Also search the properties of the wanted objects.
+ The root objects.
+ Ordered list of objects implementing T.
+
+
+
+ Object Path to check
+
+
+
+
+ Converts object into a List of property-names and -values using reflection
+
+
+
+
+ Try get value from , using , and set into
+
+
+
+
+ Scans properties for name (Skips property value lookup until finding match)
+
+
+
+
+ Scans properties for name
+
+
+
+
+ Binder for retrieving value of
+
+
+
+
+
+
+
+ Combine paths
+
+ basepath, not null
+ optional dir
+ optional file
+
+
+
+
+ Cached directory separator char array to avoid memory allocation on each method call.
+
+
+
+
+ Trims directory separators from the path
+
+ path, could be null
+ never null
+
+
+
+ Detects the platform the NLog is running on.
+
+
+
+
+ Gets the current runtime OS.
+
+
+
+
+ Gets a value indicating whether current OS is Win32-based (desktop or mobile).
+
+
+
+
+ Gets a value indicating whether current OS is Unix-based.
+
+
+
+
+ Gets a value indicating whether current runtime is Mono-based
+
-
- Dictionary that combines the standard with the
- MessageTemplate-properties extracted from the .
+
+ Dictionary that combines the standard with the
+ MessageTemplate-properties extracted from the .
- The are returned as the first items
- in the collection, and in positional order.
-
+ The are returned as the first items
+ in the collection, and in positional order.
+
- Value of the property
+ Value of the property
@@ -8710,11 +7753,10 @@
Message-template-parameters
-
+
Transforms the list of event-properties into IDictionary-interface
- Message-template-parameters
@@ -8778,46 +7820,64 @@
Message-template-parameters
The dictionary that initially contains no message-template-parameters
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
Will always throw, as collection is readonly
-
+
Will always throw, as collection is readonly
-
+
Will always throw, as collection is readonly
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+ Will always throw, as collection is readonly
+
+
+ Will always throw, as collection is readonly
+
+
+ Will always throw, as collection is readonly
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -8831,6 +7891,235 @@
Enables case-insensitive lookup using
+
+
+ Reflection helpers for accessing properties.
+
+
+
+
+ Get property info
+
+ Configuration Reflection Helper
+ object which could have property
+ property name on
+ result when success.
+ success.
+
+
+
+ Try parse of string to (Generic) list, comma separated.
+
+
+ If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape
+
+
+
+
+ Reflection helpers.
+
+
+
+
+ Is this a static class?
+
+
+
+ This is a work around, as Type doesn't have this property.
+ From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static
+
+
+
+
+ Optimized delegate for calling MethodInfo
+
+ Object instance, use null for static methods.
+ Complete list of parameters that matches the method, including optional/default parameters.
+
+
+
+ Creates an optimized delegate for calling the MethodInfo using Expression-Trees
+
+ Method to optimize
+ Optimized delegate for invoking the MethodInfo
+
+
+
+ Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user)
+
+
+
+
+ Controls a single allocated char[]-buffer for reuse (only one active user)
+
+
+
+
+ Controls a single allocated StringBuilder for reuse (only one active user)
+
+
+
+
+ Controls a single allocated object for reuse (only one active user)
+
+
+
+
+ Creates handle to the reusable char[]-buffer for active usage
+
+ Handle to the reusable item, that can release it again
+
+
+
+ Access the acquired reusable object
+
+
+
+
+ Controls a single allocated MemoryStream for reuse (only one active user)
+
+
+
+
+ Supported operating systems.
+
+
+ If you add anything here, make sure to add the appropriate detection
+ code to
+
+
+
+
+ Unknown operating system.
+
+
+
+
+ Unix/Linux operating systems.
+
+
+
+
+ Desktop versions of Windows (95,98,ME).
+
+
+
+
+ Windows NT, 2000, 2003 and future versions based on NT technology.
+
+
+
+
+ Macintosh Mac OSX
+
+
+
+
+ Immutable state that combines ScopeContext MDLC + NDLC for
+
+
+
+
+ Immutable state that combines ScopeContext MDLC + NDLC for
+
+
+
+
+ Immutable state for ScopeContext Mapped Context (MDLC)
+
+
+
+
+ Immutable state for ScopeContext Nested State (NDLC)
+
+
+
+
+ Immutable state for ScopeContext Single Property (MDLC)
+
+
+
+
+ Immutable state for ScopeContext Multiple Properties (MDLC)
+
+
+
+
+ Immutable state for ScopeContext handling legacy MDLC + NDLC operations
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Collection of targets that should be written to
+
+
+
+
+ Simple character tokenizer.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The text to be tokenized.
+
+
+
+ Current position in
+
+
+
+
+ Full text to be parsed
+
+
+
+
+ Check current char while not changing the position.
+
+
+
+
+
+ Read the current char and change position
+
+
+
+
+
+ Get the substring of the
+
+
+
+
+
+
+
+ Implements a single-call guard around given continuation function.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The asynchronous continuation.
+
+
+
+ Continuation function which implements the single-call guard.
+
+ The exception.
+
HashSet optimized for single item
@@ -8935,7 +8224,7 @@
Dictionary where keys are unique input keys, and values are lists of .
-
+
Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed.
@@ -8944,1563 +8233,28 @@
The type of the key.
The type of the value.
-
+
-
-
-
-
-
-
-
-
-
-
-
- Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown.
- Consider to use instead for better safety.
-
- Key value for lookup
- Mapped value found
-
-
+
Non-Allocating struct-enumerator
-
+
-
+
-
-
-
-
- Will always throw, as dictionary is readonly
-
-
- Will always throw, as dictionary is readonly
-
-
-
-
-
- Will always throw, as dictionary is readonly
-
-
- Will always throw, as dictionary is readonly
-
-
-
-
-
-
-
-
- Will always throw, as dictionary is readonly
-
-
-
- Internal configuration manager used to read .NET configuration files.
- Just a wrapper around the BCL ConfigurationManager, but used to enable
- unit testing.
-
-
-
-
- UTF-8 BOM 239, 187, 191
-
-
-
-
- Safe way to get environment variables.
-
-
-
-
- Helper class for dealing with exceptions.
-
-
-
-
- Mark this exception as logged to the .
-
-
-
-
-
-
- Is this exception logged to the ?
-
-
- trueif the has been logged to the .
-
-
-
- Determines whether the exception must be rethrown and logs the error to the if is false.
-
- Advised to log first the error to the before calling this method.
-
- The exception to check.
- Target Object context of the exception.
- Target Method context of the exception.
- trueif the must be rethrown, false otherwise.
-
-
-
- Determines whether the exception must be rethrown immediately, without logging the error to the .
-
- Only used this method in special cases.
-
- The exception to check.
- trueif the must be rethrown, false otherwise.
-
-
-
- FormatProvider that renders an exception-object as $"{ex.GetType()}: {ex.Message}"
-
-
-
-
- Object construction helper.
-
-
-
-
- Base class for optimized file appenders.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The create parameters.
-
-
-
- Gets the path of the file, including file extension.
-
- The name of the file.
-
-
-
- Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated
- Universal Time [UTC] standard.
-
- The creation time of the file.
-
-
-
- Gets or sets the creation time for a file associated with the appender. Synchronized by
- The time format is based on
-
-
-
-
- Gets the last time the file associated with the appender is opened. The time returned is in Coordinated
- Universal Time [UTC] standard.
-
- The time the file was last opened.
-
-
-
- Gets the file creation parameters.
-
- The file creation parameters.
-
-
-
- Writes the specified bytes.
-
- The bytes.
-
-
-
- Writes the specified bytes to a file.
-
- The bytes array.
- The bytes array offset.
- The number of bytes.
-
-
-
- Flushes this file-appender instance.
-
-
-
-
- Closes this file-appender instance.
-
-
-
-
- Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal
- Time [UTC] standard.
-
- The file creation time.
-
-
-
- Gets the length in bytes of the file associated with the appender.
-
- A long value representing the length of the file in bytes.
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- True to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Creates the file stream.
-
- If set to true sets the file stream to allow shared writing.
- If larger than 0 then it will be used instead of the default BufferSize for the FileStream.
- A object which can be used to write to the file.
-
-
-
- Base class for optimized file appenders which require the usage of a mutex.
-
- It is possible to use this class as replacement of BaseFileAppender and the mutex functionality
- is not enforced to the implementing subclasses.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The create parameters.
-
-
-
- Gets the mutually-exclusive lock for archiving files.
-
- The mutex for archiving.
-
-
-
-
-
-
- Creates a mutex that is sharable by more than one process.
-
- The prefix to use for the name of the mutex.
- A object which is sharable by multiple processes.
-
-
-
- Implementation of which caches
- file information.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory class which creates objects.
-
-
-
-
-
-
-
- Maintains a collection of file appenders usually associated with file targets.
-
-
-
-
- An "empty" instance of the class with zero size and empty list of appenders.
-
-
-
-
- Initializes a new "empty" instance of the class with zero size and empty
- list of appenders.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The size of the list should be positive. No validations are performed during initialization as it is an
- internal class.
-
- Total number of appenders allowed in list.
- Factory used to create each appender.
- Parameters used for creating a file.
-
-
-
- The archive file path pattern that is used to detect when archiving occurs.
-
-
-
-
- Invalidates appenders for all files that were archived.
-
-
-
-
- Gets the parameters which will be used for creating a file.
-
-
-
-
- Gets the file appender factory used by all the appenders in this list.
-
-
-
-
- Gets the number of appenders which the list can hold.
-
-
-
-
- Subscribe to background monitoring of active file appenders
-
-
-
-
- It allocates the first slot in the list when the file name does not already in the list and clean up any
- unused slots.
-
- File name associated with a single appender.
- The allocated appender.
-
-
-
- Close all the allocated appenders.
-
-
-
-
- Close the allocated appenders initialized before the supplied time.
-
- The time which prior the appenders considered expired
-
-
-
- Flush all the allocated appenders.
-
-
-
-
- File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file.
-
-
- NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender
-
-
-
-
- Closes the specified appender and removes it from the list.
-
- File name of the appender to be closed.
- File Appender that matched the filePath (null if none found)
-
-
-
- Interface that provides parameters for create file function.
-
-
-
-
- Gets or sets the delay in milliseconds to wait before attempting to write to the file again.
-
-
-
-
- Gets or sets the number of times the write is appended on the file before NLog
- discards the log message.
-
-
-
-
- Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host.
-
-
- This makes multi-process logging possible. NLog uses a special technique
- that lets it keep the files open for writing.
-
-
-
-
- Gets or sets a value indicating whether to create directories if they do not exist.
-
-
- Setting this to false may improve performance a bit, but you'll receive an error
- when attempting to write to a directory that's not present.
-
-
-
-
- Gets or sets a value indicating whether to enable log file(s) to be deleted.
-
-
-
-
- Gets or sets the log file buffer size in bytes.
-
-
-
-
- Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation.
-
-
-
-
- Gets or sets the file attributes (Windows only).
-
-
-
-
- Should archive mutex be created?
-
-
-
-
- Should manual simple detection of file deletion be enabled?
-
-
-
-
- Gets the parameters which will be used for creating a file.
-
-
-
-
- Gets the file appender factory used by all the appenders in this list.
-
-
-
-
- Gets the number of appenders which the list can hold.
-
-
-
-
- Subscribe to background monitoring of active file appenders
-
-
-
-
- It allocates the first slot in the list when the file name does not already in the list and clean up any
- unused slots.
-
- File name associated with a single appender.
- The allocated appender.
-
-
-
- Close all the allocated appenders.
-
-
-
-
- Close the allocated appenders initialized before the supplied time.
-
- The time which prior the appenders considered expired
-
-
-
- Flush all the allocated appenders.
-
-
-
-
- File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file.
-
-
- NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender
-
-
-
-
- Closes the specified appender and removes it from the list.
-
- File name of the appender to be closed.
- File Appender that matched the filePath (null if none found)
-
-
-
- The archive file path pattern that is used to detect when archiving occurs.
-
-
-
-
- Invalidates appenders for all files that were archived.
-
-
-
-
- Interface implemented by all factories capable of creating file appenders.
-
-
-
-
- Opens the appender for given file name and parameters.
-
- Name of the file.
- Creation parameters.
- Instance of which can be used to write to the file.
-
-
-
- Provides a multi process-safe atomic file appends while
- keeping the files open.
-
-
- On Unix you can get all the appends to be atomic, even when multiple
- processes are trying to write to the same file, because setting the file
- pointer to the end of the file and appending can be made one operation.
- On Win32 we need to maintain some synchronization between processes
- (global named mutex is used for this)
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory class.
-
-
-
-
-
-
-
- Appender used to discard data for the FileTarget.
- Used mostly for testing entire stack except the actual writing to disk.
- Throws away all data.
-
-
-
-
- Factory class.
-
-
-
-
-
-
-
- Multi-process and multi-host file appender which attempts
- to get exclusive write access and retries if it's not available.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory class.
-
-
-
-
-
-
-
- Optimized single-process file appender which keeps the file open for exclusive write.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory class.
-
-
-
-
-
-
-
- Provides a multi process-safe atomic file append while
- keeping the files open.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
- Creates or opens a file in a special mode, so that writes are automatically
- as atomic writes at the file end.
- See also "UnixMultiProcessFileAppender" which does a similar job on *nix platforms.
-
- File to create or open
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory class.
-
-
-
-
-
-
-
- A layout that represents a filePath.
-
-
-
-
- Cached directory separator char array to avoid memory allocation on each method call.
-
-
-
-
- Cached invalid file names char array to avoid memory allocation every time Path.GetInvalidFileNameChars() is called.
-
-
-
-
- not null when == false
-
-
-
-
- non null is fixed,
-
-
-
-
- is the cache-key, and when newly rendered filename matches the cache-key,
- then it reuses the cleaned cache-value .
-
-
-
-
- is the cache-value that is reused, when the newly rendered filename
- matches the cache-key
-
-
-
- Initializes a new instance of the class.
-
-
-
- Render the raw filename from Layout
-
- The log event.
- StringBuilder to minimize allocations [optional].
- String representation of a layout.
-
-
-
- Convert the raw filename to a correct filename
-
- The filename generated by Layout.
- String representation of a correct filename.
-
-
-
- Is this (templated/invalid) path an absolute, relative or unknown?
-
-
-
-
- Watches multiple files at the same time and raises an event whenever
- a single change is detected in any of those files.
-
-
-
-
- The types of changes to watch for.
-
-
-
-
- Occurs when a change is detected in one of the monitored files.
-
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Stops watching all files.
-
-
-
-
- Stops watching the specified file.
-
-
-
-
-
- Watches the specified files for changes.
-
- The file names.
-
-
-
- Combine paths
-
- basepath, not null
- optional dir
- optional file
-
-
-
-
- Cached directory separator char array to avoid memory allocation on each method call.
-
-
-
-
- Trims directory separators from the path
-
- path, could be null
- never null
-
-
-
- Convert object to string
-
- value
- format for conversion.
-
-
- If is null and isn't a already, then the will get a locked by
-
-
-
-
- Retrieve network interfaces
-
-
-
-
- Retrieve network interfaces
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
-
-
- Specifies how outgoing email messages will be handled.
-
-
-
-
- Gets or sets the name or IP address of the host used for SMTP transactions.
-
-
-
-
- Gets or sets the port used for SMTP transactions.
-
-
-
-
- Gets or sets a value that specifies the amount of time after which a synchronous Send call times out.
-
-
-
-
- Gets or sets the credentials used to authenticate the sender.
-
-
-
-
- Sends an e-mail message to an SMTP server for delivery. These methods block while the message is being transmitted.
-
-
- System.Net.Mail.MailMessage
- MailMessage
- A MailMessage that contains the message to send.
-
-
-
- Gets or sets the folder where applications save mail messages to be processed by the local SMTP server.
-
-
-
-
- The MessageFormatter delegate
-
-
-
-
- When true: Do not fallback to StringBuilder.Format for positional templates
-
-
-
-
- New formatter
-
-
- When true: Do not fallback to StringBuilder.Format for positional templates
-
-
-
-
- The MessageFormatter delegate
-
-
-
-
-
-
-
- Render a template to a string.
-
- The template.
- Culture.
- Parameters for the holes.
- The String Builder destination.
- Parameters for the holes.
-
-
-
- Detects the platform the NLog is running on.
-
-
-
-
- Gets a value indicating whether current runtime supports use of mutex
-
-
-
-
- Will creating a mutex succeed runtime?
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
- Disabled Error CS0618 'SmtpClient' is obsolete: 'SmtpClient and its network of types are poorly designed,
- we strongly recommend you use https://github.com/jstedfast/MailKit and https://github.com/jstedfast/MimeKit instead'
-
-
-
-
- Retrieve network interfaces
-
-
-
-
- Retrieve network interfaces
-
-
-
-
- Network sender which uses HTTP or HTTPS POST.
-
-
-
-
- Initializes a new instance of the class.
-
- The network URL.
-
-
-
- Creates instances of objects for given URLs.
-
-
-
-
- Creates a new instance of the network sender based on a network URL.
-
- URL that determines the network sender to be created.
- The maximum queue size.
- The overflow action when reaching maximum queue size.
- The maximum message size.
- SSL protocols for TCP
- KeepAliveTime for TCP
-
- A newly created network sender.
-
-
-
-
- Interface for mocking socket calls.
-
-
-
-
- A base class for all network senders. Supports one-way sending of messages
- over various protocols.
-
-
-
-
- Initializes a new instance of the class.
-
- The network URL.
-
-
-
- Gets the address of the network endpoint.
-
-
-
-
- Gets the last send time.
-
-
-
-
- Initializes this network sender.
-
-
-
-
- Closes the sender and releases any unmanaged resources.
-
- The continuation.
-
-
-
- Flushes any pending messages and invokes the on completion.
-
- The continuation.
-
-
-
- Send the given text over the specified protocol.
-
- Bytes to be sent.
- Offset in buffer.
- Number of bytes to send.
- The asynchronous continuation.
-
-
-
- Closes the sender and releases any unmanaged resources.
-
-
-
-
- Initializes resources for the protocol specific implementation.
-
-
-
-
- Closes resources for the protocol specific implementation.
-
- The continuation.
-
-
-
- Performs the flush and invokes the on completion.
-
- The continuation.
-
-
-
- Sends the payload using the protocol specific implementation.
-
- The bytes to be sent.
- Offset in buffer.
- Number of bytes to send.
- The async continuation to be invoked after the buffer has been sent.
-
-
-
- Parses the URI into an IP address.
-
- The URI to parse.
- The address family.
- Parsed endpoint.
-
-
-
- Default implementation of .
-
-
-
-
-
-
-
- A base class for network senders that can block or send out-of-order
-
-
-
-
- Initializes a new instance of the class.
-
- URL. Must start with tcp://.
-
-
-
- Socket proxy for mocking Socket code.
-
-
-
-
- Initializes a new instance of the class.
-
- The address family.
- Type of the socket.
- Type of the protocol.
-
-
-
- Gets underlying socket instance.
-
-
-
-
- Closes the wrapped socket.
-
-
-
-
- Invokes ConnectAsync method on the wrapped socket.
-
- The instance containing the event data.
- Result of original method.
-
-
-
- Invokes SendAsync method on the wrapped socket.
-
- The instance containing the event data.
- Result of original method.
-
-
-
- Invokes SendToAsync method on the wrapped socket.
-
- The instance containing the event data.
- Result of original method.
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Sends messages over a TCP network connection.
-
-
-
-
- Initializes a new instance of the class.
-
- URL. Must start with tcp://.
- The address family.
-
-
-
- Creates the socket with given parameters.
-
- The host address.
- The address family.
- Type of the socket.
- Type of the protocol.
- Instance of which represents the socket.
-
-
-
- Facilitates mocking of class.
-
-
-
-
- Raises the Completed event.
-
-
-
-
- Sends messages over the network as UDP datagrams.
-
-
-
-
- Initializes a new instance of the class.
-
- URL. Must start with udp://.
- The address family.
-
-
-
- Creates the socket.
-
- The IP address.
- Implementation of to use.
-
-
-
- Allocates new builder and appends to the provided target builder on dispose
-
-
-
-
- Access the new builder allocated
-
-
-
-
- Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user)
-
-
-
-
- Controls a single allocated char[]-buffer for reuse (only one active user)
-
-
-
-
- Controls a single allocated StringBuilder for reuse (only one active user)
-
-
-
-
- Controls a single allocated object for reuse (only one active user)
-
-
-
-
- Creates handle to the reusable char[]-buffer for active usage
-
- Handle to the reusable item, that can release it again
-
-
-
- Access the acquired reusable object
-
-
-
-
- Controls a single allocated MemoryStream for reuse (only one active user)
-
-
-
-
- Constructor
-
- Max number of items
- Initial StringBuilder Size
- Max StringBuilder Size
-
-
-
- Takes StringBuilder from pool
-
- Allow return to pool
-
-
-
- Releases StringBuilder back to pool at its right place
-
-
-
-
- Keeps track of acquired pool item
-
-
-
-
- Releases pool item back into pool
-
-
-
-
- Detects the platform the NLog is running on.
-
-
-
-
- Gets the current runtime OS.
-
-
-
-
- Gets a value indicating whether current OS is Win32-based (desktop or mobile).
-
-
-
-
- Gets a value indicating whether current OS is Unix-based.
-
-
-
-
- Gets a value indicating whether current runtime is Mono-based
-
-
-
-
- Scans (breadth-first) the object graph following all the edges whose are
- instances have attached and returns
- all objects implementing a specified interfaces.
-
-
-
-
- Finds the objects which have attached which are reachable
- from any of the given root objects when traversing the object graph over public properties.
-
- Type of the objects to return.
- Configuration Reflection Helper
- Also search the properties of the wanted objects.
- The root objects.
- Ordered list of objects implementing T.
-
-
-
- Object Path to check
-
-
-
-
- Converts object into a List of property-names and -values using reflection
-
-
-
-
- Try get value from , using , and set into
-
-
-
-
- Scans properties for name (Skips string-compare and value-lookup until finding match)
-
-
-
-
- Scans properties for name (Skips property value lookup until finding match)
-
-
-
-
- Scans properties for name
-
-
-
-
- Binder for retrieving value of
-
-
-
-
-
-
-
- Reflection helpers for accessing properties.
-
-
-
-
- Get property info
-
- Configuration Reflection Helper
- object which could have property
- property name on
- result when success.
- success.
-
-
-
- Try parse of string to (Generic) list, comma separated.
-
-
- If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape
-
-
-
-
- Attempt to reuse the HashSet.Comparer from the original HashSet-object (Ex. StringComparer.OrdinalIgnoreCase)
-
-
-
-
- Reflection helpers.
-
-
-
-
- Is this a static class?
-
-
-
- This is a work around, as Type doesn't have this property.
- From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static
-
-
-
-
- Optimized delegate for calling MethodInfo
-
- Object instance, use null for static methods.
- Complete list of parameters that matches the method, including optional/default parameters.
-
-
-
- Optimized delegate for calling a constructor
-
- Complete list of parameters that matches the constructor, including optional/default parameters. Could be null for no parameters.
-
-
-
- Creates an optimized delegate for calling the MethodInfo using Expression-Trees
-
- Method to optimize
- Optimized delegate for invoking the MethodInfo
-
-
-
- Creates an optimized delegate for calling the constructors using Expression-Trees
-
- Constructor to optimize
- Optimized delegate for invoking the constructor
-
-
-
- Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used.
-
-
-
-
- Gets or sets a value indicating whether to match whole words only.
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing texts.
-
-
-
-
- Supported operating systems.
-
-
- If you add anything here, make sure to add the appropriate detection
- code to
-
-
-
-
- Unknown operating system.
-
-
-
-
- Unix/Linux operating systems.
-
-
-
-
- Desktop versions of Windows (95,98,ME).
-
-
-
-
- Windows NT, 2000, 2003 and future versions based on NT technology.
-
-
-
-
- Macintosh Mac OSX
-
-
-
-
- Immutable state that combines ScopeContext MDLC + NDLC for
-
-
-
-
- Immutable state that combines ScopeContext MDLC + NDLC for
-
-
-
-
- Immutable state for ScopeContext Mapped Context (MDLC)
-
-
-
-
- Immutable state for ScopeContext Nested State (NDLC)
-
-
-
-
- Immutable state for ScopeContext Single Property (MDLC)
-
-
-
-
- Immutable state for ScopeContext Multiple Properties (MDLC)
-
-
-
-
- Immutable state for ScopeContext handling legacy MDLC + NDLC operations
-
-
-
-
-
-
-
-
-
-
-
-
-
- Collection of targets that should be written to
-
-
-
-
- Implements a single-call guard around given continuation function.
-
-
-
-
- Initializes a new instance of the class.
-
- The asynchronous continuation.
-
-
-
- Continuation function which implements the single-call guard.
-
- The exception.
-
Utilities for dealing with values.
-
-
- Gets the fully qualified name of the class invoking the calling method, including the
- namespace but not the assembly.
-
-
- Gets the fully qualified name of the class invoking the calling method, including the
+ Gets the fully qualified name of the class invoking the calling method, including the
namespace but not the assembly.
StackFrame from the calling method
@@ -10519,76 +8273,6 @@
Valid class name, or empty string if assembly was internal
-
-
- Stream helpers
-
-
-
-
- Copy to output stream and skip BOM if encoding is UTF8
-
-
-
-
-
-
-
- Copy stream input to output. Skip the first bytes
-
- stream to read from
- stream to write to
- .net35 doesn't have a .copyto
-
-
-
- Copy stream input to output. Skip the first bytes
-
- stream to read from
- stream to write to
- first bytes to skip (optional)
-
-
-
- Simple character tokenizer.
-
-
-
-
- Initializes a new instance of the class.
-
- The text to be tokenized.
-
-
-
- Current position in
-
-
-
-
- Full text to be parsed
-
-
-
-
- Check current char while not changing the position.
-
-
-
-
-
- Read the current char and change position
-
-
-
-
-
- Get the substring of the
-
-
-
-
-
Helpers for , which is used in e.g. layout renderers.
@@ -10612,15 +8296,15 @@
value to append
-
- Appends uint without using culture, and most importantly without garbage
+
+ Appends uint without using culture, and most importantly without garbage
- Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/
-
-
- value to append
+ Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/
+
+
+ value to append
-
+
Convert DateTime into UTC and format to yyyy-MM-ddTHH:mm:ss.fffffffZ - ISO 8601 Compliant Date Format (Round-Trip-Time)
@@ -10672,13 +8356,13 @@
Correct implementation of that also works when is not the same
- True when content is the same
+ when content is the same
Compares the contents of a StringBuilder and a String
- True when content is the same
+ when content is the same
@@ -10699,6 +8383,35 @@
Append a numeric type (byte, int, double, decimal) as string
+
+
+ Constructor
+
+ Max number of items
+ Initial StringBuilder Size
+ Max StringBuilder Size
+
+
+
+ Takes StringBuilder from pool
+
+ Allow return to pool
+
+
+
+ Releases StringBuilder back to pool at its right place
+
+
+
+
+ Keeps track of acquired pool item
+
+
+
+
+ Releases pool item back into pool
+
+
Helpers for .
@@ -10711,14 +8424,10 @@
-
+
Replace string with
-
-
-
-
The same reference of nothing has been replaced.
@@ -10802,25 +8511,6 @@
Default action if none of the filters match.
-
-
- Serves as a hash function for a particular type.
-
-
-
-
- Determines if two objects are equal in value.
-
- Other object to compare to.
- True if objects are equal, false otherwise.
-
-
-
- Determines if two objects of the same type are equal in value.
-
- Other object to compare to.
- True if objects are equal, false otherwise.
-
Wraps with a timeout.
@@ -10892,24 +8582,6 @@
-
-
- Prevents the Xamarin linker from linking the target.
-
-
- By applying this attribute all of the members of the target will be kept as if they had been referenced by the code.
-
-
-
-
- Ensures that all members of this type are preserved
-
-
-
-
- Flags the method as a method to preserve during linking if the container class is pulled in.
-
-
Helper class for XML
@@ -10949,15 +8621,10 @@
Object value
Object value converted to string
-
+
- XML elements must follow these naming rules:
- - Element names are case-sensitive
- - Element names must start with a letter or underscore
- - Element names can contain letters, digits, hyphens, underscores, and periods
- - Element names cannot contain spaces
+ Converts DateTime to ISO 8601 format in UTC timezone.
-
@@ -10968,30 +8635,54 @@
Check and remove unusual unicode characters from the result string.
Object value converted to string
-
+
- Safe version of WriteAttributeString
+ XML elements must follow these naming rules:
+ - Element names are case-sensitive
+ - Element names must start with a letter or underscore
+ - Element names can contain letters, digits, hyphens, underscores, and periods
+ - Element names cannot contain spaces
-
-
-
+
-
+
- Safe version of WriteElementSafeString
+ A minimal XML reader, because .NET System.Xml.XmlReader doesn't work with AOT
-
-
-
-
-
-
+
- Safe version of WriteCData
+ Reads a start element.
-
-
+ if start element was found.
+ Something unexpected has failed.
+
+
+
+ Skips an end element.
+
+ The name of the element to skip.
+ if an end element was skipped; otherwise, .
+ Something unexpected has failed.
+
+
+
+ Reads content of an element.
+
+ The content of the element.
+ Something unexpected has failed.
+
+
+ Something unexpected has failed.
+
+
+
+ Consumer of this method should handle safe position.
+
+ Something unexpected has failed.
+
+
+ Something unexpected has failed.
@@ -11006,6 +8697,174 @@
Null if unknown object, or object cannot be handled
+
+
+ Obsolete and replaced by with NLog v5.3.
+
+ Provides an interface to execute System.Actions without surfacing any exceptions raised for that action.
+
+
+
+
+ Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
+
+ Action to execute.
+
+
+
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Result returned by the provided function or the default value of type in case of exception.
+
+
+
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Fallback value to return in case of exception.
+ Result returned by the provided function or fallback value in case of exception.
+
+
+
+ Logs an exception is logged at Error level if the provided task does not run to completion.
+
+ The task for which to log an error if it does not run to completion.
+ This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations.
+
+
+
+ Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion.
+
+ The task for which to log an error if it does not run to completion.
+ A task that completes in the state when completes.
+
+
+
+ Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
+
+ Async action to execute.
+ A task that completes in the state when completes.
+
+
+
+ Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
+
+ Return type of the provided function.
+ Async function to run.
+ A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type .
+
+
+
+ Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
+
+ Return type of the provided function.
+ Async function to run.
+ Fallback value to return if the task does not end in the state.
+ A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value.
+
+
+
+ Render a message template property to a string
+
+
+
+
+ Serialization of an object, e.g. JSON and append to
+
+ The object to serialize to string.
+ Parameter Format
+ Parameter CaptureType
+ An object that supplies culture-specific formatting information.
+ Output destination.
+ Serialize succeeded (true/false)
+
+
+
+ Log event context data.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets string that will be used to separate key/value pairs.
+
+ Default: ,
+
+
+
+
+ Gets or sets whether empty property-values should be included in the output.
+
+ Default: . Empty value is either null or empty string
+
+
+
+
+ Gets or sets whether to include the contents of the properties-dictionary.
+
+ Default:
+
+
+
+
+ Gets or sets the keys to exclude from the output. If omitted, none are excluded.
+
+
+
+
+
+ Disables to capture ScopeContext-properties from active thread context
+
+
+
+
+ Gets or sets how key/value pairs will be formatted.
+
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ Designates a property of the class as an ambient property.
+
+
+ non-ambient: ${uppercase:${level}}
+ ambient : ${level:uppercase}
+
+
+
+
+ Initializes a new instance of the class.
+
+ Ambient property name.
+
Used to render the application domain name.
@@ -11027,10 +8886,16 @@
- Format string. Possible values: "Short", "Long" or custom like {0} {1}. Default "Long"
- The first parameter is the AppDomain.Id, the second the second the AppDomain.FriendlyName
- This string is used in
+ Gets or sets format-string for displaying details.
+ This string is used in where
+ first parameter is and second is
+
+ Default: Long . How alias names are mapped:
+ Short = {0:00}
+ Long = {0:0000}:{1}
+ Friendly = {1}
+
@@ -11058,12 +8923,13 @@
The AppSetting item-name
+ [Required] Default:
Obsolete and replaced by with NLog v4.6.
-
+
The AppSetting item-name
@@ -11071,6 +8937,7 @@
The default value to render if the AppSetting value is null.
+ Default:
@@ -11096,22 +8963,21 @@
The (full) name of the assembly. If null, using the entry assembly.
+ Default:
Gets or sets the type of assembly version to retrieve.
-
- Some version type and platform combinations are not fully supported.
- - UWP earlier than .NET Standard 1.5: Value for is always returned unless the parameter is specified.
-
+ Default:
The default value to render if the Version is not available
+ Default:
@@ -11119,19 +8985,14 @@
Gets or sets the custom format of the assembly version output.
- Supported placeholders are 'major', 'minor', 'build' and 'revision'.
- The default .NET template for version numbers is 'major.minor.build.revision'. See
- https://docs.microsoft.com/en-gb/dotnet/api/system.version?view=netframework-4.7.2#remarks
- for details.
+ Default: major.minor.build.revision .
+ Supported placeholders are 'major', 'minor', 'build' and 'revision'. For more details
-
-
-
@@ -11160,6 +9021,349 @@
Gets the product version, extracted from the additional version information.
+
+
+ The current application domain's base directory.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Use base dir of current process. Alternative one can just use ${processdir}
+
+ Default:
+
+
+
+
+ Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish)
+
+ Default:
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the name of the file to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+ Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ The call site source file name. Full callsite
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating whether to include source file path.
+
+ Default:
+
+
+
+
+ Gets or sets the number of frames to skip.
+
+ Default:
+
+
+
+
+ Logger should capture StackTrace, if it was not provided manually
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ The call site (class name, method name and source information).
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating whether to render the class name.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to render the include the namespace with .
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to render the method name.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation
+ (everything after an await-statement inside of an async method).
+
+ Default:
+
+
+
+
+ Gets or sets the number of frames to skip.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to render the source file name and line number.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to include source file path.
+
+ Default:
+
+
+
+
+ Logger should capture StackTrace, if it was not provided manually
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ The call site source line number. Full callsite
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the number of frames to skip.
+
+ Default:
+
+
+
+
+ Logger should capture StackTrace, if it was not provided manually
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ A counter value (increases on each layout rendering).
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the initial value of the counter.
+
+ Default:
+
+
+
+
+ Gets or sets the value for incrementing the counter for every layout rendering.
+
+ Default:
+
+
+
+
+ Gets or sets the name of the sequence. Different named sequences can have individual values.
+
+ Default:
+
+
+
+
+
+
+
+ The current working directory of the application.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the file to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+ Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+
+
+
+ Current date and time.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+ Default:
+
+
+
+
+ Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format).
+
+ Default: yyyy/MM/dd HH:mm:ss.fff
+
+
+
+
+ Gets or sets a value indicating whether to output UTC time instead of local time.
+
+ Default:
+
+
+
+
+
+
+
+ DB null for a database
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+
+
+
+ The OS dependent directory separator
+
+
+
+
+
+
+
+ The environment variable.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the environment variable.
+
+ [Required] Default:
+
+
+
+
+ Gets or sets the default value to be used when the environment variable is not set.
+
+ Default:
+
+
+
+
+
+
+
+
Thread identity information (username).
@@ -11173,18 +9377,21 @@
Gets or sets a value indicating whether username should be included.
+ Default:
Gets or sets a value indicating whether domain name should be included.
+ Default:
Gets or sets the default value to be used when the User is not set.
+ Default: UserUnknown
@@ -11192,10 +9399,339 @@
Gets or sets the default value to be used when the Domain is not set.
+ Default: DomainUnknown
+
+
+ Log event context data. See .
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the item.
+
+ [Required] Default:
+
+
+
+
+ Format string for conversion from object to string.
+
+ Default:
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+ Default:
+
+
+
+
+ Gets or sets the object-property-navigation-path for lookup of nested property
+
+ Default:
+
+
+
+
+ Gets or sets whether to perform case-sensitive property-name lookup
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ Render information of
+ for the exception passed to the logger call
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the key to search the exception Data for
+
+ [Required] Default:
+
+
+
+
+ Gets or sets whether to render innermost Exception from
+
+ Default:
+
+
+
+
+ Format string for conversion from object to string.
+
+ Default:
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ Exception information provided through
+ a call to one of the Logger.*Exception() methods.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the format of the output. Must be a comma-separated list of exception
+ properties: Message, Type, ShortType, ToString, Method, StackTrace.
+ This parameter value is case-insensitive.
+
+ [Required] Default: ToString,Data
+
+
+
+
+ Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception
+ properties: Message, Type, ShortType, ToString, Method, StackTrace.
+ This parameter value is case-insensitive.
+
+ Default:
+
+
+
+
+ Gets or sets the separator used to concatenate parts specified in the Format.
+
+ Default:
+
+
+
+
+ Gets or sets the separator used to concatenate exception data specified in the Format.
+
+ Default: ;
+
+
+
+
+ Gets or sets the maximum number of inner exceptions to include in the output.
+ By default inner exceptions are not enabled for compatibility with NLog 1.0.
+
+ Default:
+
+
+
+
+ Gets or sets the separator between inner exceptions.
+
+ Default:
+
+
+
+
+ Gets or sets whether to render innermost Exception from
+
+ Default:
+
+
+
+
+ Gets or sets whether to collapse exception tree using
+
+ Default:
+
+
+
+
+ Gets the formats of the output of inner exceptions to be rendered in target.
+
+
+
+
+
+
+
+
+
+
+
+ Appends the Message of an Exception to the specified .
+
+ The to append the rendered data to.
+ The exception containing the Message to append.
+
+
+
+ Appends the method name from Exception's stack trace to the specified .
+
+ The to append the rendered data to.
+ The Exception whose method name should be appended.
+
+
+
+ Appends the stack trace from an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose stack trace should be appended.
+
+
+
+ Appends the result of calling ToString() on an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose call to ToString() should be appended.
+
+
+
+ Appends the type of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose type should be appended.
+
+
+
+ Appends the short type of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose short type should be appended.
+
+
+
+ Appends the application source of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose source should be appended.
+
+
+
+ Appends the HResult of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose HResult should be appended.
+
+
+
+ Appends the contents of an Exception's Data property to the specified .
+
+ The to append the rendered data to.
+ The Exception whose Data property elements should be appended.
+
+
+
+ Appends all the serialized properties of an Exception into the specified .
+
+ The to append the rendered data to.
+ The Exception whose properties should be appended.
+
+
+
+ Appends all the additional properties of an Exception like Data key-value-pairs
+
+ The to append the rendered data to.
+ The Exception whose properties should be appended.
+
+
+
+ Split the string and then compile into list of Rendering formats.
+
+
+
+
+ A layout renderer which could have different behavior per instance by using a .
+
+
+
+
+ Initializes a new instance of the class.
+
+ Name without ${}.
+
+
+
+ Initializes a new instance of the class.
+
+ Name without ${}.
+ Method that renders the layout.
+
+
+
+ Name used in config without ${}. E.g. "test" could be used as "${test}".
+
+
+
+
+ Method that renders the layout.
+
+
+
+
+ Format string for conversion from object to string.
+
+ Default:
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+ Default:
+
+
+
+
+
+
+
+ Render the value for this log event
+
+ The logging event.
+ The value.
+
+
+
+ A layout renderer which could have different behavior per instance by using a .
+
+
+
+
+ Initializes a new instance of the class.
+
+ Name without ${}.
+ Method that renders the layout.
+
The information about the garbage collector.
@@ -11209,6 +9745,7 @@
Gets or sets the property to retrieve.
+ Default:
@@ -11249,6 +9786,581 @@
Maximum generation number supported by GC.
+
+
+ Render a Global Diagnostics Context item. See
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the item.
+
+ [Required] Default:
+
+
+
+
+ Format string for conversion from object to string.
+
+ Default:
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ Globally-unique identifier (GUID).
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the GUID format as accepted by Guid.ToString() method.
+
+ Default: N
+
+
+
+
+ Generate the Guid from the NLog LogEvent (Will be the same for all targets)
+
+ Default:
+
+
+
+
+
+
+
+ The host name that the process is running on.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+
+
+
+ Resolves the hostname from environment-variables with fallback to
+
+
+
+
+ Tries the lookup value.
+
+ The lookup function.
+ Type of the lookup.
+
+
+
+
+
+
+
+ Thread identity information (name and authentication information).
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the separator to be used when concatenating
+ parts of identity information.
+
+ Default: :
+
+
+
+
+ Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.Name.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.AuthenticationType.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.IsAuthenticated.
+
+ Default:
+
+
+
+
+
+
+
+ Lookup parameter value from
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the parameter.
+
+ [Required] Default:
+
+
+
+
+
+
+
+ Render environmental information related to logging events.
+
+
+
+
+ Gets the logging configuration this target is part of.
+
+
+
+
+ Value formatter
+
+
+
+
+
+
+
+ Renders the value of layout renderer in the context of the specified log event.
+
+ The log event.
+ String representation of a layout renderer.
+
+
+
+
+
+
+
+
+
+ Initializes this instance.
+
+ The configuration.
+
+
+
+ Closes this instance.
+
+
+
+
+ Renders the value of layout renderer in the context of the specified log event.
+
+ The log event.
+ The layout render output is appended to builder
+
+
+
+ Renders the value of layout renderer in the context of the specified log event into .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Initializes the layout renderer.
+
+
+
+
+ Closes the layout renderer.
+
+
+
+
+ Get the for rendering the messages to a
+
+ LogEvent with culture
+ Culture in on Layout level
+
+
+
+
+ Get the for rendering the messages to a
+
+ LogEvent with culture
+ Culture in on Layout level
+
+
+ is preferred
+
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Register a custom layout renderer.
+
+ Short-cut for registering to default
+ Type of the layout renderer.
+ The layout-renderer type-alias for use in NLog configuration - without '${ }'
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Register a custom layout renderer.
+
+ Short-cut for registering to default
+ Type of the layout renderer.
+ The layout-renderer type-alias for use in NLog configuration - without '${ }'
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Register a custom layout renderer with a callback function . The callback receives the logEvent.
+
+ The layout-renderer type-alias for use in NLog configuration - without '${ }'
+ Callback that returns the value for the layout renderer.
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration.
+
+ The layout-renderer type-alias for use in NLog configuration - without '${ }'
+ Callback that returns the value for the layout renderer.
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration.
+
+ Renderer with callback func
+
+
+
+ Resolves the interface service-type from the service-repository
+
+
+
+
+ Marks class as layout-renderer and attaches a type-alias name for use in NLog configuration.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The layout-renderer type-alias for use in NLog configuration - without '${ }'
+
+
+
+ Format of the ${level} layout renderer output.
+
+
+
+
+ Render the LogLevel standard name.
+
+
+
+
+ Render the first character of the level.
+
+
+
+
+ Render the first character of the level.
+
+
+
+
+ Render the ordinal (aka number) for the level.
+
+
+
+
+ Render the LogLevel full name, expanding Warn / Info abbreviations
+
+
+
+
+ Render the LogLevel as 3 letter abbreviations (Trc, Dbg, Inf, Wrn, Err, Ftl)
+
+
+
+
+ The log level.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating the output format of the level.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether upper case conversion should be applied.
+
+ Default:
+
+
+
+
+
+
+
+ A string literal.
+
+
+ This is used to escape '${' sequence
+ as ;${literal:text=${}'
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The literal text value.
+ This is used by the layout compiler.
+
+
+
+ Gets or sets the literal text.
+
+
+
+
+
+
+
+
+ A string literal with a fixed raw value
+
+
+
+
+ Initializes a new instance of the class.
+
+ The literal text value.
+
+ Fixed raw value
+ This is used by the layout compiler.
+
+
+
+ The logger name.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki///
+
+
+
+ Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character).
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to render prefix of logger name (the part before the trailing dot character).
+
+ Default:
+
+
+
+
+
+
+
+ The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating whether to output UTC time instead of local time.
+
+ Default:
+
+
+
+
+
+
+
+ The machine name that the process is running on.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+
+
+
+
+
+
+ The formatted log message.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating whether to log exception along with message.
+
+ Default:
+
+
+
+
+ Gets or sets the string that separates message from the exception.
+
+ Default: |
+
+
+
+
+ Gets or sets whether it should render the raw message without formatting parameters
+
+ Default:
+
+
+
+
+
+
+
+ A newline literal.
+
+
+
+
+
+
+
+ The directory where NLog.dll is located.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the file to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+ Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+ The executable directory from the FileName,
+ using the current process
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the file to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+ Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
+
+ Default:
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+
+
+
+
The identifier of the current process.
@@ -11284,18 +10396,22 @@
Gets or sets the property to retrieve.
+ Default:
- Gets or sets the format-string to use if the property supports it (Ex. DateTime / TimeSpan / Enum)
+ Gets or sets the format string used when converting the property value to a string, when the
+ property supports formatting (e.g., , , or enum types).
-
+ Default:
+
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
+ Default:
@@ -11520,6 +10636,7 @@
Gets or sets a value indicating whether to write the full path to the process executable.
+ Default:
@@ -11535,524 +10652,36 @@
-
+
- Designates a property of the class as an ambient property.
-
-
- non-ambient: ${uppercase:${level}}
- ambient : ${level:uppercase}
-
-
-
-
- Initializes a new instance of the class.
-
- Ambient property name.
-
-
-
- Marks class as layout-renderer and attaches a type-alias name for use in NLog configuration.
-
-
-
-
- Initializes a new instance of the class.
-
- The layout-renderer type-alias for use in NLog configuration - without '${ }'
-
-
-
- The call site source file name. Full callsite
+ The process time in format HH:mm:ss.mmm.
- See NLog Wiki
+ See NLog Wiki
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
-
+
- Gets or sets a value indicating whether to include source file path.
-
-
-
-
-
- Gets or sets the number of frames to skip.
-
-
-
-
-
- Logger should capture StackTrace, if it was not provided manually
-
-
-
-
-
-
-
-
-
-
-
- The call site (class name, method name and source information).
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating whether to render the class name.
-
-
-
-
-
- Gets or sets a value indicating whether to render the include the namespace with .
-
-
-
-
-
- Gets or sets a value indicating whether to render the method name.
-
-
-
-
-
- Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate.
-
-
-
-
-
- Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation
- (everything after an await-statement inside of an async method).
-
-
-
-
-
- Gets or sets the number of frames to skip.
-
-
-
-
-
- Gets or sets a value indicating whether to render the source file name and line number.
-
-
-
-
-
- Gets or sets a value indicating whether to include source file path.
-
-
-
-
-
- Logger should capture StackTrace, if it was not provided manually
-
-
-
-
-
-
-
-
-
-
-
- The call site source line number. Full callsite
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the number of frames to skip.
-
-
-
-
-
- Logger should capture StackTrace, if it was not provided manually
-
-
-
-
-
-
-
-
-
-
-
- Format of the ${stacktrace} layout renderer output.
-
-
-
-
- Raw format (multiline - as returned by StackFrame.ToString() method).
-
-
-
-
- Flat format (class and method names displayed in a single line).
-
-
-
-
- Detailed flat format (method signatures displayed in a single line).
-
-
-
-
- Stack trace renderer.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the output format of the stack trace.
-
-
-
-
-
- Gets or sets the number of top stack frames to be rendered.
-
-
-
-
-
- Gets or sets the number of frames to skip.
-
-
-
-
-
- Gets or sets the stack frame separator string.
-
-
-
-
-
- Logger should capture StackTrace, if it was not provided manually
-
-
-
-
-
- Gets or sets whether to render StackFrames in reverse order
-
-
-
-
-
-
-
-
-
-
-
- Log event context data.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets string that will be used to separate key/value pairs.
-
-
-
-
-
- Get or set if empty values should be included.
-
- A value is empty when null or in case of a string, null or empty string.
-
-
-
-
-
- Gets or sets whether to include the contents of the properties-dictionary.
-
-
-
-
-
- Gets or sets the keys to exclude from the output. If omitted, none are excluded.
-
-
-
-
-
- Enables capture of ScopeContext-properties from active thread context
-
-
-
-
- Gets or sets how key/value pairs will be formatted.
-
-
-
-
-
- Gets or sets the culture used for rendering.
+ Gets or sets a value indicating whether to output in culture invariant format
+ Default:
-
-
-
-
+
- Log event context data. See .
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
+ Default:
-
-
- Gets or sets the object-property-navigation-path for lookup of nested property
-
-
-
-
-
- Gets or sets whether to perform case-sensitive property-name lookup
-
-
-
+
-
+
- Render a Global Diagnostics Context item. See
+ Write timestamp to builder with format hh:mm:ss:fff
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
-
-
-
- Lookup parameter value from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the parameter.
-
-
-
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Render Mapped Diagnostics Logical (MDC) from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Render Mapped Diagnostics Logical Context (MDLC) from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Render Nested Diagnostic Context (NDC) from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the number of top stack frames to be rendered.
-
-
-
-
-
- Gets or sets the number of bottom stack frames to be rendered.
-
-
-
-
-
- Gets or sets the separator to be used for concatenating nested diagnostics context output.
-
-
-
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Render Nested Diagnostic Context (NDLC) from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the number of top stack frames to be rendered.
-
-
-
-
-
- Gets or sets the number of bottom stack frames to be rendered.
-
-
-
-
-
- Gets or sets the separator to be used for concatenating nested logical context output.
-
-
-
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Render Nested Diagnostic Context (NDLC) timings from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets whether to only include the duration of the last scope created
-
-
-
-
-
- Gets or sets whether to just display the scope creation time, and not the duration
-
-
-
-
-
- Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format).
-
-
-
-
-
@@ -12067,6 +10696,7 @@
Gets or sets the indent token.
+ Default:
@@ -12085,32 +10715,40 @@
Gets or sets the number of top stack frames to be rendered.
+ Default:
Gets or sets the number of bottom stack frames to be rendered.
+ Default:
Gets or sets the separator to be used for concatenating nested logical context output.
+ Default:
Gets or sets how to format each nested state. Ex. like JSON = @
+ Default:
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
+ Default:
+
+
+
@@ -12127,20 +10765,26 @@
Gets or sets the name of the item.
+ [Required] Default:
Format string for conversion from object to string.
+ Default:
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
+ Default:
+
+
+
@@ -12157,191 +10801,56 @@
Gets or sets whether to only include the duration of the last scope created
+ Default:
Gets or sets whether to just display the scope creation time, and not the duration
+ Default:
+
+
+
+
+ Gets or sets whether to just display the scope creation time, and not the duration
+
+ Default:
-
- Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format).
+
+ Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format).
- When Format has not been specified, then it will render TimeSpan.TotalMilliseconds
-
-
+ When Format has not been specified, then it will render TimeSpan.TotalMilliseconds
+
+ Default:
+
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
-
+ Default:
+
-
-
- A renderer that puts into log a System.Diagnostics trace correlation id.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
-
-
-
- A counter value (increases on each layout rendering).
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the initial value of the counter.
-
-
-
-
-
- Gets or sets the value to be added to the counter after each layout rendering.
-
-
-
-
-
- Gets or sets the name of the sequence. Different named sequences can have individual values.
-
-
-
-
-
-
-
-
- Globally-unique identifier (GUID).
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the GUID format as accepted by Guid.ToString() method.
-
-
-
-
-
- Generate the Guid from the NLog LogEvent (Will be the same for all targets)
-
-
-
-
-
-
-
- The sequence ID
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
+
+ The sequence ID
+
+ Marked obsolete with NLog 6.0, instead use ${counter}
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
-
-
- Current date and time.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
- Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format).
-
-
-
-
-
- Gets or sets a value indicating whether to output UTC time instead of local time.
-
-
-
-
-
-
-
-
- The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating whether to output UTC time instead of local time.
-
-
-
-
-
-
-
-
- The process time in format HH:mm:ss.mmm.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating whether to output in culture invariant format
-
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
-
-
-
- Write timestamp to builder with format hh:mm:ss:fff
-
-
The short date in a sortable format yyyy-MM-dd.
@@ -12355,205 +10864,12 @@
Gets or sets a value indicating whether to output UTC time instead of local time.
+ Default:
-
-
- The Ticks value of current date and time.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
-
-
-
- The time in a 24-hour, sortable format HH:mm:ss.mmmm.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating whether to output UTC time instead of local time.
-
-
-
-
-
- Gets or sets a value indicating whether to output in culture invariant format
-
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
-
-
-
- DB null for a database
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
-
-
-
- The current application domain's base directory.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- cached
-
-
-
-
- Use base dir of current process. Alternative one can just use ${processdir}
-
-
-
-
-
- Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish)
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the name of the file to be Path.Combine()'d with the base directory.
-
-
-
-
-
- Gets or sets the name of the directory to be Path.Combine()'d with the base directory.
-
-
-
-
-
-
-
-
- The current working directory of the application.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the file to be Path.Combine()'d with the current directory.
-
-
-
-
-
- Gets or sets the name of the directory to be Path.Combine()'d with the current directory.
-
-
-
-
-
-
-
-
- The directory where NLog.dll is located.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the file to be Path.Combine()'d with the directory name.
-
-
-
-
-
- Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The executable directory from the FileName,
- using the current process
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the file to be Path.Combine()'d with the process directory.
-
-
-
-
-
- Gets or sets the name of the directory to be Path.Combine()'d with the process directory.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
-
System special folder path from
@@ -12606,13 +10922,15 @@
Gets or sets the name of the file to be Path.Combine()'d with the directory name.
-
+ Default:
+
Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
-
+ Default:
+
@@ -12627,6 +10945,86 @@
Initializes a new instance of the class.
+
+
+ Format of the ${stacktrace} layout renderer output.
+
+
+
+
+ Raw format (multiline - as returned by StackFrame.ToString() method).
+
+
+
+
+ Flat format (class and method names displayed in a single line).
+
+
+
+
+ Detailed flat format (method signatures displayed in a single line).
+
+
+
+
+ Stack trace renderer.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the output format of the stack trace.
+
+ Default:
+
+
+
+
+ Gets or sets the number of top stack frames to be rendered.
+
+ Default:
+
+
+
+
+ Gets or sets the number of frames to skip.
+
+ Default:
+
+
+
+
+ Gets or sets the stack frame separator string.
+
+ Default: =>
+
+
+
+
+ Logger should capture StackTrace, if it was not provided manually
+
+ Default:
+
+
+
+
+ Gets or sets whether to render StackFrames in reverse order
+
+ Default:
+
+
+
+
+
+
+
+
+
+
+
A temporary directory.
@@ -12640,12 +11038,14 @@
Gets or sets the name of the file to be Path.Combine()'d with the directory name.
+ Default:
Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
+ Default:
@@ -12654,903 +11054,6 @@
-
-
- The OS dependent directory separator
-
-
-
-
-
-
-
- Render information of
- for the exception passed to the logger call
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the key to search the exception Data for
-
-
-
-
-
- Gets or sets whether to render innermost Exception from
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
-
-
-
- Exception information provided through
- a call to one of the Logger.*Exception() methods.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the format of the output. Must be a comma-separated list of exception
- properties: Message, Type, ShortType, ToString, Method, StackTrace.
- This parameter value is case-insensitive.
-
-
-
-
-
-
-
- Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception
- properties: Message, Type, ShortType, ToString, Method, StackTrace.
- This parameter value is case-insensitive.
-
-
-
-
-
- Gets or sets the separator used to concatenate parts specified in the Format.
-
-
-
-
-
- Gets or sets the separator used to concatenate exception data specified in the Format.
-
-
-
-
-
- Gets or sets the maximum number of inner exceptions to include in the output.
- By default inner exceptions are not enabled for compatibility with NLog 1.0.
-
-
-
-
-
- Gets or sets the separator between inner exceptions.
-
-
-
-
-
- Gets or sets whether to render innermost Exception from
-
-
-
-
-
- Gets or sets whether to collapse exception tree using
-
-
-
-
-
- Gets the formats of the output of inner exceptions to be rendered in target.
-
-
-
-
-
- Gets the formats of the output to be rendered in target.
-
-
-
-
-
-
-
-
- Appends the Message of an Exception to the specified .
-
- The to append the rendered data to.
- The exception containing the Message to append.
-
-
-
- Appends the method name from Exception's stack trace to the specified .
-
- The to append the rendered data to.
- The Exception whose method name should be appended.
-
-
-
- Appends the stack trace from an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose stack trace should be appended.
-
-
-
- Appends the result of calling ToString() on an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose call to ToString() should be appended.
-
-
-
- Appends the type of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose type should be appended.
-
-
-
- Appends the short type of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose short type should be appended.
-
-
-
- Appends the application source of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose source should be appended.
-
-
-
- Appends the HResult of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose HResult should be appended.
-
-
-
- Appends the contents of an Exception's Data property to the specified .
-
- The to append the rendered data to.
- The Exception whose Data property elements should be appended.
-
-
-
- Appends all the serialized properties of an Exception into the specified .
-
- The to append the rendered data to.
- The Exception whose properties should be appended.
-
-
-
- Appends all the additional properties of an Exception like Data key-value-pairs
-
- The to append the rendered data to.
- The Exception whose properties should be appended.
-
-
-
- Split the string and then compile into list of Rendering formats.
-
-
-
-
- Renders contents of the specified file.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the name of the file.
-
-
-
-
-
- Gets or sets the encoding used in the file.
-
- The encoding.
-
-
-
-
-
-
-
- A layout renderer which could have different behavior per instance by using a .
-
-
-
-
- Initializes a new instance of the class.
-
- Name without ${}.
-
-
-
- Initializes a new instance of the class.
-
- Name without ${}.
- Method that renders the layout.
-
-
-
- Name used in config without ${}. E.g. "test" could be used as "${test}".
-
-
-
-
- Method that renders the layout.
-
- This public property will be removed in NLog 5.
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
-
-
-
- Render the value for this log event
-
- The logging event.
- The value.
-
-
-
- A layout renderer which could have different behavior per instance by using a .
-
-
-
-
- Initializes a new instance of the class.
-
- Name without ${}.
- Method that renders the layout.
-
-
-
- Thread identity information (name and authentication information).
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the separator to be used when concatenating
- parts of identity information.
-
-
-
-
-
- Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.Name.
-
-
-
-
-
- Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.AuthenticationType.
-
-
-
-
-
- Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.IsAuthenticated.
-
-
-
-
-
-
-
-
- Render environmental information related to logging events.
-
-
-
-
- Gets the logging configuration this target is part of.
-
-
-
-
- Value formatter
-
-
-
-
-
-
-
- Renders the value of layout renderer in the context of the specified log event.
-
- The log event.
- String representation of a layout renderer.
-
-
-
-
-
-
-
-
-
- Initializes this instance.
-
- The configuration.
-
-
-
- Closes this instance.
-
-
-
-
- Renders the value of layout renderer in the context of the specified log event.
-
- The log event.
- The layout render output is appended to builder
-
-
-
- Renders the value of layout renderer in the context of the specified log event into .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Initializes the layout renderer.
-
-
-
-
- Closes the layout renderer.
-
-
-
-
- Get the for rendering the messages to a
-
- LogEvent with culture
- Culture in on Layout level
-
-
-
-
- Get the for rendering the messages to a
-
- LogEvent with culture
- Culture in on Layout level
-
-
- is preferred
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Register a custom layout renderer.
-
- Short-cut for registering to default
- Type of the layout renderer.
- The layout-renderer type-alias for use in NLog configuration - without '${ }'
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Register a custom layout renderer.
-
- Short-cut for registering to default
- Type of the layout renderer.
- The layout-renderer type-alias for use in NLog configuration - without '${ }'
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Register a custom layout renderer with a callback function . The callback receives the logEvent.
-
- The layout-renderer type-alias for use in NLog configuration - without '${ }'
- Callback that returns the value for the layout renderer.
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration.
-
- The layout-renderer type-alias for use in NLog configuration - without '${ }'
- Callback that returns the value for the layout renderer.
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration.
-
- Renderer with callback func
-
-
-
- Resolves the interface service-type from the service-repository
-
-
-
-
- Format of the ${level} layout renderer output.
-
-
-
-
- Render the LogLevel standard name.
-
-
-
-
- Render the first character of the level.
-
-
-
-
- Render the first character of the level.
-
-
-
-
- Render the ordinal (aka number) for the level.
-
-
-
-
- Render the LogLevel full name, expanding Warn / Info abbreviations
-
-
-
-
- Render the LogLevel as 3 letter abbreviations (Trc, Dbg, Inf, Wrn, Err, Ftl)
-
-
-
-
- The log level.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating the output format of the level.
-
-
-
-
-
- Gets or sets a value indicating whether upper case conversion should be applied.
-
- A value of true if upper case conversion should be applied otherwise, false.
-
-
-
-
-
-
-
- A string literal.
-
-
- This is used to escape '${' sequence
- as ;${literal:text=${}'
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The literal text value.
- This is used by the layout compiler.
-
-
-
- Gets or sets the literal text.
-
-
-
-
-
-
-
-
- A string literal with a fixed raw value
-
-
-
-
- Initializes a new instance of the class.
-
- The literal text value.
-
- Fixed raw value
- This is used by the layout compiler.
-
-
-
- XML event description compatible with log4j, Chainsaw and NLogViewer.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
-
-
-
- Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema.
-
-
-
-
-
- Gets or sets a value indicating whether the XML should use spaces for indentation.
-
-
-
-
-
- Gets or sets the log4j:event logger-xml-attribute. Default: ${logger}
-
-
-
-
-
- Gets or sets the log4j:event message-xml-element. Default: ${message}
-
-
-
-
-
- Gets or sets the log4j:event log4japp-xml-element. By default it's the friendly name of the current AppDomain.
-
-
-
-
-
- Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network.
-
-
-
-
-
- Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the stack.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets whether to include the contents of the properties-dictionary.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets the stack separator for log4j:NDC in output from nested context.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets the stack separator for log4j:NDC in output from nested context.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets the stack separator for log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets whether the log4j:throwable xml-element should be written as CDATA
-
-
-
-
-
-
-
-
-
-
-
- The logger name.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki///
-
-
-
- Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character).
-
-
-
-
-
- Gets or sets a value indicating whether to render prefix of logger name (the part before the trailing dot character).
-
-
-
-
-
-
-
- The environment variable.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the environment variable.
-
-
-
-
-
- Gets or sets the default value to be used when the environment variable is not set.
-
-
-
-
-
-
-
-
- The host name that the process is running on.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
-
-
-
- Gets the host name and falls back to computer name if not available
-
-
-
-
- Tries the lookup value.
-
- The lookup function.
- Type of the lookup.
-
-
-
-
-
-
-
- The IP address from the network interface card (NIC) on the local machine
-
-
- Skips loopback-adapters and tunnel-interfaces. Skips devices without any MAC-address
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Get or set whether to prioritize IPv6 or IPv4 (default)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The machine name that the process is running on.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
-
-
-
-
-
-
- The formatted log message.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a value indicating whether to log exception along with message.
-
-
-
-
-
- Gets or sets the string that separates message from the exception.
-
-
-
-
-
- Gets or sets whether it should render the raw message without formatting parameters
-
-
-
-
-
-
-
-
- A newline literal.
-
-
-
-
-
The identifier of the current thread.
@@ -13575,6 +11078,51 @@
+
+
+ The Ticks value of current date and time.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+
+
+
+ The time in a 24-hour, sortable format HH:mm:ss.mmmm.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating whether to output UTC time instead of local time.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to output in culture invariant format
+
+ Default:
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+ Default:
+
+
+
+
+
Render a NLog Configuration variable assigned from API or loaded from config-file
@@ -13588,13 +11136,14 @@
Gets or sets the name of the NLog variable.
+ [Required] Default:
Gets or sets the default value to be used when the variable is not set.
- Not used if Name is null
+ Default:
@@ -13615,15 +11164,15 @@
-
- Applies caching to another layout output.
-
-
- The value of the inner layout will be rendered only once and reused subsequently.
+
+ Applies caching to another layout output.
+
+
+ The value of the inner layout will be rendered only once and reused subsequently.
- See NLog Wiki
-
- Documentation on NLog Wiki
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -13643,24 +11192,28 @@
Gets or sets a value indicating whether this is enabled.
+ Default:
Gets or sets a value indicating when the cache is cleared.
+ Default: |
- Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s
+ Gets or sets whether to reset cached value when CacheKey output changes. Example CacheKey could render current day, so the cached-value is reset on day roll.
+ Default:
Gets or sets a value indicating how many seconds the value should stay cached until it expires
+ Default:
@@ -13689,6 +11242,7 @@
Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path
(illegal characters are replaced with '_').
+ Default:
@@ -13710,21 +11264,21 @@
Gets or sets whether output should be encoded with Json-string escaping.
+ Default:
Gets or sets a value indicating whether to escape non-ascii characters
+ Default:
- Should forward slashes be escaped? If true, / will be converted to \/
+ Should forward slashes be escaped? If , / will be converted to \/
-
- If not set explicitly then the value of the parent will be used as default.
-
+ Default:
@@ -13744,14 +11298,16 @@
- Gets or sets the length in characters.
+ Gets or sets the length in characters. Zero or negative means disabled.
+ Default:
Same as -property, so it can be used as ambient property.
+ Default:
${message:truncate=80}
@@ -13776,7 +11332,7 @@
Gets or sets a value indicating whether lower case conversion should be applied.
- A value of true if lower case conversion should be applied; otherwise, false.
+ A value of if lower case conversion should be applied; otherwise, .
@@ -13790,8 +11346,9 @@
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
+ Default:
@@ -13810,7 +11367,7 @@
Gets or sets a value indicating whether to disable the IRawValue-interface
- A value of true if IRawValue-interface should be ignored; otherwise, false.
+ Default:
@@ -13834,25 +11391,29 @@
Shortcut for
+ Default:
Gets or sets the object-property-navigation-path for lookup of nested property
+ [Required] Default:
Format string for conversion from object to string.
-
+ Default:
+
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
-
+ Default:
+
@@ -13879,6 +11440,7 @@
If is not found, print this layout.
+ Default:
@@ -13903,6 +11465,7 @@
If is not found, print this layout.
+ Default:
@@ -13939,10 +11502,11 @@
- Gets or sets the number of characters to pad the output to.
+ Gets or sets the number of characters to pad the output to.
- Positive padding values cause left padding, negative values
+ Default: .
+ Positive padding values cause left padding, negative values
cause right padding to the desired width.
@@ -13951,23 +11515,26 @@
Gets or sets the padding character.
+ Default:
- Gets or sets a value indicating whether to trim the
+ Gets or sets a value indicating whether to trim the
rendered text to the absolute value of the padding length.
+ Default:
Gets or sets a value indicating whether a value that has
- been truncated (when is true)
+ been truncated (when is )
will be left-aligned (characters removed from the right)
or right-aligned (characters removed from the left). The
default is left alignment.
+ Default:
@@ -13981,7 +11548,7 @@
Replaces a string in the output of another layout with another string.
- ${replace:searchFor=\\n+:replaceWith=-:regex=true:inner=${message}}
+ ${replace:searchFor=foo:replaceWith=bar:inner=${message}}
See NLog Wiki
@@ -13992,49 +11559,28 @@
Gets or sets the text to search for.
- The text search for.
+ [Required] Default:
-
-
- Gets or sets a value indicating whether regular expressions should be used.
-
- A value of true if regular expressions should be used otherwise, false.
-
-
Gets or sets the replacement string.
- The replacement string.
+ Default:
-
-
- Gets or sets the group name to replace when using regular expressions.
- Leave null or empty to replace without using group name.
-
- The group name.
-
-
Gets or sets a value indicating whether to ignore case.
- A value of true if case should be ignored when searching; otherwise, false.
+ Default:
- Gets or sets a value indicating whether to search for whole words.
-
- A value of true if whole words should be searched for; otherwise, false.
-
-
-
-
- Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used.
+ Gets or sets a value indicating whether to search for whole words
+ Default:
@@ -14043,21 +11589,6 @@
-
-
- This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass
-
-
-
-
- A match evaluator for Regular Expression based replacing
-
- Input string.
- Group name in the regex.
- Replace value.
- Match from regex.
- Groups replaced with .
-
Replaces newline characters from the result of another layout renderer with spaces.
@@ -14069,10 +11600,18 @@
- Gets or sets a value indicating the string that should be used for separating lines.
+ Gets or sets a value indicating the string that should be used to replace newlines.
+ Default:
+
+
+ Gets or sets a value indicating the string that should be used to replace newlines (alias for )
+
+ Default:
+
+
@@ -14090,8 +11629,9 @@
- Gets or sets the length in characters.
+ Gets or sets the length in characters. Zero or negative means disabled.
+ Default:
@@ -14101,15 +11641,15 @@
-
- Decodes text "encrypted" with ROT-13.
-
-
- See https://en.wikipedia.org/wiki/ROT13.
+
+ Decodes text "encrypted" with ROT-13.
+
+
+ See https://en.wikipedia.org/wiki/ROT13.
- See NLog Wiki
-
- Documentation on NLog Wiki
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -14153,16 +11693,16 @@
- Gets or sets the start index.
+ Gets or sets the start index.
- Index
+ Default:
Gets or sets the length in characters. If null, then the whole string
- Index
+ Default:
@@ -14194,9 +11734,9 @@
- Gets or sets a value indicating whether lower case conversion should be applied.
+ Gets or sets a value indicating whether whitespace should be trimmed.
- A value of true if lower case conversion should be applied; otherwise, false.
+ Default:
@@ -14211,7 +11751,7 @@
${uppercase:${level}} //[DefaultParameter]
- ${uppercase:Inner=${level}}
+ ${uppercase:Inner=${level}}
${level:uppercase} // [AmbientProperty]
@@ -14223,13 +11763,14 @@
Gets or sets a value indicating whether upper case conversion should be applied.
- A value of true if upper case conversion should be applied otherwise, false.
+ Default:
Same as -property, so it can be used as ambient property.
+ Default:
${level:toupper}
@@ -14237,8 +11778,9 @@
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
+ Default:
@@ -14256,30 +11798,25 @@
Documentation on NLog Wiki
-
-
- Initializes a new instance of the class.
-
-
Gets or sets a value indicating whether spaces should be translated to '+' or '%20'.
- A value of true if space should be translated to '+'; otherwise, false.
+ Default:
Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs)
- A value of true if Rfc3986; otherwise, false for legacy Rfc2396.
+ Default:
Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard)
- A value of true if legacy encoding; otherwise, false for standard UTF8 encoding.
+ Default:
@@ -14295,8 +11832,9 @@
- Gets or sets the layout to be rendered when original layout produced empty result.
+ Gets or sets the layout to be rendered when Inner-layout produces empty result.
+ Default:
@@ -14321,14 +11859,19 @@
Gets or sets the condition that must be met for the layout to be printed.
+ [Required] Default:
If is not met, print this layout.
+ Default:
+
+
+
@@ -14342,34 +11885,33 @@
- Gets or sets the line length for wrapping.
+ Gets or sets the line length for wrapping. Only positive values are allowed.
-
- Only positive values are allowed
-
+ Default:
-
- Base class for s which wrapping other s.
+
+ Base class for s which wrapping other s.
- This has the property (which is default) and can be used to wrap.
-
-
- ${uppercase:${level}} //[DefaultParameter]
- ${uppercase:Inner=${level}}
-
+ This has the property (which is default) and can be used to wrap.
+
+
+ ${uppercase:${level}} //[DefaultParameter]
+ ${uppercase:Inner=${level}}
+
-
- Gets or sets the wrapped layout.
+
+ Gets or sets the wrapped layout.
- [DefaultParameter] so Inner: is not required if it's the first
-
-
+ [DefaultParameter] so Inner: is not required if it's the first
+
+ Default:
+
@@ -14408,11 +11950,11 @@
Contents of inner layout.
-
- Base class for s which wrapping other s.
+
+ Base class for s which wrapping other s.
- This expects the transformation to work on a
-
+ This expects the transformation to work on a
+
@@ -14450,15 +11992,22 @@
- Gets or sets whether output should be encoded with Xml-string escaping.
+ Gets or sets whether output should be encoded with XML-string escaping.
- Ensures always valid XML, but gives a performance hit
+ Default:
+
+
+ Gets or sets whether output should be wrapped using CDATA section instead of XML-string escaping
+
+ Default:
+
Gets or sets a value indicating whether to transform newlines (\r\n) into (
)
+ Default:
@@ -14506,6 +12055,10 @@
A column in the CSV.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -14523,22 +12076,26 @@
Gets or sets the name of the column.
+ [Required] Default:
- Gets or sets the layout of the column.
+ Gets or sets the layout used for rendering the column value.
+ [Required] Default:
-
- Gets or sets the override of Quoting mode
-
-
- and are faster than the default
-
-
+
+ Gets or sets the override of Quoting mode
+
+
+ Default: .
+
+ For faster performance then consider and
+
+
@@ -14605,33 +12162,37 @@
- Gets or sets a value indicating whether CVS should include header.
+ Gets or sets a value indicating whether CSV should include header.
- A value of true if CVS should include header; otherwise, false.
+ Default:
Gets or sets the column delimiter.
+ Default:
Gets or sets the quoting mode.
+ Default:
Gets or sets the quote Character.
+ Default: "
Gets or sets the custom column delimiter value (valid when is set to ).
+ Default:
@@ -14712,14 +12273,16 @@
- Gets or sets the option to suppress the extra spaces in the output json
+ Gets or sets the option to suppress the extra spaces in the output json.
+ Default:
Gets or sets the option to render the empty object value {}
+ Default:
@@ -14741,6 +12304,10 @@
JSON attribute.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -14766,51 +12333,56 @@
Gets or sets the name of the attribute.
+ [Required] Default:
- Gets or sets the layout that will be rendered as the attribute's value.
+ Gets or sets the layout used for rendering the attribute value.
+ [Required] Default:
Gets or sets the result value type, for conversion of layout rendering output
+ Default:
Gets or sets the fallback value when result value is not available
+ Default:
Gets or sets whether output should be encoded as Json-String-Property, or be treated as valid json.
+ Default:
Gets or sets a value indicating whether to escape non-ascii characters
+ Default:
Should forward slashes be escaped? If true, / will be converted to \/
-
- If not set explicitly then the value of the parent will be used as default.
-
+ Default:
- Gets or sets whether an attribute with empty value should be included in the output
+ Gets or sets whether empty attribute value should be included in the output.
+ Default: . Empty value is either null or empty string
@@ -14835,68 +12407,78 @@
- Gets or sets the option to suppress the extra spaces in the output json
+ Gets or sets the option to suppress the extra spaces in the output json.
+ Default:
Gets or sets the option to render the empty object value {}
+ Default:
Auto indent and create new lines
+ Default:
Gets or sets the option to include all properties from the log event (as JSON)
+ Default:
Gets or sets a value indicating whether to include contents of the dictionary.
+ Default:
Gets or sets whether to include the contents of the dictionary.
+ Default:
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets the option to include all properties from the log event (as JSON)
-
-
+ Gets or sets the option to include all properties from the log event (as JSON)
+
+ Default:
+
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
+ Gets or sets a value indicating whether to include contents of the dictionary.
+
+ Default:
+
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
+ Gets or sets a value indicating whether to include contents of the dictionary.
+
+ Default:
+
Gets or sets the option to exclude null/empty properties from the log event (as JSON)
+ Default:
@@ -14909,15 +12491,14 @@
How far should the JSON serializer follow object references before backing off
+ Default:
- Should forward slashes be escaped? If true, / will be converted to \/
+ Should forward slashes be escaped? If , / will be converted to \/
-
- If not set explicitly then the value of the parent will be used as default.
-
+ Default:
@@ -14940,21 +12521,26 @@
Abstract interface that layouts must implement.
+
+
+ Default Layout-value that renders string.Empty
+
+
Is this layout initialized? See
-
- Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread).
-
-
- Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are
- like that as well.
+
+ Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread).
+
+
+ Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are
+ like that as well.
- Thread-agnostic layouts only use contents of for its output.
-
+ Thread-agnostic layouts only use contents of for its output.
+
@@ -14968,21 +12554,21 @@
- Converts a given text to a .
+ Implicitly converts the specified string as LayoutRenderer-expression into a .
Text to be converted.
object represented by the text.
- Implicitly converts the specified string to a .
+ Parses the specified string as LayoutRenderer-expression into a .
The layout string.
Instance of .'
- Implicitly converts the specified string to a .
+ Parses the specified string as LayoutRenderer-expression into a .
The layout string.
The NLog factories to use when resolving layout renderers.
@@ -14990,33 +12576,36 @@
- Implicitly converts the specified string to a .
+ Parses the specified string as LayoutRenderer-expression into a .
The layout string.
- Whether should be thrown on parse errors (false = replace unrecognized tokens with a space).
+ Whether should be thrown on parse errors ( = replace unrecognized tokens with a space).
Instance of .
+
+
+ Create a containing literal value
+
+
Create a from a lambda method.
Method that renders the layout.
- Tell if method is safe for concurrent threading.
+ Whether method is ThreadAgnostic and doesn't depend on context of the logging application thread.
Instance of .
-
- Precalculates the layout for the specified log event and stores the result
- in per-log event cache.
+
+ Precalculates the layout for the specified log event and stores the result
+ in per-log event cache.
- Only if the layout doesn't have [ThreadAgnostic] and doesn't contain layouts with [ThreadAgnostic].
-
- The log event.
-
- Calling this method enables you to store the log event in a buffer
- and/or potentially evaluate it in another thread even though the
- layout may contain thread-dependent renderer.
-
+ Skips context capture when Layout have [ThreadAgnostic], and only contains layouts with [ThreadAgnostic].
+
+ The log event.
+
+ Override this method to make it conditional whether to capture Layout output-value for
+
@@ -15034,15 +12623,6 @@
The logging event.
Appends the formatted output to target
-
-
- Optimized version of that works best when
- override of is available.
-
- The logging event.
- Appends the string representing log event to target
- Should rendering result be cached on LogEventInfo
-
Valid default implementation of , when having implemented the optimized
@@ -15097,24 +12677,24 @@
The formatted output.
-
- Obsolete and replaced by with NLog v5.2.
+
+ Obsolete and replaced by with NLog v5.2.
- Register a custom Layout.
-
- Short-cut for registering to default
- Type of the Layout.
- Name of the Layout.
+ Register a custom Layout.
+
+ Short-cut for registering to default
+ Type of the Layout.
+ Name of the Layout.
-
- Obsolete and replaced by with NLog v5.2.
+
+ Obsolete and replaced by with NLog v5.2.
- Register a custom Layout.
-
- Short-cut for registering to default
- Type of the Layout.
- Name of the Layout.
+ Register a custom Layout.
+
+ Short-cut for registering to default
+ Type of the Layout.
+ Name of the Layout.
@@ -15127,8 +12707,8 @@
Try get value
- rawValue if return result is true
- false if we could not determine the rawValue
+ rawValue if return result is
+ if we could not determine the rawValue
@@ -15208,140 +12788,13 @@
-
-
- A specialized layout that renders Log4j-compatible XML events.
-
-
-
- This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer.
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the instance that renders log events.
-
-
-
-
- Gets the collection of parameters. Each parameter contains a mapping
- between NLog layout and a named parameter.
-
-
-
-
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets whether to include the contents of the properties-dictionary.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the stack.
-
-
-
-
-
- Gets or sets the log4j:event logger-xml-attribute. Default: ${logger}
-
-
-
-
-
- Gets or sets the log4j:event message-xml-element. Default: ${message}
-
-
-
-
-
- Gets or sets the log4j:event log4japp-xml-element. By default it's the friendly name of the current AppDomain.
-
-
-
-
-
- Gets or sets whether the log4j:throwable xml-element should be written as CDATA
-
-
-
-
-
- Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network.
-
-
-
-
-
- Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network.
-
-
-
-
-
-
-
-
-
Represents a string with embedded placeholders that can render contextual information.
- This layout is not meant to be used explicitly. Instead you can just use a string containing layout
+ This layout is not meant to be used explicitly. Instead you can just use a string containing layout
renderers everywhere the layout is required.
See NLog Wiki
@@ -15376,12 +12829,12 @@
- Original text before compile to Layout renderes
+ Original text before parsing as Layout renderes.
- Gets or sets the layout text.
+ Gets or sets the layout text that could be parsed.
@@ -15392,7 +12845,7 @@
- Get the fixed text. Only set when is true
+ Get the fixed text. Only set when is
@@ -15417,7 +12870,7 @@
- Converts a text to a simple layout.
+ Implicitly converts the specified string as LayoutRenderer-expression into a .
Text to be converted.
A object.
@@ -15536,6 +12989,14 @@
+
+
+ Create a typed layout from a lambda method.
+
+ Method that renders the layout.
+ Whether method is ThreadAgnostic and doesn't depend on context of the logging application thread.
+ Instance of typed layout.
+
@@ -15572,11 +13033,6 @@
Implements the operator != using
-
-
- Provides access to untyped value without knowing underlying generic type
-
-
Typed Value that is easily configured from NLog.config file
@@ -15589,7 +13045,7 @@
- Gets or sets the layout that will render the result value
+ Gets or sets the layout used for rendering the value.
@@ -15634,6 +13090,10 @@
XML attribute.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -15659,42 +13119,52 @@
Gets or sets the name of the attribute.
+ [Required] Default:
- Gets or sets the layout that will be rendered as the attribute's value.
+ Gets or sets the layout used for rendering the attribute value.
+ [Required] Default:
Gets or sets the result value type, for conversion of layout rendering output
+ Default:
Gets or sets the fallback value when result value is not available
+ Default:
Gets or sets whether output should be encoded with Xml-string escaping, or be treated as valid xml-attribute-value
+ Default:
- Gets or sets whether an attribute with empty value should be included in the output
+ Gets or sets whether empty attribute value should be included in the output.
+ Default: . Empty value is either null or empty string
A XML Element
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -15710,33 +13180,44 @@
Name of the element
-
- Default value "item"
-
+ [Required] Default: item
Value inside the element
+ Default:
- Value inside the element
+ Gets or sets the layout used for rendering the XML-element InnerText.
+ Default:
- Gets or sets whether output should be encoded with Xml-string escaping, or be treated as valid xml-element-value
+ Gets or sets whether output should be encoded with XML-string escaping, or be treated as valid xml-element-value
+ Default:
+
+
+ Gets or sets whether output should be wrapped using CDATA section instead of XML-string escaping
+
+ Default:
+
A specialized layout that renders XML-formatted events.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -15749,7 +13230,6 @@
Name of the XML element
- Upgrade to private protected when using C# 7.2
@@ -15761,7 +13241,8 @@
Auto indent and create new lines
-
+ Default:
+
@@ -15775,64 +13256,76 @@
+
+
+ Gets the collection of context properties that should be included with the other properties.
+
+
+
- Gets or sets whether a ElementValue with empty value should be included in the output
+ Gets or sets whether empty XML-element should be included in the output.
-
+ Default: . Empty value is either null or empty string
+
Gets or sets the option to include all properties from the log event (as XML)
+ Default:
Gets or sets whether to include the contents of the dictionary.
+ Default:
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
+ Gets or sets a value indicating whether to include contents of the dictionary.
+
+ Default:
+
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
+ Gets or sets a value indicating whether to include contents of the dictionary.
+
+ Default:
+
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets the option to include all properties from the log event (as XML)
-
-
+ Gets or sets the option to include all properties from the log event (as XML)
+
+ Default:
+
- List of property names to exclude when is true
+ List of property names to exclude when is
-
+
-
- XML element name to use when rendering properties
-
-
- Support string-format where {0} means property-key-name
+
+ XML element name to use when rendering properties
+
+
+ Support string-format where {0} means property-key-name
- Skips closing element tag when having configured
-
-
+ Skips closing element tag when having configured
+
+
@@ -15840,36 +13333,32 @@
When null (or empty) then key-attribute is not included
-
- Will replace newlines in attribute-value with
-
-
+ Default: key . Newlines in attribute-value will be replaced with
+
XML attribute name to use when rendering property-value
-
- When null (or empty) then value-attribute is not included and
- value is formatted as XML-element-value
-
-
- Skips closing element tag when using attribute for value
- Will replace newlines in attribute-value with
-
-
+ When null (or empty) then value-attribute is not included and
+ value is formatted as XML-element-value.
+
+ Default: . Newlines in attribute-value will be replaced with
+
XML element name to use for rendering IList-collections items
-
+ Default: item
+
How far should the XML serializer follow object references before backing off
-
+ Default:
+
@@ -15920,21 +13409,21 @@
Name of the root XML element
-
- Default value "logevent"
-
+ [Required] Default: logevent
Value inside the root XML element
+ Default:
Determines whether or not this attribute will be Xml encoded.
+ Default:
@@ -16093,7 +13582,7 @@
- The formatted log message.
+ The formatted log message.
@@ -16164,10 +13653,11 @@
Exception information.
-
- Gets the unique identifier of log event which is automatically generated
- and monotonously increasing.
-
+
+ Gets the sequence number for this LogEvent, which monotonously increasing for each LogEvent until int-overflow
+
+ Marked obsolete with NLog 6.0, instead use ${counter:sequence=global} or ${guid:GeneratedFromLogEvent=true}
+
@@ -16185,11 +13675,11 @@
-
- Obsolete and replaced by or ${callsite} with NLog v5.3.
+
+ Obsolete and replaced by or ${callsite} with NLog v5.3.
- Gets the stack frame of the method that did the logging.
-
+ Gets the stack frame of the method that did the logging.
+
@@ -16269,14 +13759,11 @@
Gets the dictionary of per-event context properties.
-
+
- Gets the dictionary of per-event context properties.
- Internal helper for the PropertiesDictionary type.
+ Gets the dictionary of per-event context properties.
- Create the event-properties dictionary, even if no initial template parameters
Provided when having parsed the message template and capture template parameters (else null)
-
@@ -16355,6 +13842,12 @@
String representation of the log event.
+
+
+ Sets the stack trace for the event info.
+
+ The stack trace.
+
Sets the stack trace for the event info.
@@ -16390,7 +13883,7 @@
Gets a custom logger with the full name of the current class (so namespace and class name) and type .
An instance of .
- This is a slow-running method.
+ This is a slow-running method.
Make sure you're not doing this in a loop.
@@ -16405,7 +13898,7 @@
- Overwrite possible file paths (including filename) for possible NLog config files.
+ Overwrite possible file paths (including filename) for possible NLog config files.
When this property is null, the default file paths ( are used.
@@ -16417,15 +13910,9 @@
Note can be null when unloading configuration at shutdown.
-
+
- Obsolete and replaced by with NLog v5.2.
- Occurs when logging gets reloaded.
-
-
-
-
- Initializes static members of the LogManager class.
+ Event that is raised when the current Process / AppDomain terminates.
@@ -16434,12 +13921,12 @@
-
- Obsolete instead use default-constructor, and assign with NLog 5.0.
+
+ Obsolete instead use default-constructor, and assign with NLog 5.0.
- Initializes a new instance of the class.
-
- The config.
+ Initializes a new instance of the class.
+
+ The config.
@@ -16448,29 +13935,29 @@
The config loader
The custom AppEnvironmnet override
-
+
- Gets the current .
+ Repository of interfaces used by NLog to allow override for dependency injection
Gets or sets a value indicating whether exceptions should be thrown. See also .
- A value of true if exception should be thrown; otherwise, false.
+ A value of if exception should be thrown; otherwise, .
By default exceptions are not thrown under any circumstances.
-
- Gets or sets a value indicating whether should be thrown.
+
+ Gets or sets a value indicating whether should be thrown.
- If null then is used.
-
- A value of true if exception should be thrown; otherwise, false.
-
- This option is for backwards-compatibility.
- By default exceptions are not thrown under any circumstances.
-
+ If null then is used.
+
+ A value of if exception should be thrown; otherwise, .
+
+ This option is for backwards-compatibility.
+ By default exceptions are not thrown under any circumstances.
+
@@ -16491,11 +13978,6 @@
Setter will re-configure all -objects, so no need to also call
-
-
- Repository of interfaces used by NLog to allow override for dependency injection
-
-
Gets or sets the global log level threshold. Log events below this threshold are not logged.
@@ -16511,8 +13993,7 @@
- Performs application-defined tasks associated with freeing, releasing, or resetting
- unmanaged resources.
+ Shutdown logging
@@ -16567,7 +14048,7 @@
Gets the specified named logger.
Name of the logger.
- The logger reference. Multiple calls to GetLogger with the same argument
+ The logger reference. Multiple calls to GetLogger with the same argument
are not guaranteed to return the same logger reference.
@@ -16578,7 +14059,7 @@
Name of the logger.
Type of the logger
- The logger reference with type . Multiple calls to GetLogger with the same argument
+ The logger reference with type . Multiple calls to GetLogger with the same argument
are not guaranteed to return the same logger reference.
@@ -16590,19 +14071,19 @@
Name of the logger.
The type of the logger to create. The type must inherit from .
- The logger of type . Multiple calls to GetLogger with the
+ The logger of type . Multiple calls to GetLogger with the
same argument aren't guaranteed to return the same logger reference.
- Loops through all loggers previously returned by GetLogger and recalculates their
+ Loops through all loggers previously returned by GetLogger and recalculates their
target and filter list. Useful after modifying the configuration programmatically
to ensure that all loggers have been properly configured.
- Loops through all loggers previously returned by GetLogger and recalculates their
+ Loops through all loggers previously returned by GetLogger and recalculates their
target and filter list. Useful after modifying the configuration programmatically
to ensure that all loggers have been properly configured.
@@ -16617,14 +14098,14 @@
Flush any pending log messages (in case of asynchronous targets).
- Maximum time to allow for the flush. Any messages after that time
+ Maximum time to allow for the flush. Any messages after that time
will be discarded.
Flush any pending log messages (in case of asynchronous targets).
- Maximum time to allow for the flush. Any messages
+ Maximum time to allow for the flush. Any messages
after that time will be discarded.
@@ -16638,7 +14119,7 @@
Flush any pending log messages (in case of asynchronous targets).
The asynchronous continuation.
- Maximum time to allow for the flush. Any messages
+ Maximum time to allow for the flush. Any messages
after that time will be discarded.
@@ -16648,15 +14129,20 @@
The asynchronous continuation.
Maximum time to allow for the flush. Any messages after that time will be discarded.
+
+
+ Flush any pending log messages
+
+
Suspends the logging, and returns object for using-scope so scope-exit calls
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
- An object that implements IDisposable whose Dispose() method re-enables logging.
+ An object that implements IDisposable whose Dispose() method re-enables logging.
To be used with C# using () statement.
@@ -16664,7 +14150,7 @@
Resumes logging if having called .
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
@@ -16673,33 +14159,18 @@
Returns if logging is currently enabled.
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
- A value of if logging is currently enabled,
+ A value of if logging is currently enabled,
otherwise.
- Raises the event when the configuration is reloaded.
+ Raises the event when the configuration is reloaded.
Event arguments.
-
-
- Obsolete and replaced by with NLog 5.2.
-
- Raises the event when the configuration is reloaded.
-
- Event arguments
-
-
-
- Change this method with NLog v6 to completely disconnect LogFactory from Targets/Layouts
- - Remove LoggingRule-List-parameter
- - Return ITargetWithFilterChain[]
-
-
Currently this is disposing?
@@ -16707,10 +14178,10 @@
- Releases unmanaged and - optionally - managed resources.
+ Shutdown logging without flushing async
- True to release both managed and unmanaged resources;
- false to release only unmanaged resources.
+ to release both managed and unmanaged resources;
+ to release only unmanaged resources.
@@ -16718,69 +14189,50 @@
-
- Obsolete and replaced by and with NLog v5.2.
+
+ Obsolete and replaced by and with NLog v5.2.
- Get file paths (including filename) for the possible NLog config files.
-
- The file paths to the possible config file
+ Get file paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
-
- Obsolete and replaced by and with NLog v5.2.
+
+ Obsolete and replaced by and with NLog v5.2.
- Get file paths (including filename) for the possible NLog config files.
-
- The file paths to the possible config file
+ Get file paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
-
- Obsolete and replaced by and with NLog v5.2.
+
+ Obsolete and replaced by and with NLog v5.2.
- Overwrite the candidates paths (including filename) for the possible NLog config files.
-
- The file paths to the possible config file
+ Overwrite the candidates paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
-
- Obsolete and replaced by and with NLog v5.2.
+
+ Obsolete and replaced by and with NLog v5.2.
- Clear the candidate file paths and return to the defaults.
-
+ Clear the candidate file paths and return to the defaults.
+
-
- Obsolete and replaced by and with NLog v5.2.
+
+ Obsolete and replaced by and with NLog v5.2.
- Loads logging configuration from file (Currently only XML configuration files supported)
-
- Configuration file to be read
- LogFactory instance for fluent interface
+ Loads logging configuration from file (Currently only XML configuration files supported)
+
+ Configuration file to be read
+ LogFactory instance for fluent interface
Logger cache key.
-
-
- Serves as a hash function for a particular type.
-
-
-
-
- Determines if two objects are equal in value.
-
- Other object to compare to.
- True if objects are equal, false otherwise.
-
-
-
- Determines if two objects of the same type are equal in value.
-
- Other object to compare to.
- True if objects are equal, false otherwise.
-
Logger cache.
@@ -16788,7 +14240,7 @@
- Inserts or updates.
+ Inserts or updates.
@@ -16825,10 +14277,10 @@
Remarks:
The DEBUG conditional compilation symbol is default enabled (only) in a debug build.
-
- If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods.
- This could lead to better performance.
-
+
+ If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods.
+ This could lead to better performance.
+
See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx
@@ -19939,31 +17391,31 @@
A value of if logging is enabled for the specified level, otherwise it returns .
-
- Creates new logger that automatically appends the specified property to all log events (without changing current logger)
+
+ Creates new logger that automatically appends the specified property to all log events (without changing current logger)
- With property, all properties can be enumerated.
-
- Property Name
- Property Value
- New Logger object that automatically appends specified property
+ With property, all properties can be enumerated.
+
+ Property Name
+ Property Value
+ New Logger object that automatically appends specified property
-
- Creates new logger that automatically appends the specified properties to all log events (without changing current logger)
+
+ Creates new logger that automatically appends the specified properties to all log events (without changing current logger)
- With property, all properties can be enumerated.
-
- Collection of key-value pair properties
- New Logger object that automatically appends specified properties
+ With property, all properties can be enumerated.
+
+ Collection of key-value pair properties
+ New Logger object that automatically appends specified properties
Obsolete and replaced by that prevents unexpected side-effects in Logger-state.
-
+
Updates the specified context property for the current logger. The logger will append it for all log events.
- With property, all properties can be enumerated (or updated).
+ With property, all properties can be enumerated (or updated).
It is highly recommended to ONLY use for modifying context properties.
@@ -20239,7 +17691,7 @@
- Raises the event when the logger is reconfigured.
+ Raises the event when the logger is reconfigured.
Event arguments
@@ -20331,7 +17783,7 @@
- Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal)
+ Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal)
i.e LogLevel.Off is excluded.
@@ -20354,8 +17806,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is equal to the second one.
The first level.
@@ -20364,8 +17816,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is not equal to the second one.
The first level.
@@ -20374,8 +17826,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is greater than the second one.
The first level.
@@ -20384,8 +17836,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is greater than or equal to the second one.
The first level.
@@ -20394,8 +17846,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is less than the second one.
The first level.
@@ -20404,8 +17856,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is less than or equal to the second one.
The first level.
@@ -20443,8 +17895,8 @@
Determines whether the specified instance is equal to this instance.
The to compare with this instance.
- Value of true if the specified is equal to
- this instance; otherwise, false.
+ Value of if the specified is equal to
+ this instance; otherwise, .
@@ -20452,8 +17904,8 @@
The other object.
- A value less than zero when this logger's is
- less than the other logger's ordinal, 0 when they are equal and
+ A value less than zero when this logger's is
+ less than the other logger's ordinal, 0 when they are equal and
greater than zero when this ordinal is greater than the
other ordinal.
@@ -20464,12 +17916,29 @@
The other object.
- A value less than zero when this logger's is
- less than the other logger's ordinal, 0 when they are equal and
+ A value less than zero when this logger's is
+ less than the other logger's ordinal, 0 when they are equal and
greater than zero when this ordinal is greater than the
other ordinal.
+
+
+ Support implementation of
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Creates and manages instances of objects.
@@ -20482,7 +17951,6 @@
Gets the instance used in the .
- Could be used to pass the to other methods
@@ -20492,28 +17960,22 @@
Note can be null when unloading configuration at shutdown.
-
-
- Obsolete and replaced by with NLog v5.2.
- Occurs when logging gets reloaded.
-
-
- Gets or sets a value indicating whether NLog should throw exceptions.
+ Gets or sets a value indicating whether NLog should throw exceptions.
By default exceptions are not thrown under any circumstances.
-
- Gets or sets a value indicating whether should be thrown.
-
- A value of true if exception should be thrown; otherwise, false.
-
- This option is for backwards-compatibility.
- By default exceptions are not thrown under any circumstances.
+
+ Gets or sets a value indicating whether should be thrown.
+
+ A value of if exception should be thrown; otherwise, .
+
+ This option is for backwards-compatibility.
+ By default exceptions are not thrown under any circumstances.
-
+
@@ -20559,7 +18021,7 @@
- Adds the given assembly which will be skipped
+ Adds the given assembly which will be skipped
when NLog is trying to find the calling method on stack trace.
The assembly to skip.
@@ -20666,10 +18128,10 @@
Suspends the logging, and returns object for using-scope so scope-exit calls
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
- An object that implements IDisposable whose Dispose() method re-enables logging.
+ An object that implements IDisposable whose Dispose() method re-enables logging.
To be used with C# using () statement.
@@ -20678,7 +18140,7 @@
Resumes logging if having called .
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
@@ -20687,10 +18149,10 @@
Suspends the logging, and returns object for using-scope so scope-exit calls
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
- An object that implements IDisposable whose Dispose() method re-enables logging.
+ An object that implements IDisposable whose Dispose() method re-enables logging.
To be used with C# using () statement.
@@ -20698,7 +18160,7 @@
Resumes logging if having called .
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
@@ -20707,10 +18169,10 @@
Returns if logging is currently enabled.
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
- A value of if logging is currently enabled,
+ A value of if logging is currently enabled,
otherwise.
@@ -20727,11 +18189,231 @@
- Returns a log message. Used to defer calculation of
+ Returns a log message. Used to defer calculation of
the log message until it's actually needed.
Log message.
+
+
+ Obsolete and replaced by with NLog v5.
+
+ Mapped Diagnostics Context (MDC) is a dictionary of keys and values.
+ Stores the dictionary in the thread-local static variable, and provides methods to output dictionary values in layouts.
+
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+ An that can be used to remove the item from the current thread MDC.
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current thread MDC.
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Gets the current thread MDC named item, as .
+
+ Item name.
+ The value of , if defined; otherwise .
+ If the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the current thread MDC named item, as .
+
+ Item name.
+ The to use when converting a value to a .
+ The value of , if defined; otherwise .
+ If is null and the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the current thread MDC named item, as .
+
+ Item name.
+ The value of , if defined; otherwise null.
+
+
+
+ Returns all item names
+
+ A set of the names of all items in current thread-MDC.
+
+
+
+ Checks whether the specified item exists in current thread MDC.
+
+ Item name.
+ A boolean indicating whether the specified exists in current thread MDC.
+
+
+
+ Removes the specified from current thread MDC.
+
+ Item name.
+
+
+
+ Clears the content of current thread MDC.
+
+
+
+
+ Obsolete and replaced by with NLog v5.
+
+ Mapped Diagnostics Logical Context (MDLC) is a dictionary of keys and values.
+ Stores the dictionary in the logical thread callcontext, and provides methods to output dictionary values in layouts.
+ Allows for maintaining state across asynchronous tasks and call contexts.
+
+
+ Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original
+ NLog library so that state can be maintained for multiple threads in asynchronous situations.
+
+
+
+
+ Gets the current logical context named item, as .
+
+ Item name.
+ The value of , if defined; otherwise .
+ If the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the current logical context named item, as .
+
+ Item name.
+ The to use when converting a value to a string.
+ The value of , if defined; otherwise .
+ If is null and the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the current logical context named item, as .
+
+ Item name.
+ The value of , if defined; otherwise null.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current logical context.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current logical context.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current logical context.
+
+
+
+ Updates the current logical context with multiple items in single operation
+
+ .
+ >An that can be used to remove the item from the current logical context (null if no items).
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Returns all item names
+
+ A collection of the names of all items in current logical context.
+
+
+
+ Checks whether the specified exists in current logical context.
+
+ Item name.
+ A boolean indicating whether the specified exists in current logical context.
+
+
+
+ Removes the specified from current logical context.
+
+ Item name.
+
+
+
+ Clears the content of current logical context.
+
+
+
+
+ Clears the content of current logical context.
+
+ Free the full slot.
+
+
+
+ Mark a parameter of a method for message templating
+
+
+
+
+ Specifies which parameter of an annotated method should be treated as message-template-string
+
+
+
+
+ The name of the parameter that should be as treated as message-template-string
+
+
The type of the captured hole
@@ -20754,7 +18436,7 @@
- stringification operator {$x}
+ stringification operator {$x}
@@ -20769,7 +18451,7 @@
Parameter name sent to structured loggers.
- This is everything between "{" and the first of ",:}".
+ This is everything between "{" and the first of ",:}".
Including surrounding spaces and names that are numbers.
@@ -20886,7 +18568,7 @@
- Indicates whether the template should be interpreted as positional
+ Indicates whether the template should be interpreted as positional
(all holes are numbers) or named.
@@ -21000,7 +18682,7 @@
-
+
Try serializing a scalar (string, int, NULL) or simple type (IFormattable)
@@ -21029,6 +18711,161 @@
Format provider for the value.
Append to this
+
+
+ Obsolete and replaced by with NLog v5.
+
+ Nested Diagnostics Context (NDC) is a stack of nested values.
+ Stores the stack in the thread-local static variable, and provides methods to output the values in layouts.
+
+
+
+
+ Gets the top NDC message but doesn't remove it.
+
+ The top message. .
+
+
+
+ Gets the top NDC object but doesn't remove it.
+
+ The object at the top of the NDC stack if defined; otherwise null.
+
+
+
+ Pushes the specified text on current thread NDC.
+
+ The text to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pushes the specified object on current thread NDC.
+
+ The object to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pops the top message off the NDC stack.
+
+ The top message which is no longer on the stack.
+
+
+
+ Pops the top message from the NDC stack.
+
+ The to use when converting the value to a string.
+ The top message, which is removed from the stack, as a string value.
+
+
+
+ Pops the top object off the NDC stack.
+
+ The object from the top of the NDC stack, if defined; otherwise null.
+
+
+
+ Peeks the first object on the NDC stack
+
+ The object from the top of the NDC stack, if defined; otherwise null.
+
+
+
+ Clears current thread NDC stack.
+
+
+
+
+ Gets all messages on the stack.
+
+ Array of strings on the stack.
+
+
+
+ Gets all messages from the stack, without removing them.
+
+ The to use when converting a value to a string.
+ Array of strings.
+
+
+
+ Gets all objects on the stack.
+
+ Array of objects on the stack.
+
+
+
+ Obsolete and replaced by with NLog v5.
+
+ Nested Diagnostics Logical Context (NDLC) is a stack of nested values.
+ Stores the stack in the logical thread callcontexte, and provides methods to output the values in layouts.
+
+
+
+
+ Pushes the specified value on current stack
+
+ The value to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pushes the specified value on current stack
+
+ The value to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pops the top message off the NDLC stack.
+
+ The top message which is no longer on the stack.
+ this methods returns a object instead of string, this because of backwards-compatibility
+
+
+
+ Pops the top message from the NDLC stack.
+
+ The to use when converting the value to a string.
+ The top message, which is removed from the stack, as a string value.
+
+
+
+ Pops the top message off the current NDLC stack
+
+ The object from the top of the NDLC stack, if defined; otherwise null.
+
+
+
+ Peeks the top object on the current NDLC stack
+
+ The object from the top of the NDLC stack, if defined; otherwise null.
+
+
+
+ Clears current stack.
+
+
+
+
+ Gets all messages on the stack.
+
+ Array of strings on the stack.
+
+
+
+ Gets all messages from the stack, without removing them.
+
+ The to use when converting a value to a string.
+ Array of strings.
+
+
+
+ Gets all objects on the stack. The objects are not removed from the stack.
+
+ Array of objects on the stack.
+
Exception thrown during NLog configuration.
@@ -21126,193 +18963,13 @@
The class name is null or is zero (0).
-
-
- TraceListener which routes all messages through NLog.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the log factory to use when outputting messages (null - use LogManager).
-
-
-
-
- Gets or sets the default log level.
-
-
-
-
- Gets or sets the log which should be always used regardless of source level.
-
-
-
-
- Gets or sets a value indicating whether flush calls from trace sources should be ignored.
-
-
-
-
- Gets a value indicating whether the trace listener is thread safe.
-
-
- true if the trace listener is thread safe; otherwise, false. The default is false.
-
-
-
- Gets or sets a value indicating whether to use auto logger name detected from the stack trace.
-
-
-
-
- When overridden in a derived class, writes the specified message to the listener you create in the derived class.
-
- A message to write.
-
-
-
- When overridden in a derived class, writes the specified message to the listener you create in the derived class.
-
- A message payload to write.
-
-
-
- When overridden in a derived class, writes a message to the listener you create in the derived class, followed by a line terminator.
-
- A message to write.
-
-
-
- When overridden in a derived class, writes the specified message to the listener you create in the derived class.
-
- A message payload to write.
-
-
-
- When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output.
-
-
-
-
- Emits an error message.
-
- A message to emit.
-
-
-
- Emits an error message and a detailed error message.
-
- A message to emit.
- A detailed message to emit.
-
-
-
- Flushes the output (if is not true) buffer with the default timeout of 15 seconds.
-
-
-
-
- Writes trace information, a data object and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- One of the values specifying the type of event that has caused the trace.
- A numeric identifier for the event.
- The trace data to emit.
-
-
-
- Writes trace information, an array of data objects and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- One of the values specifying the type of event that has caused the trace.
- A numeric identifier for the event.
- An array of objects to emit as data.
-
-
-
- Writes trace and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- One of the values specifying the type of event that has caused the trace.
- A numeric identifier for the event.
-
-
-
- Writes trace information, a formatted array of objects and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- One of the values specifying the type of event that has caused the trace.
- A numeric identifier for the event.
- A format string that contains zero or more format items, which correspond to objects in the array.
- An object array containing zero or more objects to format.
-
-
-
- Writes trace information, a message, and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- One of the values specifying the type of event that has caused the trace.
- A numeric identifier for the event.
- A message to write.
-
-
-
- Writes trace information, a message, a related activity identity and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- A numeric identifier for the event.
- A message to write.
- A object identifying a related activity.
-
-
-
- Gets the custom attributes supported by the trace listener.
-
-
- A string array naming the custom attributes supported by the trace listener, or null if there are no custom attributes.
-
-
-
-
- Translates the event type to level from .
-
- Type of the event.
- Translated log level.
-
-
-
- Process the log event
- The log level.
- The name of the logger.
- The log message.
- The log parameters.
- The event id.
- The event type.
- The related activity id.
-
-
-
- It works as a normal but it discards all messages which an application requests
- to be logged.
+
+ It works as a normal but it discards all messages which an application requests
+ to be logged.
- It effectively implements the "Null Object" pattern for objects.
-
+ It effectively implements the "Null Object" pattern for objects.
+
@@ -21320,6 +18977,126 @@
The factory class to be used for the creation of this logger.
+
+
+ stores state in the async thread execution context. All LogEvents created
+ within a scope can include the scope state in the target output. The logical context scope supports
+ both scope-properties and scope-nested-state-stack (Similar to log4j2 ThreadContext)
+
+
+ (MDLC), (MDC), (NDLC)
+ and (NDC) have been deprecated and replaced by .
+
+ .NetCore (and .Net46) uses AsyncLocal for handling the thread execution context. Older .NetFramework uses System.Runtime.Remoting.CallContext
+
+
+
+
+ Pushes new state on the logical context scope stack together with provided properties
+
+ Value to added to the scope stack
+ Properties being added to the scope dictionary
+ A disposable object that pops the nested scope state on dispose (including properties).
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided properties
+
+ Properties being added to the scope dictionary
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided properties
+
+ Properties being added to the scope dictionary
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided property
+
+ Name of property
+ Value of property
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided property
+
+ Name of property
+ Value of property
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Pushes new state on the logical context scope stack
+
+ Value to added to the scope stack
+ A disposable object that pops the nested scope state on dispose.
+ Skips casting of to check for scope-properties
+
+
+
+ Pushes new state on the logical context scope stack
+
+ Value to added to the scope stack
+ A disposable object that pops the nested scope state on dispose.
+
+
+
+ Clears all the entire logical context scope, and removes any properties and nested-states
+
+
+
+
+ Retrieves all properties stored within the logical context scopes
+
+ Collection of all properties
+
+
+
+ Lookup single property stored within the logical context scopes
+
+ Name of property
+ When this method returns, contains the value associated with the specified key
+ Returns when value is found with the specified key
+ Scope dictionary keys are case-insensitive
+
+
+
+ Retrieves all nested states inside the logical context scope stack
+
+ Array of nested state objects.
+
+
+
+ Peeks the top value from the logical context scope stack
+
+ Value from the top of the stack.
+
+
+
+ Peeks the inner state (newest) from the logical context scope stack, and returns its running duration
+
+ Scope Duration Time
+
+
+
+ Peeks the outer state (oldest) from the logical context scope stack, and returns its running duration
+
+ Scope Duration Time
+
+
+
+ Special bookmark that can restore original parent, after scopes has been collapsed
+
+
Extension methods to setup LogFactory options
@@ -21536,7 +19313,7 @@
Fluent interface parameter.
The layout-renderer type-alias for use in NLog configuration - without '${ }'
Callback that returns the value for the layout renderer.
- Options of the layout renderer.
+ Whether method is ThreadAgnostic and doesn't depend on context of the logging application thread.
@@ -21545,7 +19322,7 @@
Fluent interface parameter.
The layout-renderer type-alias for use in NLog configuration - without '${ }'
Callback that returns the value for the layout renderer.
- Options of the layout renderer.
+ Whether method is ThreadAgnostic and doesn't depend on context of the logging application thread.
@@ -21621,26 +19398,11 @@
Configures
-
-
- Configures
-
-
Configures
-
-
- Configures
-
-
-
-
- Configures
-
-
Configures
@@ -21651,29 +19413,32 @@
Configures
-
+
- Configure the InternalLogger properties from Environment-variables and App.config using
+ Resets the InternalLogger configuration without resolving default values from Environment-variables or App.config
-
- Recognizes the following environment-variables:
+
+
+
+ Configure the InternalLogger properties from Environment-variables and App.config using
+
+
+ Recognizes the following environment-variables:
- - NLOG_INTERNAL_LOG_LEVEL
- - NLOG_INTERNAL_LOG_FILE
- - NLOG_INTERNAL_LOG_TO_CONSOLE
- - NLOG_INTERNAL_LOG_TO_CONSOLE_ERROR
- - NLOG_INTERNAL_LOG_TO_TRACE
- - NLOG_INTERNAL_INCLUDE_TIMESTAMP
+ - NLOG_INTERNAL_LOG_LEVEL
+ - NLOG_INTERNAL_LOG_FILE
+ - NLOG_INTERNAL_LOG_TO_CONSOLE
+ - NLOG_INTERNAL_LOG_TO_CONSOLE_ERROR
+ - NLOG_INTERNAL_INCLUDE_TIMESTAMP
- Legacy .NetFramework platform will also recognizes the following app.config settings:
+ Legacy .NetFramework platform will also recognizes the following app.config settings:
- - nlog.internalLogLevel
- - nlog.internalLogFile
- - nlog.internalLogToConsole
- - nlog.internalLogToConsoleError
- - nlog.internalLogToTrace
- - nlog.internalLogIncludeTimestamp
-
+ - nlog.internalLogLevel
+ - nlog.internalLogFile
+ - nlog.internalLogToConsole
+ - nlog.internalLogToConsoleError
+ - nlog.internalLogIncludeTimestamp
+
@@ -21706,7 +19471,7 @@
Defines for redirecting output from matching to wanted targets.
Fluent interface parameter.
- Restrict minimum LogLevel for names that matches this rule
+ Restrict minimum LogLevel for names that matches this rule
Logger name pattern to check which names matches this rule
Rule identifier to allow rule lookup
@@ -21847,14 +19612,14 @@
- Write to
+ Write to
Fluent interface parameter.
Override the default Layout for output
Override the default Encoding for output (Ex. UTF8)
Write to stderr instead of standard output (stdout)
Skip overhead from writing to console, when not available (Ex. running as Windows Service)
- Enable batch writing of logevents, instead of Console.WriteLine for each logevent (Requires )
+ Force Console.WriteLine (slower) instead of Console.WriteBuffer (faster)
@@ -21868,17 +19633,9 @@
Skip overhead from writing to console, when not available (Ex. running as Windows Service)
Enables output using ANSI Color Codes (Windows console does not support this by default)
-
-
- Write to
-
-
- Override the default Layout for output
- Force use independent of
-
- Write to
+ Write to
Override the default Layout for output
@@ -21890,9 +19647,9 @@
Override the default Layout for output
-
+
- Write to
+ Write to
Fluent interface parameter.
@@ -21900,7 +19657,6 @@
Override the default Encoding for output (Default = UTF8)
Override the default line ending characters (Ex. without CR)
Keep log file open instead of opening and closing it on each logging event
- Activate multi-process synchronization using global mutex on the operating system
Size in bytes where log files will be automatically archived.
Maximum number of archive files that should be kept.
Maximum days of archive files that should be kept.
@@ -22021,9 +19777,9 @@
Enable/disables the NLog Message Template Parsing:
- - True = Always use NLog mesage-template-parser and formatting.
- - False = Never use NLog-parser and only use string.Format (Disable support for message-template-syntax).
- - Null = Auto detection of message-template-syntax, with fallback to string.Format (Default Behavior).
+ - = Always use NLog mesage-template-parser and formatting.
+ - = Never use NLog-parser and only use string.Format (Disable support for message-template-syntax).
+ - = Auto detection of message-template-syntax, with fallback to string.Format (Default Behavior).
@@ -22036,6 +19792,16 @@
Overrides the active with a new custom implementation
+
+
+ Overrides the active to use legacy-mode string-quotes (Before NLog v6)
+
+
+
+
+ Registers object Type transformation so build trimming will keep public properties.
+
+
Registers object Type transformation from dangerous (massive) object to safe (reduced) object
@@ -22046,34 +19812,6 @@
Registers object Type transformation from dangerous (massive) object to safe (reduced) object
-
-
- Specifies the way archive numbering is performed.
-
-
-
-
- Sequence style numbering. The most recent archive has the highest number.
-
-
-
-
- Rolling style numbering (the most recent is always #0 then #1, ..., #N.
-
-
-
-
- Date style numbering. Archives will be stamped with the prior period
- (Year, Month, Day, Hour, Minute) datetime.
-
-
-
-
- Date and sequence style numbering.
- Archives will be stamped with the prior period (Year, Month, Day) datetime.
- The most recent archive has the highest number (in combination with the date).
-
-
Abstract Target with async Task support
@@ -22089,8 +19827,7 @@
{
this.Host = "localhost";
}
-
- [RequiredParameter]
+
public Layout Host { get; set; }
protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token)
@@ -22112,24 +19849,28 @@
How many milliseconds to delay the actual write operation to optimize for batching
+ Default:
How many seconds a Task is allowed to run before it is cancelled.
+ Default:
How many attempts to retry the same Task, before it is aborted
+ Default:
How many milliseconds to wait before next retry (will double with each retry)
+ Default: ms
@@ -22137,6 +19878,7 @@
Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue
The locking queue is less concurrent when many logger threads, but reduces memory allocation
+ Default:
@@ -22144,12 +19886,14 @@
Gets or sets the action to be taken when the lazy writer thread request queue count
exceeds the set limit.
+ Default:
Gets or sets the limit on the number of requests in the lazy writer thread request queue.
+ Default:
@@ -22157,12 +19901,14 @@
Gets or sets the number of log events that should be processed in a batch
by the lazy writer thread.
+ Default:
Task Scheduler used for processing async Tasks
+ Default:
@@ -22173,25 +19919,25 @@
-
- Override this to provide async task for writing a single logevent.
-
- Example of how to override this method, and call custom async method
-
- protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token)
- {
- return CustomWriteAsync(logEvent, token);
- }
+
+ Override this to provide async task for writing a single logevent.
+
+ Example of how to override this method, and call custom async method
+
+ protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token)
+ {
+ return CustomWriteAsync(logEvent, token);
+ }
- private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token)
- {
- await MyLogMethodAsync(logEvent, token).ConfigureAwait(false);
- }
-
-
- The log event.
- The cancellation token
-
+ private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token)
+ {
+ await MyLogMethodAsync(logEvent, token).ConfigureAwait(false);
+ }
+
+
+ The log event.
+ The cancellation token
+
@@ -22226,7 +19972,7 @@
- Write to queue without locking
+ Write to queue without locking
@@ -22236,11 +19982,11 @@
-
- LogEvent is written to target, but target failed to successfully initialize
+
+ LogEvent is written to target, but target failed to successfully initialize
- Enqueue logevent for later processing when target failed to initialize because of unresolved service dependency.
-
+ Enqueue logevent for later processing when target failed to initialize because of unresolved service dependency.
+
@@ -22250,7 +19996,7 @@
- Closes Target by updating CancellationToken
+ Closes Target by updating CancellationToken
@@ -22291,37 +20037,6 @@
-
-
- Sends log messages to the remote instance of Chainsaw application from log4j.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with a name.
-
- Name of the target.
-
Color formatting for using ANSI Color Codes
@@ -22363,7 +20078,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -22407,6 +20122,11 @@
Name of the target.
+
+
+ Initializes a new instance of the class for Unit-Testing.
+
+
Obsolete and replaced by with NLog v5.
@@ -22425,7 +20145,7 @@
Gets or sets a value indicating whether to use default row highlighting rules.
- The default rules are:
+ Default: which enables the following rules:
| Condition |
@@ -22439,12 +20159,12 @@
| level == LogLevel.Error |
- Yellow |
+ Red |
NoChange |
| level == LogLevel.Warn |
- Magenta |
+ Yellow |
NoChange |
@@ -22459,7 +20179,7 @@
| level == LogLevel.Trace |
- DarkGray |
+ Gray |
NoChange |
@@ -22476,16 +20196,18 @@
Gets or sets a value indicating whether to auto-check if the console is available.
- - Disables console writing if Environment.UserInteractive = False (Windows Service)
+ - Disables console writing if Environment.UserInteractive = (Windows Service)
- Disables console writing if Console Standard Input is not available (Non-Console-App)
+ Default:
Gets or sets a value indicating whether to auto-check if the console has been redirected to file
- - Disables coloring logic when System.Console.IsOutputRedirected = true
+ - Disables coloring logic when System.Console.IsOutputRedirected =
+ Default:
@@ -22493,6 +20215,7 @@
Gets or sets a value indicating whether to auto-flush after
+ Default: .
Normally not required as standard Console.Out will have = true, but not when pipe to file
@@ -22501,6 +20224,14 @@
Enables output using ANSI Color Codes
+ Default:
+
+
+
+
+ Support NO_COLOR=1 environment variable. See also
+
+ Default: NO_COLOR=1
@@ -22532,7 +20263,7 @@
Colored console output color.
- Note that this enumeration is defined to be binary compatible with
+ Note that this enumeration is defined to be binary compatible with
.NET 2.0 System.ConsoleColor + some additions
@@ -22648,31 +20379,27 @@
Gets or sets the condition that must be met in order to set the specified foreground and background color.
+ Default:
Gets or sets the foreground color.
+ Default:
Gets or sets the background color.
+ Default:
Checks whether the specified log event matches the condition (if any).
-
- Log event.
-
-
- A value of if the condition is not defined or
- if it matches, otherwise.
-
@@ -22684,7 +20411,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -22695,21 +20422,21 @@
-
- Should logging being paused/stopped because of the race condition bug in Console.Writeline?
-
-
- Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug.
- See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written
- and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service
-
- Full error:
- Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory.
- The I/ O package is not thread safe by default. In multi-threaded applications,
- a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or
- TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader.
+
+ Should logging being paused/stopped because of the race condition bug in Console.Writeline?
+
+
+ Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug.
+ See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written
+ and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service
-
+ Full error:
+ Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory.
+ The I/ O package is not thread safe by default. In multi-threaded applications,
+ a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or
+ TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader.
+
+
@@ -22728,31 +20455,39 @@
The encoding for writing messages to the .
- Has side effect
Gets or sets a value indicating whether to auto-check if the console is available
- - Disables console writing if Environment.UserInteractive = False (Windows Service)
+ - Disables console writing if Environment.UserInteractive = (Windows Service)
- Disables console writing if Console Standard Input is not available (Non-Console-App)
+ Default:
Gets or sets a value indicating whether to auto-flush after
-
+ Default: .
Normally not required as standard Console.Out will have = true, but not when pipe to file
+
+
+ Gets or sets whether to force (slower) instead of the faster internal buffering.
+
+ Default:
+
+
Gets or sets whether to activate internal buffering to allow batch writing, instead of using
-
+ Default:
+
@@ -22763,14 +20498,14 @@
-
+
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
+ Initializes a new instance of the class.
+
+
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
+
+ Name of the target.
@@ -22805,27 +20540,23 @@
Color of the foreground.
Color of the background.
-
-
- Gets or sets the regular expression to be matched. You must specify either text or regex.
-
-
-
Gets or sets the condition that must be met before scanning the row for highlight of words
-
-
-
-
- Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used.
-
+ Default:
- Gets or sets the text to be matched. You must specify either text or regex.
+ Gets or sets the text to be matched for Highlighting.
+
+ Default:
+
+
+
+
+ Gets or sets the list of words to be matched for Highlighting.
@@ -22833,61 +20564,39 @@
Gets or sets a value indicating whether to match whole words only.
+ Default:
Gets or sets a value indicating whether to ignore case when comparing texts.
+ Default:
Gets or sets the foreground color.
+ Default:
Gets or sets the background color.
+ Default:
-
+
- Gets the compiled regular expression that matches either Text or Regex property. Only used when is true.
+ Scans the for words that should be highlighted.
+ List of words with start-position (Key) and word-length (Value)
-
+
- A descriptor for an archive created with the DateAndSequence numbering mode.
-
-
-
-
- The full name of the archive file.
-
-
-
-
- The parsed date contained in the file name.
-
-
-
-
- The parsed sequence number contained in the file name.
-
-
-
-
- Determines whether produces the same string as the current instance's date once formatted with the current instance's date format.
-
- The date to compare the current object's date to.
- True if the formatted dates are equal, otherwise False.
-
-
-
- Initializes a new instance of the class.
+ Checks whether the specified log event matches the condition (if any).
@@ -22900,7 +20609,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -22984,7 +20693,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -23106,14 +20815,14 @@
all options
JSON escaped string
-
+
Checks input string if it needs JSON escaping, and makes necessary conversion
Destination Builder
Input string
Should non-ASCII characters be encoded
-
+
JSON escaped string
@@ -23126,7 +20835,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -23162,24 +20871,28 @@
Gets or sets the name of the machine on which Event Log service is running.
+ Default:
Gets or sets the layout that renders event ID.
+ Default: ${event-properties:item=EventId}
Gets or sets the layout that renders event Category.
+ Default:
Optional entry type. When not set, or when not convertible to then determined by
+ Default:
@@ -23187,7 +20900,7 @@
Gets or sets the value to be used as the event Source.
- By default this is the friendly name of the current AppDomain.
+ [Required] Default:
@@ -23195,13 +20908,14 @@
Gets or sets the name of the Event Log to write to. This can be System, Application or any user-defined name.
+ [Required] Default: Application
Gets or sets the message length limit to write to the Event Log.
- MaxMessageLength cannot be zero or negative
+ Default:
@@ -23218,6 +20932,7 @@
Gets or sets the action to take if the message is larger than the option.
+ Default:
@@ -23358,142 +21073,60 @@
Discard of the message. It will not be written to the Event Log.
-
+
- Check if cleanup should be performed on initialize new file
-
- Skip cleanup when initializing new file, just after having performed archive operation
-
- Base archive file pattern
- Maximum number of archive files that should be kept
- Maximum days of archive files that should be kept
- True, when archive cleanup is needed
-
-
-
- Characters determining the start of the .
+ Handles the actual file-operations on disk
-
+
- Characters determining the end of the .
+ Writes the specified bytes to a file.
+
+ The bytes array.
+ The bytes array offset.
+ The number of bytes.
+
+
+
+ - Only strict scan for sequence-number (GetTodaysArchiveFiles) when having input "fileLastWriteTime"
+ - Expect optional DateTime-part to be "sortable" (when missing birthtime)
+ - Trim away sequencer-number, so not part of sorting
+ - Use DateTime part from FileSystem for ordering by Date-only, and sort by FileName
-
+
- File name which is used as template for matching and replacements.
- It is expected to contain a pattern to match.
+ Handles the actual file-operations on disk
-
+
- The beginning position of the
- within the . -1 is returned
- when no pattern can be found.
+ Called just before opening a new log-file
+ File-name of the new log-file
+ The first LogEvent for the new log-file
+ Previous file-write-time
+ File-path-suffix for the new log-file
+ Updated for the new file.
-
-
- The ending position of the
- within the . -1 is returned
- when no pattern can be found.
-
-
-
-
- Replace the pattern with the specified String.
-
-
-
-
-
-
- Archives the log-files using a date style numbering. Archives will be stamped with the
- prior period (Year, Month, Day, Hour, Minute) datetime.
-
- When the number of archive files exceed the obsolete archives are deleted.
- When the age of archive files exceed the obsolete archives are deleted.
-
-
-
-
- Archives the log-files using a date and sequence style numbering. Archives will be stamped
- with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in
- combination with the date).
-
- When the number of archive files exceed the obsolete archives are deleted.
- When the age of archive files exceed the obsolete archives are deleted.
-
-
-
-
- Parse filename with date and sequence pattern
-
-
- dateformat for archive
-
- the found pattern. When failed, then default
- the found pattern. When failed, then default
-
-
-
-
- Archives the log-files using the provided base-archive-filename. If the base-archive-filename causes
- duplicate archive filenames, then sequence-style is automatically enforced.
-
- Example:
- Base Filename trace.log
- Next Filename trace.0.log
-
- The most recent archive has the highest number.
-
- When the number of archive files exceed the obsolete archives are deleted.
- When the age of archive files exceed the obsolete archives are deleted.
-
-
-
-
- Dynamically converts a non-template archiveFilePath into a correct archiveFilePattern.
- Before called the original IFileArchiveMode, that has been wrapped by this
-
-
-
+
- Determines if the file name as contains a numeric pattern i.e. {#} in it.
-
- Example:
- trace{#}.log Contains the numeric pattern.
- trace{###}.log Contains the numeric pattern.
- trace{#X#}.log Contains the numeric pattern (See remarks).
- trace.log Does not contain the pattern.
+ Legacy archive logic with file-move of active-file to file-path specified by
- Occasionally, this method can identify the existence of the {#} pattern incorrectly.
- File name to be checked.
- when the pattern is found; otherwise.
-
-
-
- Archives the log-files using a rolling style numbering (the most recent is always #0 then
- #1, ..., #N.
+
+ Kept mostly for legacy reasons, because archive operation can fail because of file-locks by other applications (or by multi-process logging).
- When the number of archive files exceed the obsolete archives
- are deleted.
+ Avoid using when possible, and instead rely on only using and .
+
+
+
+
+ Rolls the active-file to the next sequence-number
-
+
- Replaces the numeric pattern i.e. {#} in a file name with the parameter value.
-
- File name which contains the numeric pattern.
- Value which will replace the numeric pattern.
- File name with the value of in the position of the numeric pattern.
-
-
-
- Archives the log-files using a sequence style numbering. The most recent archive has the highest number.
-
- When the number of archive files exceed the obsolete archives are deleted.
- When the age of archive files exceed the obsolete archives are deleted.
+ Deletes/truncates the active logging-file when archive-roll-event is triggered
@@ -23508,150 +21141,308 @@
- AddToArchive every year.
+ Archive every new year.
- AddToArchive every month.
+ Archive every new month.
- AddToArchive daily.
+ Archive every new day.
- AddToArchive every hour.
+ Archive every new hour.
- AddToArchive every minute.
+ Archive every new minute.
- AddToArchive every Sunday.
+ Archive every Sunday.
- AddToArchive every Monday.
+ Archive every Monday.
- AddToArchive every Tuesday.
+ Archive every Tuesday.
- AddToArchive every Wednesday.
+ Archive every Wednesday.
- AddToArchive every Thursday.
+ Archive every Thursday.
- AddToArchive every Friday.
+ Archive every Friday.
- AddToArchive every Saturday.
+ Archive every Saturday.
-
-
- Type of filepath
-
-
-
-
- Detect of relative or absolute
-
-
-
-
- Relative path
-
-
-
-
- Absolute path
-
- Best for performance
-
- Writes log messages to one or more files.
+ FileTarget for writing formatted messages to one or more log-files.
See NLog Wiki
Documentation on NLog Wiki
-
+
- Default clean up period of the initialized files. When a file exceeds the clean up period is removed from the list.
+ Gets or sets the name of the file to write to.
- Clean up period is defined in days.
+
+ [Required] Default: .
+ When not absolute path then relative path will be resolved against .
+ The FileName Layout supports layout-renderers, where a single FileTarget can write to multiple files.
+
+
+ The following value makes NLog write logging events to files based on the log level in the directory where
+ the application runs.
+ ${basedir}/${level}.log
+ All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on.
+ You can combine as many of the layout renderers as you want to produce an arbitrary log file name.
+
+
-
+
- This value disables file archiving based on the size.
+ Gets or sets a value indicating whether to create directories if they do not exist.
+
+ Default: .
+ Setting this to may improve performance a bit, but will always fail
+ when attempt writing to a non-existing directory.
+
+
-
+
- Holds the initialized files each given time by the instance. Against each file, the last write time is stored.
+ Gets or sets a value indicating whether to delete old log file on startup.
- Last write time is store in local time (no UTC).
+
+ Default: .
+ When current log-file exists, then it is deleted (and resetting sequence number)
+
+
-
+
- List of the associated file appenders with the instance.
+ Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end.
+ Default:
+
-
+
- The number of initialized files at any one time.
+ Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event.
+
+ Default: .
+ KeepFileOpen = gives the best performance, and ensure the file-lock is not lost to other applications.
+ KeepFileOpen = gives the best compatibility, but slow performance and lead to file-locking issues with other applications.
+
+
-
+
- The maximum number of archive files that should be kept.
+ Gets or sets a value indicating whether to enable log file(s) to be deleted.
+ Default:
+
-
+
- The maximum days of archive files that should be kept.
+ Gets or sets the line ending mode.
+ Default:
+
-
+
- The filename as target
+ Gets or sets a value indicating whether to automatically flush the file buffers after each log message.
+ Default:
+
-
+
- The archive file name as target
+ Gets or sets the maximum number of files to be kept open.
+
+ Default: . Higher number might improve performance when single FileTarget
+ is writing to many files (such as splitting by loglevel or by logger-name).
+ Files are closed in LRU (least recently used) ordering, so files unused
+ for longest period are closed first. Careful with number higher than 10-15,
+ because a large number of open files consumes system resources.
+
+
-
+
- The date of the previous log event.
+ Gets or sets the maximum number of seconds that files are kept open. Zero or negative means disabled.
+ Default:
+
-
+
- The file name of the previous log event.
+ Gets or sets the maximum number of seconds before open files are flushed. Zero or negative means disabled.
+ Default:
+
+
+
+
+ Gets or sets the log file buffer size in bytes.
+
+ Default:
+
+
+
+
+ Gets or sets the file encoding.
+
+ Default:
+
+
+
+
+ Gets or sets whether or not this target should just discard all data that its asked to write.
+ Mostly used for when testing NLog Stack except final write
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to write BOM (byte order mark) in created files.
+
+ Default: (Unless UTF16 / UTF32)
+
+
+
+
+ Gets or sets a value indicating whether any existing log-file should be archived on startup.
+
+ Default:
+
+
+
+
+ Gets or sets whether to write the Header on initial creation of file appender, even if the file is not empty.
+ Default value is , which means only write header when initial file is empty (Ex. ensures valid CSV files)
+
+
+ Default: .
+ Alternative use to ensure each application session gets individual log-file.
+
+
+
+
+
+ Gets or sets a value specifying the date format when using .
+ Obsolete and only here for Legacy reasons, instead use .
+
+ Default:
+
+
+
+
+ Gets or sets the size in bytes above which log files will be automatically archived. Zero or negative means disabled.
+
+ Default:
+
+
+
+
+ Gets or sets a value indicating whether to trigger archive operation based on time-period, by moving active-file to file-path specified by
+
+
+ Default: .
+ Archive move operation only works if is static in nature, and not rolling automatically because of ${date} or ${shortdate}
+
+ NLog FileTarget probes the file-birthtime to recognize when time-period has passed, but file-birthtime is not supported by all filesystems.
+
+
+
+
+
+ Legacy archive logic where file-archive-logic moves active file to path specified by , and then recreates the active file.
+
+ Use to control suffix format, instead of now obsolete token {#}
+
+
+ Default: .
+ Archive file-move operation only works if is static in nature, and not rolling automatically because of ${date} or ${shortdate} .
+
+ Legacy archive file-move operation can fail because of file-locks, so file-archiving can stop working because of environment issues (Other applications locking files).
+
+ Avoid using when possible, and instead rely on only using and .
+
+
+
+
+
+ Gets or sets the maximum number of archive files that should be kept. Negative means disabled.
+
+ Default:
+
+
+
+
+ Gets or sets the maximum days of archive files that should be kept. Zero or negative means disabled.
+
+ Default:
+
+
+
+
+ Gets or sets the way file archives are numbered.
+ Obsolete and only here for Legacy reasons, instead use .
+
+ Default: Sequence
+
+
+
+
+ Gets or sets the format-string to convert archive sequence-number by using string.Format
+
+
+ Default: _{0:00} .
+ Ex. to prefix archive sequence number with leading zero's then one can use _{0:000} .
+
+ Legacy archive-logic with can use suffix _{1:yyyyMMdd}_{0:00} .
+
+
+
+
+
+ Gets or sets a value indicating whether the footer should be written only when the file is archived.
+
+ Default:
+
@@ -23670,444 +21461,23 @@
Name of the target.
-
-
- Gets or sets the name of the file to write to.
-
-
- This FileName string is a layout which may include instances of layout renderers.
- This lets you use a single target to write to multiple files.
-
-
- The following value makes NLog write logging events to files based on the log level in the directory where
- the application runs.
- ${basedir}/${level}.log
- All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on.
- You can combine as many of the layout renderers as you want to produce an arbitrary log file name.
-
-
-
-
-
- Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes.
- If set to false, nothing gets written when the filename is wrong.
-
-
-
-
-
- Is the an absolute or relative path?
-
-
-
-
-
- Gets or sets a value indicating whether to create directories if they do not exist.
-
-
- Setting this to false may improve performance a bit, but you'll receive an error
- when attempting to write to a directory that's not present.
-
-
-
-
-
- Gets or sets a value indicating whether to delete old log file on startup.
-
-
- This option works only when the "FileName" parameter denotes a single file.
-
-
-
-
-
- Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end.
-
-
-
-
-
- Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event.
-
-
- KeepFileOpen = true gives the best performance, and ensure the file-lock is not lost to other applications.
- KeepFileOpen = false gives the best compability, but slow performance and lead to file-locking issues with other applications.
-
-
-
-
-
- Gets or sets a value indicating whether to enable log file(s) to be deleted.
-
-
-
-
-
- Gets or sets the file attributes (Windows only).
-
-
-
-
-
- Gets or sets the line ending mode.
-
-
-
-
-
- Gets or sets a value indicating whether to automatically flush the file buffers after each log message.
-
-
-
-
-
- Gets or sets the number of files to be kept open. Setting this to a higher value may improve performance
- in a situation where a single File target is writing to many files
- (such as splitting by level or by logger).
-
-
- The files are managed on a LRU (least recently used) basis, which flushes
- the files that have not been used for the longest period of time should the
- cache become full. As a rule of thumb, you shouldn't set this parameter to
- a very high value. A number like 10-15 shouldn't be exceeded, because you'd
- be keeping a large number of files open which consumes system resources.
-
-
-
-
-
- Gets or sets the maximum number of seconds that files are kept open. Zero or negative means disabled.
-
-
-
-
-
- Gets or sets the maximum number of seconds before open files are flushed. Zero or negative means disabled.
-
-
-
-
-
- Gets or sets the log file buffer size in bytes.
-
-
-
-
-
- Gets or sets the file encoding.
-
-
-
-
-
- Gets or sets whether or not this target should just discard all data that its asked to write.
- Mostly used for when testing NLog Stack except final write
-
-
-
-
-
- Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host.
-
-
- This makes multi-process logging possible. NLog uses a special technique
- that lets it keep the files open for writing.
-
-
-
-
-
- Obsolete and replaced by = false with NLog v5.3.
- Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts.
-
-
- This effectively prevents files from being kept open.
-
-
-
-
-
- Gets or sets a value indicating whether to write BOM (byte order mark) in created files.
-
- Defaults to true for UTF-16 and UTF-32
-
-
-
-
-
- Gets or sets the number of times the write is appended on the file before NLog
- discards the log message.
-
-
-
-
-
- Gets or sets the delay in milliseconds to wait before attempting to write to the file again.
-
-
- The actual delay is a random value between 0 and the value specified
- in this parameter. On each failed attempt the delay base is doubled
- up to times.
-
-
- Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:
- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...
- and so on.
-
-
-
-
-
- Gets or sets a value indicating whether to archive old log file on startup.
-
-
- This option works only when the "FileName" parameter denotes a single file.
- After archiving the old file, the current log file will be empty.
-
-
-
-
-
- Gets or sets whether to write the Header on initial creation of file appender, even if the file is not empty.
- Default value is , which means only write header when initial file is empty (Ex. ensures valid CSV files)
-
-
- Alternative use to ensure each application session gets individual log-file.
-
-
-
-
- Gets or sets a value of the file size threshold to archive old log file on startup.
-
-
- This option won't work if is set to false
- Default value is 0 which means that the file is archived as soon as archival on
- startup is enabled.
-
-
-
-
-
- Gets or sets a value specifying the date format to use when archiving files.
-
-
- This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence.
-
-
-
-
-
- Gets or sets the size in bytes above which log files will be automatically archived.
-
-
- Notice when combined with then it will attempt to append to any existing
- archive file if grown above size multiple times. New archive file will be created when using
-
-
-
-
-
- Gets or sets a value indicating whether to automatically archive log files every time the specified time passes.
-
-
- Files are moved to the archive as part of the write operation if the current period of time changes. For example
- if the current hour changes from 10 to 11, the first write that will occur
- on or after 11:00 will trigger the archiving.
-
-
-
-
-
- Is the an absolute or relative path?
-
-
-
-
-
- Gets or sets the name of the file to be used for an archive.
-
-
- It may contain a special placeholder {#####}
- that will be replaced with a sequence of numbers depending on
- the archiving strategy. The number of hash characters used determines
- the number of numerical digits to be used for numbering files.
-
-
-
-
-
- Gets or sets the maximum number of archive files that should be kept.
-
-
-
-
-
- Gets or sets the maximum days of archive files that should be kept.
-
-
-
-
-
- Gets or sets the way file archives are numbered.
-
-
-
-
-
- Used to compress log files during archiving.
- This may be used to provide your own implementation of a zip file compressor,
- on platforms other than .Net4.5.
- Defaults to ZipArchiveFileCompressor on .Net4.5 and to null otherwise.
-
-
-
-
-
- Gets or sets a value indicating whether to compress archive files into the zip archive format.
-
-
-
-
-
- Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation.
-
-
-
-
-
- Gets or sets a value indicating whether file creation calls should be synchronized by a system global mutex.
-
-
-
-
-
- Gets or sets a value indicating whether the footer should be written only when the file is archived.
-
-
-
-
-
- Gets the characters that are appended after each line.
-
-
-
-
- Refresh the ArchiveFilePatternToWatch option of the .
- The log file must be watched for archiving when multiple processes are writing to the same
- open file.
-
-
-
-
- Removes records of initialized files that have not been
- accessed in the last two days.
-
-
- Files are marked 'initialized' for the purpose of writing footers when the logging finishes.
-
-
-
-
- Removes records of initialized files that have not been
- accessed after the specified date.
-
- The cleanup threshold.
-
- Files are marked 'initialized' for the purpose of writing footers when the logging finishes.
-
-
Flushes all pending file operations.
The asynchronous continuation.
-
- The timeout parameter is ignored, because file APIs don't provide
- the needed functionality.
-
-
-
-
- Returns the suitable appender factory ( ) to be used to generate the file
- appenders associated with the instance.
-
- The type of the file appender factory returned depends on the values of various properties.
-
- suitable for this instance.
-
- Initializes file logging by creating data structures that
- enable efficient multi-file logging.
-
+
-
- Closes the file(s) opened for writing.
-
+
-
- Writes the specified logging event to a file specified in the FileName
- parameter.
-
- The logging event.
-
-
-
- Get full filename (=absolute) and cleaned if needed.
-
-
-
+
-
- Writes the specified array of logging events to a file specified in the FileName
- parameter.
-
- An array of objects.
-
- This function makes use of the fact that the events are batched by sorting
- the requests by filename. This optimizes the number of open/close calls
- and can help improve performance.
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Formats the log event for write.
-
- The log event to be formatted.
- A string representation of the log event.
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets the bytes to be written to the file.
-
- Log event.
- Array of bytes that are ready to be written.
-
-
-
- Obsolete and replaced by with NLog v5.
- Modifies the specified byte array before it gets sent to a file.
-
- The byte array.
- The modified byte array. The function can do the modification in-place.
-
-
-
- Gets the bytes to be written to the file.
-
- The log event to be formatted.
- to help format log event.
- Optional temporary char-array to help format log event.
- Destination for the encoded result.
+
@@ -24116,31 +21486,6 @@
The log event to be formatted.
for the result.
-
-
- Modifies the specified byte array before it gets sent to a file.
-
- The LogEvent being written
- The byte array.
-
-
-
- Archives fileName to archiveFileName.
-
- File name to be archived.
- Name of the archive file.
-
-
-
- Gets the correct formatting to be used based on the value of for converting values which will be inserting into file
- names during archiving.
-
- This value will be computed only when a empty value or is passed into
-
- Date format to used irrespectively of value.
- Formatting for dates.
-
Calculate the DateTime of the requested day of the week.
@@ -24151,152 +21496,6 @@
For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return
Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09.
-
-
- Invokes the archiving process after determining when and which type of archiving is required.
-
- File name to be checked and archived.
- Log event that the instance is currently processing.
- The DateTime of the previous log event for this file.
- File has just been opened.
-
-
-
- Gets the pattern that archive files will match
-
- Filename of the log file
- Log event that the instance is currently processing.
- A string with a pattern that will match the archive filenames
-
-
-
- Archives the file if it should be archived.
-
- The file name to check for.
- Log event that the instance is currently processing.
- The size in bytes of the next chunk of data to be written in the file.
- The DateTime of the previous log event for this file.
- File has just been opened.
- True when archive operation of the file was completed (by this target or a concurrent target)
-
-
-
- Closes any active file-appenders that matches the input filenames.
- File-appender is requested to invalidate/close its filehandle, but keeping its archive-mutex alive
-
-
-
-
- Indicates if the automatic archiving process should be executed.
-
- File name to be written.
- Log event that the instance is currently processing.
- The size in bytes of the next chunk of data to be written in the file.
- The DateTime of the previous log event for this file.
- File has just been opened.
- Filename to archive. If null, then nothing to archive.
-
-
-
- Returns the correct filename to archive
-
-
-
-
- Gets the file name for archiving, or null if archiving should not occur based on file size.
-
- File name to be written.
- The size in bytes of the next chunk of data to be written in the file.
- File has just been opened.
- Filename to archive. If null, then nothing to archive.
-
-
-
- Check if archive operation should check previous filename, because FileAppenderCache tells us current filename no longer exists
-
-
-
-
- Returns the file name for archiving, or null if archiving should not occur based on date/time.
-
- File name to be written.
- Log event that the instance is currently processing.
- The DateTime of the previous log event for this file.
- File has just been opened.
- Filename to archive. If null, then nothing to archive.
-
-
-
- Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks
-
- High resolution Time
- Time Resolution Level
- Truncated Low Resolution Time
-
-
-
- Evaluates which parts of a file should be written (header, content, footer) based on various properties of
- instance and writes them.
-
- File name to be written.
- Raw sequence of to be written into the content part of the file.
- File has just been opened.
-
-
-
- Initialize a file to be used by the instance. Based on the number of initialized
- files and the values of various instance properties clean up and/or archiving processes can be invoked.
-
- File name to be written.
- Log event that the instance is currently processing.
- The DateTime of the previous log event for this file (DateTime.MinValue if just initialized).
-
-
-
- Writes the file footer and finalizes the file in instance internal structures.
-
- File name to close.
- Indicates if the file is being finalized for archiving.
-
-
-
- Writes the footer information to a file.
-
- The file path to write to.
-
-
-
- Decision logic whether to archive logfile on startup.
- and properties.
-
- File name to be written.
- Decision whether to archive or not.
-
-
-
- Invokes the archiving and clean up of older archive file based on the values of
- and
- properties respectively.
-
- File name to be written.
- Log event that the instance is currently processing.
-
-
-
- Creates the file specified in and writes the file content in each entirety i.e.
- Header, Content and Footer.
-
- The name of the file to be written.
- Sequence of to be written in the content section of the file.
- First attempt to write?
- This method is used when the content of the log file is re-written on every write.
-
-
-
- Writes the header information and byte order mark to a file.
-
- File appender associated with the file.
-
The sequence of to be written in a file after applying any formatting and any
@@ -24306,19 +21505,13 @@
Sequence of to be written.
Usually it is used to render the header and hooter of the files.
-
+
- may be configured to compress archived files in a custom way
- by setting before logging your first event.
+ Creates stream for appending to the specified
-
-
-
- Create archiveFileName by compressing fileName.
-
- Absolute path to the log file to compress.
- Absolute path to the compressed archive file to create.
- The name of the file inside the archive.
+ Path of the file to be written
+ Wanted internal buffer size for the stream
+ Stream for appending to the file
@@ -24397,60 +21590,6 @@
Default row highlight rules for the console printer
-
-
- Check if cleanup should be performed on initialize new file
-
- Base archive file pattern
- Maximum number of archive files that should be kept
- Maximum days of archive files that should be kept
- True, when archive cleanup is needed
-
-
-
- Create a wildcard file-mask that allows one to find all files belonging to the same archive.
-
- Base archive file pattern
- Wildcard file-mask
-
-
-
- Search directory for all existing files that are part of the same archive.
-
- Base archive file pattern
-
-
-
-
- Generate the next archive filename for the archive.
-
- Base archive file pattern
- File date of archive
- Existing files in the same archive
-
-
-
-
- Return all files that should be removed from the provided archive.
-
- Base archive file pattern
- Existing files in the same archive
- Maximum number of archive files that should be kept
- Maximum days of archive files that should be kept
-
-
-
- may be configured to compress archived files in a custom way
- by setting before logging your first event.
-
-
-
-
- Create archiveFileName by compressing fileName.
-
- Absolute path to the log file to compress.
- Absolute path to the compressed archive file to create.
-
Options for JSON serialization
@@ -24460,43 +21599,57 @@
Add quotes around object keys?
+ Default:
Format provider for value
+ Default:
Format string for value
+ Default:
- Should non-ascii characters be encoded
+ Should non-ascii characters be encoded.
+ Default:
- Should forward slashes be escaped? If true, / will be converted to \/
+ Should forward slashes be escaped? If , / will be converted to \/
+ Default:
- Serialize enum as string value
+ Serialize enum as integer value.
+ Default:
+
+
+
+ Gets or sets the option to suppress the extra spaces in the output json.
+
+ Default:
-
- Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_).
+
+ Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_).
- Any other characters will be converted to underscore character (_)
-
+ Any other characters will be converted to underscore character (_)
+
+ Default:
How far down the rabbit hole should the Json Serializer go with object-reflection before stopping
+ Default:
@@ -24505,7 +21658,7 @@
- Insert platform-dependent end-of-line sequence after each line.
+ Insert platform-dependent sequence after each line.
@@ -24540,7 +21693,7 @@
- Gets the new line characters (value) of the LineEndingMode instance.
+ Gets the new line characters (value) of the LineEndingMode instance.
@@ -24563,7 +21716,7 @@
- Compares two objects and returns a
+ Compares two objects and returns a
value indicating whether the first one is equal to the second one.
The first level.
@@ -24572,7 +21725,7 @@
- Compares two objects and returns a
+ Compares two objects and returns a
value indicating whether the first one is not equal to the second one.
The first mode
@@ -24590,7 +21743,7 @@
Indicates whether the current object is equal to another object of the same type.
- true if the current object is equal to the parameter; otherwise, false.
+ if the current object is equal to the parameter; otherwise, .
An object to compare with this object.
@@ -24604,259 +21757,6 @@
-
-
- Sends log messages by email using SMTP protocol.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
- Mail target works best when used with BufferingWrapper target
- which lets you send multiple log messages in single mail
-
-
- To set up the buffered mail target in the configuration file,
- use the following syntax:
-
-
-
- To set up the buffered mail target programmatically use code like this:
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
-
-
-
- Gets the mailSettings/smtp configuration from app.config in cases when we need those configuration.
- E.g when UseSystemNetMailSettings is enabled and we need to read the From attribute from system.net/mailSettings/smtp
-
- Internal for mocking
-
-
-
- Gets or sets sender's email address (e.g. joe@domain.com).
-
-
-
-
-
- Gets or sets recipients' email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
-
-
-
-
-
- Gets or sets CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
-
-
-
-
-
- Gets or sets BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
-
-
-
-
-
- Gets or sets a value indicating whether to add new lines between log entries.
-
- A value of true if new lines should be added; otherwise, false.
-
-
-
-
- Gets or sets the mail subject.
-
-
-
-
-
- Gets or sets mail message body (repeated for each log message send in one mail).
-
- Alias for the Layout property.
-
-
-
-
- Gets or sets encoding to be used for sending e-mail.
-
-
-
-
-
- Gets or sets a value indicating whether to send message as HTML instead of plain text.
-
-
-
-
-
- Gets or sets SMTP Server to be used for sending.
-
-
-
-
-
- Gets or sets SMTP Authentication mode.
-
-
-
-
-
- Gets or sets the username used to connect to SMTP server (used when SmtpAuthentication is set to "basic").
-
-
-
-
-
- Gets or sets the password used to authenticate against SMTP server (used when SmtpAuthentication is set to "basic").
-
-
-
-
-
- Gets or sets a value indicating whether SSL (secure sockets layer) should be used when communicating with SMTP server.
-
- .
-
-
-
- Gets or sets the port number that SMTP Server is listening on.
-
-
-
-
-
- Gets or sets a value indicating whether the default Settings from System.Net.MailSettings should be used.
-
-
-
-
-
- Specifies how outgoing email messages will be handled.
-
-
-
-
-
- Gets or sets the folder where applications save mail messages to be processed by the local SMTP server.
-
-
-
-
-
- Gets or sets the priority used for sending mails.
-
-
-
-
-
- Gets or sets a value indicating whether NewLine characters in the body should be replaced with
tags.
-
- Only happens when is set to true.
-
-
-
-
- Gets or sets a value indicating the SMTP client timeout.
-
- Warning: zero is not infinite waiting
-
-
-
-
- Gets the array of email headers that are transmitted with this email message
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Create mail and send with SMTP
-
- event printed in the body of the event
-
-
-
- Create buffer for body
-
- all events
- first event for header
- last event for footer
-
-
-
-
- Set properties of
-
- last event for username/password
- client to set properties on
- Configure not at , as the properties could have layout renderers.
-
-
-
- Handle if it is a virtual directory.
-
-
-
-
-
-
- Create key for grouping. Needed for multiple events in one mail message
-
- event for rendering layouts
- string to group on
-
-
-
- Create the mail message with the addresses, properties and body.
-
-
-
-
- Render and add the addresses to
-
- Addresses appended to this list
- layout with addresses, ; separated
- event for rendering the
- added a address?
-
Writes log messages to in memory for programmatic retrieval.
@@ -24867,7 +21767,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -24904,8 +21804,9 @@
- Gets or sets the max number of items to have in memory
+ Gets or sets the max number of items to have in memory. Zero or Negative means no limit.
+ Default: 0
@@ -24955,12 +21856,14 @@
Gets or sets the name of the parameter.
+ [Required] Default:
- Gets or sets the layout that should be use to calculate the value for the parameter.
+ Gets or sets the layout used for rendering the method-parameter value.
+ [Required] Default:
@@ -24968,18 +21871,21 @@
Obsolete and replaced by with NLog v4.6.
Gets or sets the type of the parameter. Obsolete alias for
+ Default: typeof(string)
- Gets or sets the type of the parameter.
+ Gets or sets the type of the parameter.
+ Default: typeof(string)
Gets or sets the fallback value when result value is not available
+ Default:
@@ -24999,7 +21905,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -25014,15 +21920,16 @@
Gets or sets the class name.
+ Default:
-
- Gets or sets the method name. The method must be public and static.
+
+ Gets or sets the method name. The method must be public and static.
- Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx
- e.g.
-
-
+ Use the AssemblyQualifiedName -
+
+ Default:
+
@@ -25054,13 +21961,13 @@
- Calls the specified Method.
+ Calls the specified Method.
Method parameters.
- The base class for all targets which call methods (local or remote).
+ The base class for all targets which call methods (local or remote).
Manages parameters and type coercion.
@@ -25088,570 +21995,12 @@
Method call parameters.
The logging event.
-
-
- Calls the target DoInvoke method, and handles AsyncContinuation callback
-
- Method call parameters.
- The continuation.
-
Calls the target method. Must be implemented in concrete classes.
Method call parameters.
-
-
- Arguments for events.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Creates new instance of NetworkTargetLogEventDroppedEventArgs
-
-
-
-
- The reason why log was dropped
-
-
-
-
- The reason why log event was dropped by
-
-
-
-
- Discarded LogEvent because message is bigger than
-
-
-
-
- Discarded LogEvent because message queue was bigger than
-
-
-
-
- Discarded LogEvent because attempted to open more than connections
-
-
-
-
- Discarded LogEvent because of network communication error
-
-
-
-
- Sends log messages over the network.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
- To print the results, use any application that's able to receive messages over
- TCP or UDP. NetCat is
- a simple but very powerful command-line tool that can be used for that. This image
- demonstrates the NetCat tool receiving log messages from Network target.
-
-
-
- There are two specialized versions of the Network target: Chainsaw
- and NLogViewer which write to instances of Chainsaw log4j viewer
- or NLogViewer application respectively.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
-
-
-
- Gets or sets the network address.
-
-
- The network address can be:
-
- - tcp://host:port - TCP (auto select IPv4/IPv6)
- - tcp4://host:port - force TCP/IPv4
- - tcp6://host:port - force TCP/IPv6
- - udp://host:port - UDP (auto select IPv4/IPv6)
- - udp4://host:port - force UDP/IPv4
- - udp6://host:port - force UDP/IPv6
- - http://host:port/pageName - HTTP using POST verb
- - https://host:port/pageName - HTTPS using POST verb
-
- For SOAP-based webservice support over HTTP use WebService target.
-
-
-
-
-
- Gets or sets a value indicating whether to keep connection open whenever possible.
-
-
-
-
-
- Gets or sets a value indicating whether to append newline at the end of log message.
-
-
-
-
-
- Gets or sets the end of line value if a newline is appended at the end of log message .
-
-
-
-
-
- Gets or sets the maximum message size in bytes. On limit breach then action is activated.
-
-
-
-
-
- Gets or sets the maximum simultaneous connections. Requires = false
-
-
- When having reached the maximum limit, then action will apply.
-
-
-
-
-
- Gets or sets the action that should be taken, when more connections than .
-
-
-
-
-
- Gets or sets the maximum queue size for a single connection. Requires = true
-
-
- When having reached the maximum limit, then action will apply.
-
-
-
-
-
- Gets or sets the action that should be taken, when more pending messages than .
-
-
-
-
-
- Occurs when LogEvent has been dropped.
-
-
- - When internal queue is full and set to
- - When connection-list is full and set to
- - When message is too big and set to
-
-
-
-
- Gets or sets the size of the connection cache (number of connections which are kept alive). Requires = true
-
-
-
-
-
- Gets or sets the action that should be taken if the message is larger than
-
-
- For TCP sockets then means no-limit, as TCP sockets
- performs splitting automatically.
-
- For UDP Network sender then means splitting the message
- into smaller chunks. This can be useful on networks using DontFragment, which drops network packages
- larger than MTU-size (1472 bytes).
-
-
-
-
-
- Gets or sets the encoding to be used.
-
-
-
-
-
- Gets or sets the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP.
-
-
-
-
-
- The number of seconds a connection will remain idle before the first keep-alive probe is sent
-
-
-
-
-
- Type of compression for protocol payload. Useful for UDP where datagram max-size is 8192 bytes.
-
-
-
-
- Skip compression when protocol payload is below limit to reduce overhead in cpu-usage and additional headers
-
-
-
-
- Flush any pending log messages asynchronously (in case of asynchronous targets).
-
- The asynchronous continuation.
-
-
-
-
-
-
- Sends the
- rendered logging event over the network optionally concatenating it with a newline character.
-
- The logging event.
-
-
-
- Try to remove.
-
-
-
-
- removed something?
-
-
-
- Gets the bytes to be written.
-
- Log event.
- Byte array.
-
-
-
- Type of compression for protocol payload
-
-
-
-
- No compression
-
-
-
-
- GZip optimal compression
-
-
-
-
- GZip fastest compression
-
-
-
-
- The action to be taken when there are more connections then the max.
-
-
-
-
- Allow new connections when reaching max connection limit
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Just allow it.
-
-
-
-
- Discard new messages when reaching max connection limit
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Discard the connection item.
-
-
-
-
- Block until there's more room in the queue.
-
-
-
-
- Action that should be taken if the message overflows.
-
-
-
-
- Report an error.
-
-
-
-
- Split the message into smaller pieces. Only relevant for UDP sockets, as TCP sockets does it automatically.
-
-
- Udp-Network-Sender will split the message into smaller chunks that matches .
- This can avoid network-package-drop when network uses DontFragment and message is larger than MTU-size (1472 bytes).
-
-
-
-
- Discard the entire message.
-
-
-
-
- The action to be taken when the queue overflows.
-
-
-
-
- Grow the queue.
-
-
-
-
- Discard the overflowing item.
-
-
-
-
- Block until there's more room in the queue.
-
-
-
-
- Represents a parameter to a NLogViewer target.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets viewer parameter name.
-
-
-
-
-
- Gets or sets the layout that should be use to calculate the value for the parameter.
-
-
-
-
-
- Gets or sets whether an attribute with empty value should be included in the output
-
-
-
-
-
- Sends log messages to the remote instance of NLog Viewer.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
-
-
-
- Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema.
-
-
-
-
-
- Gets or sets the log4j:event logger-xml-attribute. Default: ${logger}
-
-
-
-
-
- Gets or sets the log4j:event message-xml-element. Default: ${message}
-
-
-
-
-
- Gets or sets the log4j:event log4japp-xml-element. By default it's the friendly name of the current AppDomain.
-
-
-
-
-
- Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network.
-
-
-
-
-
- Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include dictionary contents.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets whether to include the contents of the properties-dictionary.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets the separator for operation-states-stack.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include dictionary contents.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include contents of the stack.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets or sets the stack separator for log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets the stack separator for log4j:NDC in output from nested context.
-
-
-
-
-
- Gets the collection of parameters. Each parameter contains a mapping
- between NLog layout and a named parameter.
-
-
-
-
-
- Gets the layout renderer which produces Log4j-compatible XML events.
-
-
-
-
- Gets or sets the instance of that is used to format log messages.
-
-
-
Discards log messages. Used mainly for debugging and benchmarking.
@@ -25662,7 +22011,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -25676,6 +22025,7 @@
Gets or sets a value indicating whether to perform layout calculation.
+ Default:
@@ -25696,26 +22046,6 @@
The logging event.
-
-
- SMTP authentication modes.
-
-
-
-
- No authentication.
-
-
-
-
- Basic - username and password.
-
-
-
-
- NTLM Authentication.
-
-
Represents logging target.
@@ -25733,6 +22063,7 @@
Gets or sets the name of the target.
+ [Required] Default:
@@ -25743,16 +22074,16 @@
-
- NLog Layout are by default threadsafe, so multiple threads can be rendering logevents at the same time.
- This ensure high concurrency with no lock-congestion for the application-threads, especially when using
- or AsyncTaskTarget.
+
+ NLog Layout are by default threadsafe, so multiple threads can be rendering logevents at the same time.
+ This ensure high concurrency with no lock-congestion for the application-threads, especially when using
+ or AsyncTaskTarget.
- But if using custom or that are not
- threadsafe, then this option can enabled to protect against thread-concurrency-issues. Allowing one
- to update to NLog 5.0 without having to fix custom/external layout-dependencies.
-
-
+ But if using custom or that are not
+ threadsafe, then this option can enabled to protect against thread-concurrency-issues. Allowing one
+ to update to NLog 5.0 without having to fix custom/external layout-dependencies.
+
+
@@ -25842,7 +22173,7 @@
Releases unmanaged and - optionally - managed resources.
- True to release both managed and unmanaged resources; false to release only unmanaged resources.
+ to release both managed and unmanaged resources; to release only unmanaged resources.
@@ -25874,15 +22205,15 @@
Async Log event to be written out.
-
- Writes a log event to the log target, in a thread safe manner.
- Any override of this method has to provide their own synchronization mechanism.
+
+ Writes a log event to the log target, in a thread safe manner.
+ Any override of this method has to provide their own synchronization mechanism.
- !WARNING! Custom targets should only override this method if able to provide their
- own synchronization mechanism. -objects are not guaranteed to be
- thread-safe, so using them without a SyncRoot-object can be dangerous.
-
- Log event to be written out.
+ !WARNING! Custom targets should only override this method if able to provide their
+ own synchronization mechanism. -objects are not guaranteed to be
+ thread-safe, so using them without a SyncRoot-object can be dangerous.
+
+ Log event to be written out.
@@ -25893,15 +22224,15 @@
Logging events to be written out.
-
- Writes an array of logging events to the log target, in a thread safe manner.
- Any override of this method has to provide their own synchronization mechanism.
+
+ Writes an array of logging events to the log target, in a thread safe manner.
+ Any override of this method has to provide their own synchronization mechanism.
- !WARNING! Custom targets should only override this method if able to provide their
- own synchronization mechanism. -objects are not guaranteed to be
- thread-safe, so using them without a SyncRoot-object can be dangerous.
-
- Logging events to be written out.
+ !WARNING! Custom targets should only override this method if able to provide their
+ own synchronization mechanism. -objects are not guaranteed to be
+ thread-safe, so using them without a SyncRoot-object can be dangerous.
+
+ Logging events to be written out.
@@ -25935,31 +22266,31 @@
Avoid calling this while handling a LogEvent, since random deadlocks can occur.
-
- Should the exception be rethrown?
-
- Upgrade to private protected when using C# 7.2
+
+ Should the exception be rethrown?
+
+ Upgrade to private protected when using C# 7.2
-
- Obsolete and replaced by with NLog v5.2.
+
+ Obsolete and replaced by with NLog v5.2.
- Register a custom Target.
-
- Short-cut for registering to default
- Type of the Target.
- The target type-alias for use in NLog configuration
+ Register a custom Target.
+
+ Short-cut for registering to default
+ Type of the Target.
+ The target type-alias for use in NLog configuration
-
- Obsolete and replaced by with NLog v5.2.
+
+ Obsolete and replaced by with NLog v5.2.
- Register a custom Target.
-
- Short-cut for registering to default
- Type of the Target.
- The target type-alias for use in NLog configuration
+ Register a custom Target.
+
+ Short-cut for registering to default
+ Type of the Target.
+ The target type-alias for use in NLog configuration
@@ -25984,7 +22315,7 @@
- Attribute details for
+ Attribute details for
@@ -26001,32 +22332,37 @@
- Gets or sets the name of the attribute.
+ Gets or sets the name of the property.
+ [Required] Default:
- Gets or sets the layout that will be rendered as the attribute's value.
+ Gets or sets the layout used for rendering the property value.
+ [Required] Default:
Gets or sets the type of the property.
+ Default:
Gets or sets the fallback value when result value is not available
+ Default:
- Gets or sets when an empty value should cause the property to be included
+ Gets or sets whether empty property value should be included in the output.
+ Default: . Empty value is either null or empty string
@@ -26051,11 +22387,10 @@
{
this.Host = "localhost";
}
-
- [RequiredParameter]
+
public Layout Host { get; set; }
- protected override void Write(LogEventInfo logEvent)
+ protected override void Write(LogEventInfo logEvent)
{
string logMessage = this.RenderLogEvent(this.Layout, logEvent);
string hostName = this.RenderLogEvent(this.Host, logEvent);
@@ -26078,18 +22413,21 @@
Gets or sets the option to include all properties from the log events
+ Default:
Gets or sets whether to include the contents of the properties-dictionary.
+ Default:
Gets or sets whether to include the contents of the nested-state-stack.
+ Default:
@@ -26097,6 +22435,7 @@
Obsolete and replaced by with NLog v5.
Gets or sets whether to include the contents of the -dictionary.
+ Default:
@@ -26104,6 +22443,7 @@
Obsolete and replaced by with NLog v5.
Gets or sets whether to include the contents of the -stack.
+ Default:
@@ -26111,6 +22451,7 @@
Obsolete and replaced by with NLog v5.
Gets or sets whether to include the contents of the -properties.
+ Default:
@@ -26118,24 +22459,28 @@
Obsolete and replaced by with NLog v5.
Gets or sets whether to include the contents of the -stack.
+ Default:
Gets or sets a value indicating whether to include contents of the dictionary
+ Default:
Gets or sets a value indicating whether to include call site (class and method name) in the
+ Default:
Gets or sets a value indicating whether to include source info (file name and line number) in the
+ Default:
@@ -26146,7 +22491,7 @@
- List of property names to exclude when is true
+ List of property names to exclude when is
@@ -26155,12 +22500,15 @@
Constructor
+
+
+
Check if logevent has properties (or context properties)
- True if properties should be included
+ if properties should be included
@@ -26174,7 +22522,7 @@
Checks if any context properties, and if any returns them as a single dictionary
- Optional prefilled dictionary
+ Optional pre-allocated dictionary for the snapshot
Dictionary with any context properties for the logEvent (Null if none found)
@@ -26202,14 +22550,6 @@
Dictionary of context values
New (unique) value (or null to skip value). If the same value is used then the item will be overwritten
-
-
- Obsolete and replaced by with NLog v5.
- Returns the captured snapshot of for the
-
-
- Dictionary with MDC context if any, else null
-
Returns the captured snapshot of dictionary for the
@@ -26217,22 +22557,6 @@
Dictionary with ScopeContext properties if any, else null
-
-
- Obsolete and replaced by with NLog v5.
- Returns the captured snapshot of for the
-
-
- Dictionary with MDLC context if any, else null
-
-
-
- Obsolete and replaced by with NLog v5.
- Returns the captured snapshot of for the
-
-
- Collection with NDC context if any, else null
-
Returns the captured snapshot of nested states from for the
@@ -26240,14 +22564,6 @@
Collection of nested state objects if any, else null
-
-
- Obsolete and replaced by with NLog v5.
- Returns the captured snapshot of for the
-
-
- Collection with NDLC context if any, else null
-
Takes snapshot of for the
@@ -26256,35 +22572,6 @@
Optional pre-allocated dictionary for the snapshot
Dictionary with GDC context if any, else null
-
-
- Obsolete and replaced by with NLog v5.
- Takes snapshot of for the
-
-
- Optional pre-allocated dictionary for the snapshot
- Dictionary with MDC context if any, else null
-
-
-
- Obsolete and replaced by with NLog v5.
- Take snapshot of a single object value from
-
- Log event
- MDC key
- MDC value
- Snapshot of MDC value
- Include object value in snapshot
-
-
-
- Obsolete and replaced by with NLog v5.
- Takes snapshot of for the
-
-
- Optional pre-allocated dictionary for the snapshot
- Dictionary with MDLC context if any, else null
-
Takes snapshot of dictionary for the
@@ -26293,17 +22580,6 @@
Optional pre-allocated dictionary for the snapshot
Dictionary with ScopeContext properties if any, else null
-
-
- Obsolete and replaced by with NLog v5.
- Take snapshot of a single object value from
-
- Log event
- MDLC key
- MDLC value
- Snapshot of MDLC value
- Include object value in snapshot
-
Take snapshot of a single object value from dictionary
@@ -26314,32 +22590,6 @@
Snapshot of ScopeContext property-value
Include object value in snapshot
-
-
- Obsolete and replaced by with NLog v5.
- Takes snapshot of for the
-
-
- Collection with NDC context if any, else null
-
-
-
- Obsolete and replaced by with NLog v5.
- Take snapshot of a single object value from
-
- Log event
- NDC value
- Snapshot of NDC value
- Include object value in snapshot
-
-
-
- Obsolete and replaced by with NLog v5.
- Takes snapshot of for the
-
-
- Collection with NDLC context if any, else null
-
Takes snapshot of nested states from for the
@@ -26347,16 +22597,6 @@
Collection with stack items if any, else null
-
-
- Obsolete and replaced by with NLog v5.
- Take snapshot of a single object value from
-
- Log event
- NDLC value
- Snapshot of NDLC value
- Include object value in snapshot
-
Take snapshot of a single object value from nested states
@@ -26376,6 +22616,20 @@
Snapshot of value
Include object value in snapshot
+
+
+ Returns the captured snapshot of for the
+
+
+ Collection with NDLC context if any, else null
+
+
+
+ Returns the captured snapshot of for the
+
+
+ Dictionary with MDLC context if any, else null
+
Internal Layout that allows capture of properties-dictionary
@@ -26403,9 +22657,7 @@
Gets or sets the layout used to format log messages.
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
+ [Required] Default: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
@@ -26422,452 +22674,22 @@
-
- Gets or sets the text to be rendered.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
-
+
Gets or sets the footer.
+ Default:
Gets or sets the header.
+ Default:
-
-
- Gets or sets the layout with header and footer.
-
- The layout with header and footer.
-
-
-
- Sends log messages through System.Diagnostics.Trace.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Force use independent of
-
-
-
-
-
- Forward to (Instead of )
-
-
- Trace.Fail can have special side-effects, and give fatal exceptions, message dialogs or Environment.FailFast
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
-
-
-
-
-
-
-
-
-
- Writes the specified logging event to the facility.
-
- Redirects the log message depending on and .
- When is false:
- - writes to
- - writes to
- - writes to
- - writes to
- - writes to
- - writes to
-
- The logging event.
-
-
-
- Web service protocol.
-
-
-
-
- Use SOAP 1.1 Protocol.
-
-
-
-
- Use SOAP 1.2 Protocol.
-
-
-
-
- Use HTTP POST Protocol.
-
-
-
-
- Use HTTP GET Protocol.
-
-
-
-
- Do an HTTP POST of a JSON document.
-
-
-
-
- Do an HTTP POST of an XML document.
-
-
-
-
- Web Service Proxy Configuration Type
-
-
-
-
- Default proxy configuration from app.config (System.Net.WebRequest.DefaultWebProxy)
-
-
- Example of how to configure default proxy using app.config
-
- <system.net>
- <defaultProxy enabled = "true" useDefaultCredentials = "true" >
- <proxy usesystemdefault = "True" />
- </defaultProxy>
- </system.net>
-
-
-
-
-
- Automatic use of proxy with authentication (cached)
-
-
-
-
- Disables use of proxy (fast)
-
-
-
-
- Custom proxy address (cached)
-
-
-
-
- Calls the specified web service on each log message.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
- The web service must implement a method that accepts a number of string parameters.
-
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
- The example web service that works with this example is shown below
-
-
-
-
-
- dictionary that maps a concrete implementation
- to a specific -value.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the target
-
-
-
- Gets or sets the web service URL.
-
-
-
-
-
- Gets or sets the value of the User-agent HTTP header.
-
-
-
-
-
- Gets or sets the Web service method name. Only used with Soap.
-
-
-
-
-
- Gets or sets the Web service namespace. Only used with Soap.
-
-
-
-
-
- Gets or sets the protocol to be used when calling web service.
-
-
-
-
-
- Gets or sets the proxy configuration when calling web service
-
-
- Changing ProxyType on Net5 (or newer) will turn off Http-connection-pooling
-
-
-
-
-
- Gets or sets the custom proxy address, include port separated by a colon
-
-
-
-
-
- Should we include the BOM (Byte-order-mark) for UTF? Influences the property.
-
- This will only work for UTF-8.
-
-
-
-
-
- Gets or sets the encoding.
-
-
-
-
-
- Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs)
-
- A value of true if Rfc3986; otherwise, false for legacy Rfc2396.
-
-
-
-
- Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard)
-
- A value of true if legacy encoding; otherwise, false for standard UTF8 encoding.
-
-
-
-
- Gets or sets the name of the root XML element,
- if POST of XML document chosen.
- If so, this property must not be null.
- (see and ).
-
-
-
-
-
- Gets or sets the (optional) root namespace of the XML document,
- if POST of XML document chosen.
- (see and ).
-
-
-
-
-
- Gets the array of parameters to be passed.
-
-
-
-
-
- Indicates whether to pre-authenticate the HttpWebRequest (Requires 'Authorization' in parameters)
-
-
-
-
-
- Calls the target method. Must be implemented in concrete classes.
-
- Method call parameters.
-
-
-
- Calls the target DoInvoke method, and handles AsyncContinuation callback
-
- Method call parameters.
- The continuation.
-
-
-
- Invokes the web service method.
-
- Parameters to be passed.
- The logging event.
-
-
-
-
-
-
-
-
-
- Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol.
-
-
-
-
- Write from input to output. Fix the UTF-8 bom
-
-
-
-
- base class for POST formatters, that
- implement former PrepareRequest() method,
- that creates the content for
- the requested kind of HTTP request
-
-
-
-
- Win32 file attributes.
-
-
- For more information see https://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp.
-
-
-
-
- Read-only file.
-
-
-
-
- Hidden file.
-
-
-
-
- System file.
-
-
-
-
- File should be archived.
-
-
-
-
- Device file.
-
-
-
-
- Normal file.
-
-
-
-
- File is temporary (should be kept in cache and not
- written to disk if possible).
-
-
-
-
- Sparse file.
-
-
-
-
- Reparse point.
-
-
-
-
- Compress file contents.
-
-
-
-
- File should not be indexed by the content indexing service.
-
-
-
-
- Encrypted file.
-
-
-
-
- The system writes through any intermediate cache and goes directly to disk.
-
-
-
-
- The system opens a file with no system caching.
-
-
-
-
- Delete file after it is closed.
-
-
-
-
- A file is accessed according to POSIX rules.
-
-
Asynchronous request queue.
@@ -26877,7 +22699,7 @@
Initializes a new instance of the AsyncRequestQueue class.
- Request limit.
+ Queue max size.
The overflow action.
@@ -26913,9 +22735,9 @@
Clears the queue.
-
+
- Gets or sets the request limit.
+ Gets or sets the queue max-size
@@ -26942,7 +22764,7 @@
- Raise event when RequestCount overflow
+ Raise event when RequestCount overflow
current requests count
@@ -26975,7 +22797,7 @@
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27016,12 +22838,14 @@
Gets or sets the number of log events that should be processed in a batch
by the lazy writer thread.
+ Default:
Gets or sets the time in milliseconds to sleep between batches. (1 or less means trigger on new activity)
+ Default: ms
@@ -27039,30 +22863,28 @@
Gets or sets the action to be taken when the lazy writer thread request queue count
exceeds the set limit.
+ Default:
Gets or sets the limit on the number of requests in the lazy writer thread request queue.
+ Default:
Gets or sets the number of batches of to write before yielding into
-
- Performance is better when writing many small batches, than writing a single large batch
-
+ Default: . Better performance when writing small batches, than single large batch.
Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue
-
- The locking queue is less concurrent when many logger threads, but reduces memory allocation
-
+ Default: . Queue with Monitor.Lock is less concurrent when many logger threads, but reduces memory allocation
@@ -27097,7 +22919,7 @@
Attempts to start an instant timer-worker-thread which can write
queued log messages.
- Returns true when scheduled a timer-worker-thread
+ Returns when scheduled a timer-worker-thread
@@ -27117,7 +22939,7 @@
- Write to queue without locking
+ Write to queue without locking
@@ -27152,7 +22974,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27167,20 +22989,21 @@
Gets or sets the condition expression. Log events who meet this condition will cause
a flush on the wrapped target.
+ Default:
Delay the flush until the LogEvent has been confirmed as written
- If not explicitly set, then disabled by default for and AsyncTaskTarget
-
+ Default: . When not explicitly set, then automatically disabled when or AsyncTaskTarget
Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush
+ Default:
@@ -27276,13 +23099,15 @@
Gets or sets the number of log events to be buffered.
+ Default:
- Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed
+ Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed
if there's no write in the specified period of time. Use -1 to disable timed flushes.
+ Default: . Zero or Negative means disabled.
@@ -27290,9 +23115,10 @@
Gets or sets a value indicating whether to use sliding timeout.
- This value determines how the inactivity period is determined. If sliding timeout is enabled,
- the inactivity timer is reset after each write, if it is disabled - inactivity timer will
- count from the first event written to the buffer.
+ Default: .
+ This value determines how the inactivity period is determined. When
+ the inactivity timer is reset after each write, if - inactivity timer will
+ count from the first event written to the buffer.
@@ -27301,10 +23127,9 @@
Gets or sets the action to take if the buffer overflows.
- Setting to will replace the
- oldest event with new events without sending events down to the wrapped target, and
- setting to will flush the
- entire buffer to the wrapped target.
+ Default: . Setting to
+ will flush the entire buffer to the wrapped target. Setting to
+ will replace the oldest event with new events without sending events down to the wrapped target.
@@ -27382,7 +23207,7 @@
Initializes a new instance of the AsyncRequestQueue class.
- Request limit.
+ Queue max size.
The overflow action.
@@ -27430,10 +23255,10 @@
Documentation on NLog Wiki
- This example causes the messages to be written to server1,
+
This example causes the messages to be written to server1,
and if it fails, messages go to server2.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27465,12 +23290,14 @@
Gets or sets a value indicating whether to return to the first target after any successful write.
+ Default:
Gets or sets whether to enable batching, but fallback will be handled individually
+ Default:
@@ -27527,7 +23354,7 @@
This example causes the messages not contains the string '1' to be ignored.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27559,17 +23386,22 @@
- Gets or sets the condition expression. Log events who meet this condition will be forwarded
+ Gets or sets the condition expression. Log events who meet this condition will be forwarded
to the wrapped target.
+ Default:
Gets or sets the filter. Log events who evaluates to will be discarded
+ [Required] Default:
+
+
+
Checks the condition against the passed log event.
@@ -27594,6 +23426,7 @@
Identifier to perform group-by
+ [Required] Default:
@@ -27621,6 +23454,9 @@
The wrapped target.
Group by identifier.
+
+
+
@@ -27632,7 +23468,7 @@
Limits the number of messages written per timespan to the wrapped target.
- See NLog Wiki
+ See NLog Wiki
Documentation on NLog Wiki
@@ -27666,18 +23502,14 @@
Gets or sets the maximum allowed number of messages written per .
-
- Messages received after has been reached in the current will be discarded.
-
+ Default: . Messages received after has been reached in the current will be discarded.
Gets or sets the interval in which messages will be written up to the number of messages.
-
- Messages received after has been reached in the current will be discarded.
-
+ Default: hour. Messages received after has been reached in the current will be discarded.
@@ -27716,8 +23548,8 @@
-
- Raises by when
+
+ Raises by when
queue is full
and set to
By default queue doubles it size.
@@ -27751,11 +23583,11 @@
This example works like this. If there are no Warn,Error or Fatal messages in the buffer
- only Info messages are written to the file, but if there are any warnings or errors,
+ only Info messages are written to the file, but if there are any warnings or errors,
the output includes detailed trace (levels >= Debug).
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27786,6 +23618,7 @@
Gets or sets the default filter to be applied when no specific rule matches.
+ Default:
@@ -27796,6 +23629,9 @@
+
+
+
@@ -27824,11 +23660,11 @@
Documentation on NLog Wiki
- This example causes the messages to be written to either file1.txt or file2.txt
+
This example causes the messages to be written to either file1.txt or file2.txt
chosen randomly on a per-message basis.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27874,7 +23710,7 @@
This example causes each log message to be repeated 3 times.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27908,6 +23744,7 @@
Gets or sets the number of times to repeat each log message.
+ Default:
@@ -27925,10 +23762,10 @@
Documentation on NLog Wiki
- This example causes each write attempt to be repeated 3 times,
+
This example causes each write attempt to be repeated 3 times,
sleeping 1 second between attempts if first one fails.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27964,18 +23801,21 @@
Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure.
+ Default:
Gets or sets the time to wait between retries in milliseconds.
+ Default: ms
Gets or sets whether to enable batching, and only apply single delay when a whole batch fails
+ Default:
@@ -28014,7 +23854,7 @@
Each odd message is written to file2.txt, each even message goes to file1.txt.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -28071,10 +23911,10 @@
Documentation on NLog Wiki
- This example causes the messages to be written to both file1.txt or file2.txt
+
This example causes the messages to be written to both file1.txt or file2.txt
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -28125,6 +23965,7 @@
Gets or sets the target that is wrapped by this target.
+ [Required] Default:
@@ -28133,6 +23974,9 @@
+
+
+
Writes logging event to the log target. Must be overridden in inheriting
@@ -28140,23 +23984,14 @@
Logging event to be written out.
-
-
- Builtin IFileCompressor implementation utilizing the .Net4.5 specific
- and is used as the default value for on .Net4.5.
- So log files created via can be zipped when archived
- w/o 3rd party zip library when run on .Net4.5 or higher.
-
-
-
-
- Implements using the .Net4.5 specific
-
-
Current local time retrieved directly from DateTime.Now.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -28176,6 +24011,10 @@
Current UTC time retrieved directly from DateTime.UtcNow.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -28195,6 +24034,10 @@
Fast time source that updates current time only once per tick (15.6 milliseconds).
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -28210,6 +24053,10 @@
Fast local time source that is updated once per tick (15.6 milliseconds).
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -28229,6 +24076,10 @@
Fast UTC time source that is updated once per tick (15.6 milliseconds).
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -28248,6 +24099,10 @@
Defines source of current time.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -28276,21 +24131,21 @@
The system originated time value to convert.
- The value of converted to the same form
+ The value of converted to the same form
as time values originated from this source.
- There are situations when NLog have to compare the time originated from TimeSource
+ There are situations when NLog have to compare the time originated from TimeSource
to the time originated externally in the system.
- To be able to provide meaningful result of such comparisons the system time must be expressed in
+ To be able to provide meaningful result of such comparisons the system time must be expressed in
the same form as TimeSource time.
Examples:
- - If the TimeSource provides time values of local time, it should also convert the provided
+ - If the TimeSource provides time values of local time, it should also convert the provided
to the local time.
- - If the TimeSource shifts or skews its time values, it should also apply
+ - If the TimeSource shifts or skews its time values, it should also apply
the same transform to the given .
@@ -28306,676 +24161,6 @@
The Time type-alias for use in NLog configuration.
-
-
- Indicates that the value of the marked element could be null sometimes,
- so checking for null is required before its usage.
-
-
- [CanBeNull] object Test() => null;
-
- void UseTest() {
- var p = Test();
- var s = p.ToString(); // Warning: Possible 'System.NullReferenceException'
- }
-
-
-
-
- Indicates that the value of the marked element can never be null.
-
-
- [NotNull] object Foo() {
- return null; // Warning: Possible 'null' assignment
- }
-
-
-
-
- Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task
- and Lazy classes to indicate that the value of a collection item, of the Task.Result property
- or of the Lazy.Value property can never be null.
-
-
- public void Foo([ItemNotNull]List<string> books)
- {
- foreach (var book in books) {
- if (book != null) // Warning: Expression is always true
- Console.WriteLine(book.ToUpper());
- }
- }
-
-
-
-
- Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task
- and Lazy classes to indicate that the value of a collection item, of the Task.Result property
- or of the Lazy.Value property can be null.
-
-
- public void Foo([ItemCanBeNull]List<string> books)
- {
- foreach (var book in books)
- {
- // Warning: Possible 'System.NullReferenceException'
- Console.WriteLine(book.ToUpper());
- }
- }
-
-
-
-
- Indicates that the marked method builds string by the format pattern and (optional) arguments.
- The parameter, which contains the format string, should be given in the constructor. The format string
- should be in -like form.
-
-
- [StringFormatMethod("message")]
- void ShowError(string message, params object[] args) { /* do something */ }
-
- void Foo() {
- ShowError("Failed: {0}"); // Warning: Non-existing argument in format string
- }
-
-
-
-
- Specifies which parameter of an annotated method should be treated as the format string
-
-
-
-
- Indicates that the marked parameter is a message template where placeholders are to be replaced by the following arguments
- in the order in which they appear
-
-
- void LogInfo([StructuredMessageTemplate]string message, params object[] args) { /* do something */ }
-
- void Foo() {
- LogInfo("User created: {username}"); // Warning: Non-existing argument in format string
- }
-
-
-
-
- Use this annotation to specify a type that contains static or const fields
- with values for the annotated property/field/parameter.
- The specified type will be used to improve completion suggestions.
-
-
- namespace TestNamespace
- {
- public class Constants
- {
- public static int INT_CONST = 1;
- public const string STRING_CONST = "1";
- }
-
- public class Class1
- {
- [ValueProvider("TestNamespace.Constants")] public int myField;
- public void Foo([ValueProvider("TestNamespace.Constants")] string str) { }
-
- public void Test()
- {
- Foo(/*try completion here*/);//
- myField = /*try completion here*/
- }
- }
- }
-
-
-
-
- Indicates that the integral value falls into the specified interval.
- It's allowed to specify multiple non-intersecting intervals.
- Values of interval boundaries are inclusive.
-
-
- void Foo([ValueRange(0, 100)] int value) {
- if (value == -1) { // Warning: Expression is always 'false'
- ...
- }
- }
-
-
-
-
- Indicates that the integral value never falls below zero.
-
-
- void Foo([NonNegativeValue] int value) {
- if (value == -1) { // Warning: Expression is always 'false'
- ...
- }
- }
-
-
-
-
- Indicates that the function argument should be a string literal and match
- one of the parameters of the caller function. This annotation is used for parameters
- like 'string paramName' parameter of the constructor.
-
-
- void Foo(string param) {
- if (param == null)
- throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol
- }
-
-
-
-
- Indicates that the method is contained in a type that implements
- System.ComponentModel.INotifyPropertyChanged interface and this method
- is used to notify that some property value changed.
-
-
- The method should be non-static and conform to one of the supported signatures:
-
- - NotifyChanged(string)
- - NotifyChanged(params string[])
- - NotifyChanged{T}(Expression{Func{T}})
- - NotifyChanged{T,U}(Expression{Func{T,U}})
- - SetProperty{T}(ref T, T, string)
-
-
-
- public class Foo : INotifyPropertyChanged {
- public event PropertyChangedEventHandler PropertyChanged;
-
- [NotifyPropertyChangedInvocator]
- protected virtual void NotifyChanged(string propertyName) { ... }
-
- string _name;
-
- public string Name {
- get { return _name; }
- set { _name = value; NotifyChanged("LastName"); /* Warning */ }
- }
- }
-
- Examples of generated notifications:
-
- - NotifyChanged("Property")
- - NotifyChanged(() => Property)
- - NotifyChanged((VM x) => x.Property)
- - SetProperty(ref myField, value, "Property")
-
-
-
-
-
- Describes dependency between method input and output.
-
-
- Function Definition Table syntax:
-
- - FDT ::= FDTRow [;FDTRow]*
- - FDTRow ::= Input => Output | Output <= Input
- - Input ::= ParameterName: Value [, Input]*
- - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value}
- - Value ::= true | false | null | notnull | canbenull
-
- If the method has a single input parameter, its name could be omitted.
- Using halt (or void/nothing, which is the same) for the method output
- means that the method doesn't return normally (throws or terminates the process).
- Value canbenull is only applicable for output parameters.
- You can use multiple [ContractAnnotation] for each FDT row, or use single attribute
- with rows separated by the semicolon. There is no notion of order rows, all rows are checked
- for applicability and applied per each program state tracked by the analysis engine.
-
-
-
- [ContractAnnotation("=> halt")]
- public void TerminationMethod()
-
-
- [ContractAnnotation("null <= param:null")] // reverse condition syntax
- public string GetName(string surname)
-
-
- [ContractAnnotation("s:null => true")]
- public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty()
-
-
- // A method that returns null if the parameter is null,
- // and not null if the parameter is not null
- [ContractAnnotation("null => null; notnull => notnull")]
- public object Transform(object data)
-
-
- [ContractAnnotation("=> true, result: notnull; => false, result: null")]
- public bool TryParse(string s, out Person result)
-
-
-
-
-
- Indicates whether the marked element should be localized.
-
-
- [LocalizationRequiredAttribute(true)]
- class Foo {
- string str = "my string"; // Warning: Localizable string
- }
-
-
-
-
- Indicates that the value of the marked type (or its derivatives)
- cannot be compared using '==' or '!=' operators and Equals()
- should be used instead. However, using '==' or '!=' for comparison
- with null is always permitted.
-
-
- [CannotApplyEqualityOperator]
- class NoEquality { }
-
- class UsesNoEquality {
- void Test() {
- var ca1 = new NoEquality();
- var ca2 = new NoEquality();
- if (ca1 != null) { // OK
- bool condition = ca1 == ca2; // Warning
- }
- }
- }
-
-
-
-
- When applied to a target attribute, specifies a requirement for any type marked
- with the target attribute to implement or inherit specific type or types.
-
-
- [BaseTypeRequired(typeof(IComponent)] // Specify requirement
- class ComponentAttribute : Attribute { }
-
- [Component] // ComponentAttribute requires implementing IComponent interface
- class MyComponent : IComponent { }
-
-
-
-
- Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library),
- so this symbol will be ignored by usage-checking inspections.
- You can use and
- to configure how this attribute is applied.
-
-
- [UsedImplicitly]
- public class TypeConverter {}
-
- public class SummaryData
- {
- [UsedImplicitly(ImplicitUseKindFlags.InstantiatedWithFixedConstructorSignature)]
- public SummaryData() {}
- }
-
- [UsedImplicitly(ImplicitUseTargetFlags.WithInheritors | ImplicitUseTargetFlags.Default)]
- public interface IService {}
-
-
-
-
- Can be applied to attributes, type parameters, and parameters of a type assignable from .
- When applied to an attribute, the decorated attribute behaves the same as .
- When applied to a type parameter or to a parameter of type ,
- indicates that the corresponding type is used implicitly.
-
-
-
-
- Specifies the details of implicitly used symbol when it is marked
- with or .
-
-
-
- Only entity marked with attribute considered used.
-
-
- Indicates implicit assignment to a member.
-
-
-
- Indicates implicit instantiation of a type with fixed constructor signature.
- That means any unused constructor parameters won't be reported as such.
-
-
-
- Indicates implicit instantiation of a type.
-
-
-
- Specifies what is considered to be used implicitly when marked
- with or .
-
-
-
- Members of the type marked with the attribute are considered used.
-
-
- Inherited entities are considered used.
-
-
- Entity marked with the attribute and all its members considered used.
-
-
-
- This attribute is intended to mark publicly available API,
- which should not be removed and so is treated as used.
-
-
-
-
- Tells the code analysis engine if the parameter is completely handled when the invoked method is on stack.
- If the parameter is a delegate, indicates that delegate can only be invoked during method execution
- (the delegate can be invoked zero or multiple times, but not stored to some field and invoked later,
- when the containing method is no longer on the execution stack).
- If the parameter is an enumerable, indicates that it is enumerated while the method is executed.
- If is true, the attribute will only takes effect if the method invocation is located under the 'await' expression.
-
-
-
-
- Require the method invocation to be used under the 'await' expression for this attribute to take effect on code analysis engine.
- Can be used for delegate/enumerable parameters of 'async' methods.
-
-
-
-
- Indicates that a method does not make any observable state changes.
- The same as System.Diagnostics.Contracts.PureAttribute.
-
-
- [Pure] int Multiply(int x, int y) => x * y;
-
- void M() {
- Multiply(123, 42); // Warning: Return value of pure method is not used
- }
-
-
-
-
- Indicates that the return value of the method invocation must be used.
-
-
- Methods decorated with this attribute (in contrast to pure methods) might change state,
- but make no sense without using their return value.
- Similarly to , this attribute
- will help to detect usages of the method when the return value is not used.
- Optionally, you can specify a message to use when showing warnings, e.g.
- [MustUseReturnValue("Use the return value to...")].
-
-
-
-
- This annotation allows to enforce allocation-less usage patterns of delegates for performance-critical APIs.
- When this annotation is applied to the parameter of delegate type, IDE checks the input argument of this parameter:
- * When lambda expression or anonymous method is passed as an argument, IDE verifies that the passed closure
- has no captures of the containing local variables and the compiler is able to cache the delegate instance
- to avoid heap allocations. Otherwise the warning is produced.
- * IDE warns when method name or local function name is passed as an argument as this always results
- in heap allocation of the delegate instance.
-
-
- In C# 9.0 code IDE would also suggest to annotate the anonymous function with 'static' modifier
- to make use of the similar analysis provided by the language/compiler.
-
-
-
-
- Indicates the type member or parameter of some type, that should be used instead of all other ways
- to get the value of that type. This annotation is useful when you have some "context" value evaluated
- and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one.
-
-
- class Foo {
- [ProvidesContext] IBarService _barService = ...;
-
- void ProcessNode(INode node) {
- DoSomething(node, node.GetGlobalServices().Bar);
- // ^ Warning: use value of '_barService' field
- }
- }
-
-
-
-
- Indicates that a parameter is a path to a file or a folder within a web project.
- Path can be relative or absolute, starting from web root (~).
-
-
-
-
- An extension method marked with this attribute is processed by code completion
- as a 'Source Template'. When the extension method is completed over some expression, its source code
- is automatically expanded like a template at call site.
-
-
- Template method body can contain valid source code and/or special comments starting with '$'.
- Text inside these comments is added as source code when the template is applied. Template parameters
- can be used either as additional method parameters or as identifiers wrapped in two '$' signs.
- Use the attribute to specify macros for parameters.
-
-
- In this example, the 'forEach' method is a source template available over all values
- of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block:
-
- [SourceTemplate]
- public static void forEach<T>(this IEnumerable<T> xs) {
- foreach (var x in xs) {
- //$ $END$
- }
- }
-
-
-
-
-
- Allows specifying a macro for a parameter of a source template.
-
-
- You can apply the attribute on the whole method or on any of its additional parameters. The macro expression
- is defined in the property. When applied on a method, the target
- template parameter is defined in the property. To apply the macro silently
- for the parameter, set the property value = -1.
-
-
- Applying the attribute on a source template method:
-
- [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")]
- public static void forEach<T>(this IEnumerable<T> collection) {
- foreach (var item in collection) {
- //$ $END$
- }
- }
-
- Applying the attribute on a template method parameter:
-
- [SourceTemplate]
- public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) {
- /*$ var $x$Id = "$newguid$" + x.ToString();
- x.DoSomething($x$Id); */
- }
-
-
-
-
-
- Allows specifying a macro that will be executed for a source template
- parameter when the template is expanded.
-
-
-
-
- Allows specifying which occurrence of the target parameter becomes editable when the template is deployed.
-
-
- If the target parameter is used several times in the template, only one occurrence becomes editable;
- other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence,
- use values >= 0. To make the parameter non-editable when the template is expanded, use -1.
-
-
-
-
- Identifies the target parameter of a source template if the
- is applied on a template method.
-
-
-
-
- Indicates how method, constructor invocation, or property access
- over collection type affects the contents of the collection.
- When applied to a return value of a method indicates if the returned collection
- is created exclusively for the caller (CollectionAccessType.UpdatedContent) or
- can be read/updated from outside (CollectionAccessType.Read | CollectionAccessType.UpdatedContent)
- Use to specify the access type.
-
-
- Using this attribute only makes sense if all collection methods are marked with this attribute.
-
-
- public class MyStringCollection : List<string>
- {
- [CollectionAccess(CollectionAccessType.Read)]
- public string GetFirstString()
- {
- return this.ElementAt(0);
- }
- }
- class Test
- {
- public void Foo()
- {
- // Warning: Contents of the collection is never updated
- var col = new MyStringCollection();
- string x = col.GetFirstString();
- }
- }
-
-
-
-
- Provides a value for the to define
- how the collection method invocation affects the contents of the collection.
-
-
-
- Method does not use or modify content of the collection.
-
-
- Method only reads content of the collection but does not modify it.
-
-
- Method can change content of the collection but does not add new elements.
-
-
- Method can add new elements to the collection.
-
-
-
- Indicates that the marked method is assertion method, i.e. it halts the control flow if
- one of the conditions is satisfied. To set the condition, mark one of the parameters with
- attribute.
-
-
-
-
- Indicates the condition parameter of the assertion method. The method itself should be
- marked by attribute. The mandatory argument of
- the attribute is the assertion type.
-
-
-
-
- Specifies assertion type. If the assertion method argument satisfies the condition,
- then the execution continues. Otherwise, execution is assumed to be halted.
-
-
-
- Marked parameter should be evaluated to true.
-
-
- Marked parameter should be evaluated to false.
-
-
- Marked parameter should be evaluated to null value.
-
-
- Marked parameter should be evaluated to not null value.
-
-
-
- Indicates that the marked method unconditionally terminates control flow execution.
- For example, it could unconditionally throw exception.
-
-
-
-
- Indicates that the method is a pure LINQ method, with postponed enumeration (like Enumerable.Select,
- .Where). This annotation allows inference of [InstantHandle] annotation for parameters
- of delegate type by analyzing LINQ method chains.
-
-
-
-
- Indicates that IEnumerable passed as a parameter is not enumerated.
- Use this annotation to suppress the 'Possible multiple enumeration of IEnumerable' inspection.
-
-
- static void ThrowIfNull<T>([NoEnumeration] T v, string n) where T : class
- {
- // custom check for null but no enumeration
- }
-
- void Foo(IEnumerable<string> values)
- {
- ThrowIfNull(values, nameof(values));
- var x = values.ToList(); // No warnings about multiple enumeration
- }
-
-
-
-
- Indicates that the marked parameter, field, or property is a regular expression pattern.
-
-
-
-
- Language of injected code fragment inside marked by string literal.
-
-
-
-
- Indicates that the marked parameter, field, or property is accepting a string literal
- containing code fragment in a language specified by the .
-
-
- void Foo([LanguageInjection(InjectedLanguage.CSS, Prefix = "body{", Suffix = "}")] string cssProps)
- {
- // cssProps should only contains a list of CSS properties
- }
-
-
-
- Specify a language of injected code fragment.
-
-
- Specify a string that "precedes" injected string literal.
-
-
- Specify a string that "follows" injected string literal.
-
-
-
- Prevents the Member Reordering feature from tossing members of the marked class.
-
-
- The attribute must be mentioned in your member reordering patterns.
-
-
Initializes a new instance of the class
@@ -29151,5 +24336,35 @@
Gets or sets the justification for suppressing the code analysis message.
+
+
+ Indicates that the specified method requires dynamic access to code that is not referenced
+ statically, for example through .
+
+
+ This allows tools to understand which methods are unsafe to call when removing unreferenced
+ code from an application.
+
+
+
+
+ Initializes a new instance of the class
+ with the specified message.
+
+
+ A message that contains information about the usage of unreferenced code.
+
+
+
+
+ Gets a message that contains information about the usage of unreferenced code.
+
+
+
+
+ Gets or sets an optional URL that contains more information about the method,
+ why it requires unreferenced code, and what options a consumer has to deal with it.
+
+
diff --git a/VBOffice/obj/Debug/VBOffice.vbproj.AssemblyReference.cache b/VBOffice/obj/Debug/VBOffice.vbproj.AssemblyReference.cache
index 616ac0c22..8befea71b 100644
Binary files a/VBOffice/obj/Debug/VBOffice.vbproj.AssemblyReference.cache and b/VBOffice/obj/Debug/VBOffice.vbproj.AssemblyReference.cache differ
diff --git a/VBOffice/obj/Debug/VBOffice.vbproj.FileListAbsolute.txt b/VBOffice/obj/Debug/VBOffice.vbproj.FileListAbsolute.txt
index 0bdebc6a4..7386a1268 100644
--- a/VBOffice/obj/Debug/VBOffice.vbproj.FileListAbsolute.txt
+++ b/VBOffice/obj/Debug/VBOffice.vbproj.FileListAbsolute.txt
@@ -28,3 +28,5 @@ E:\Software-Projekte\OnDoc\OnDoc\VBOffice\bin\Debug\Helper.pdb
E:\Software-Projekte\OnDoc\OnDoc\VBOffice\bin\Debug\Logging.pdb
E:\Software-Projekte\OnDoc\OnDoc\VBOffice\bin\Debug\NLog.xml
E:\Software-Projekte\OnDoc\OnDoc\VBOffice\bin\Debug\NLog.Database.xml
+E:\Software-Projekte\OnDoc\OnDoc\VBOffice\bin\Debug\Database.dll.config
+E:\Software-Projekte\OnDoc\OnDoc\VBOffice\bin\Debug\Logging.dll.config
diff --git a/Versandstrasse/bin/Debug/DOCGEN.dll b/Versandstrasse/bin/Debug/DOCGEN.dll
index 9173629e9..2ad6cfc6b 100644
Binary files a/Versandstrasse/bin/Debug/DOCGEN.dll and b/Versandstrasse/bin/Debug/DOCGEN.dll differ
diff --git a/Versandstrasse/bin/Debug/DOCGEN.pdb b/Versandstrasse/bin/Debug/DOCGEN.pdb
index d80112ce7..2d2fa1abe 100644
Binary files a/Versandstrasse/bin/Debug/DOCGEN.pdb and b/Versandstrasse/bin/Debug/DOCGEN.pdb differ
diff --git a/Versandstrasse/bin/Debug/Model.dll b/Versandstrasse/bin/Debug/Model.dll
index 0ec5a240a..b2007c3c5 100644
Binary files a/Versandstrasse/bin/Debug/Model.dll and b/Versandstrasse/bin/Debug/Model.dll differ
diff --git a/Versandstrasse/bin/Debug/Model.pdb b/Versandstrasse/bin/Debug/Model.pdb
index 7b22f3a3e..244081632 100644
Binary files a/Versandstrasse/bin/Debug/Model.pdb and b/Versandstrasse/bin/Debug/Model.pdb differ
diff --git a/Versandstrasse/bin/Debug/OnDocOffice.dll b/Versandstrasse/bin/Debug/OnDocOffice.dll
index 8497c715e..776ea6b17 100644
Binary files a/Versandstrasse/bin/Debug/OnDocOffice.dll and b/Versandstrasse/bin/Debug/OnDocOffice.dll differ
diff --git a/Versandstrasse/bin/Debug/OnDocOffice.pdb b/Versandstrasse/bin/Debug/OnDocOffice.pdb
index 65ad6e360..30c0f059f 100644
Binary files a/Versandstrasse/bin/Debug/OnDocOffice.pdb and b/Versandstrasse/bin/Debug/OnDocOffice.pdb differ
diff --git a/Versandstrasse/obj/Debug/Versandstrasse.csproj.AssemblyReference.cache b/Versandstrasse/obj/Debug/Versandstrasse.csproj.AssemblyReference.cache
index 8db0fb6a7..4e464f82b 100644
Binary files a/Versandstrasse/obj/Debug/Versandstrasse.csproj.AssemblyReference.cache and b/Versandstrasse/obj/Debug/Versandstrasse.csproj.AssemblyReference.cache differ
diff --git a/Vorlagen_Viewer/obj/Debug/Vorlagen_Viewer.csproj.AssemblyReference.cache b/Vorlagen_Viewer/obj/Debug/Vorlagen_Viewer.csproj.AssemblyReference.cache
index 856ceb47d..d34f01a92 100644
Binary files a/Vorlagen_Viewer/obj/Debug/Vorlagen_Viewer.csproj.AssemblyReference.cache and b/Vorlagen_Viewer/obj/Debug/Vorlagen_Viewer.csproj.AssemblyReference.cache differ
diff --git a/Vorlagen_Viewer/obj/Debug/Vorlagen_Viewer.csproj.SuggestedBindingRedirects.cache b/Vorlagen_Viewer/obj/Debug/Vorlagen_Viewer.csproj.SuggestedBindingRedirects.cache
index 50d90def6..0654e7431 100644
--- a/Vorlagen_Viewer/obj/Debug/Vorlagen_Viewer.csproj.SuggestedBindingRedirects.cache
+++ b/Vorlagen_Viewer/obj/Debug/Vorlagen_Viewer.csproj.SuggestedBindingRedirects.cache
@@ -1 +1 @@
-311f9597ef99c7b9bd953ded6552960440cd52b5d164de6be39366670b93929f
+4dcbac3100223781e6c34a5812851e18770852615a20530aa8611983c77e472b
diff --git a/Vorlagen_Viewer/obj/Debug/Vorlagen_Viewer.exe.config b/Vorlagen_Viewer/obj/Debug/Vorlagen_Viewer.exe.config
index 2cb98c511..c2cb170ae 100644
--- a/Vorlagen_Viewer/obj/Debug/Vorlagen_Viewer.exe.config
+++ b/Vorlagen_Viewer/obj/Debug/Vorlagen_Viewer.exe.config
@@ -10,5 +10,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ZZPDFTest/Form1.cs b/ZZPDFTest/Form1.cs
index dbf252b84..f7bb71093 100644
--- a/ZZPDFTest/Form1.cs
+++ b/ZZPDFTest/Form1.cs
@@ -278,8 +278,11 @@ namespace ZZPDFTest
private void button7_Click(object sender, EventArgs e)
{
- string jsonstring = System.IO.File.ReadAllText(@"E:\Software-Projekte\OnDoc\Office_Vorlagen\essdemo.json");
+
+ string jsonstring = System.IO.File.ReadAllText(@"E:\Software-Projekte\OnDoc\APIJson\essdemo.json");
+
+
dynamic dataj = JsonConvert.DeserializeObject(jsonstring);
Console.WriteLine(dataj.Bp.Zustaendiger.TgNummer);
@@ -306,7 +309,26 @@ namespace ZZPDFTest
docitemlist.Add(d);
}
-
+ Database.DB db = new Database.DB(@"Data Source=shu01\shu00;Initial Catalog=edoka_dms;Persist Security Info=True;User ID=sa;Password=*shu29;");
+
+ db.Get_Tabledata("Select * from vorlagenfeld where dokumenttypnr="+dataj.Dokumenttyp.ToString()+" and aktiv=1 and ess_field_class_id<>0",false,true);
+ foreach (DataRow dr in db.dsdaten.Tables[0].Rows)
+ {
+ foreach(docitem di in docitemlist)
+ {
+ if ("$."+di.itemname == dr["ess_feldname"].ToString())
+ {
+ di.bmstart = dr["beginntextmarke"].ToString();
+ di.bmend= dr["endetextmarke"].ToString();
+ di.field= dr["feldname"].ToString();
+ di.top = dr["ess_img_top"].ToString();
+ di.left = dr["ess_img_left"].ToString();
+ di.width = dr["ess_img_width"].ToString();
+ di.height = dr["ess_img_height"].ToString();
+ di.type = dr["ess_field_class_id"].ToString();
+ }
+ }
+ }
}
@@ -316,6 +338,16 @@ namespace ZZPDFTest
public string itemtag;
public string itemvalue;
public string doclinkname;
+ public string type;
+ public string field;
+ public string bmstart;
+ public string bmend;
+ public string top;
+ public string left;
+ public string width;
+ public string height;
+
+
}
private IEnumerable<(string path, string key, string value)> GetNodes(JToken token)
{
diff --git a/ZZPDFTest/ZZPDFTest.csproj b/ZZPDFTest/ZZPDFTest.csproj
index 53f715e1d..a14b2ac3e 100644
--- a/ZZPDFTest/ZZPDFTest.csproj
+++ b/ZZPDFTest/ZZPDFTest.csproj
@@ -33,6 +33,10 @@
4
+
+ False
+ ..\Database\bin\Debug\Database.dll
+
False
..\Model\bin\Debug\Model.dll
diff --git a/ZZPDFTest/bin/Debug/DOCGEN.dll b/ZZPDFTest/bin/Debug/DOCGEN.dll
index 4c12914a8..2ad6cfc6b 100644
Binary files a/ZZPDFTest/bin/Debug/DOCGEN.dll and b/ZZPDFTest/bin/Debug/DOCGEN.dll differ
diff --git a/ZZPDFTest/bin/Debug/DOCGEN.pdb b/ZZPDFTest/bin/Debug/DOCGEN.pdb
index 253cf9e26..2d2fa1abe 100644
Binary files a/ZZPDFTest/bin/Debug/DOCGEN.pdb and b/ZZPDFTest/bin/Debug/DOCGEN.pdb differ
diff --git a/ZZPDFTest/bin/Debug/Logging.dll b/ZZPDFTest/bin/Debug/Logging.dll
index 637453a90..980d7597b 100644
Binary files a/ZZPDFTest/bin/Debug/Logging.dll and b/ZZPDFTest/bin/Debug/Logging.dll differ
diff --git a/ZZPDFTest/bin/Debug/Logging.pdb b/ZZPDFTest/bin/Debug/Logging.pdb
index 8834ecd5f..75ce3d64b 100644
Binary files a/ZZPDFTest/bin/Debug/Logging.pdb and b/ZZPDFTest/bin/Debug/Logging.pdb differ
diff --git a/ZZPDFTest/bin/Debug/Model.dll b/ZZPDFTest/bin/Debug/Model.dll
index 9adaf725c..b2007c3c5 100644
Binary files a/ZZPDFTest/bin/Debug/Model.dll and b/ZZPDFTest/bin/Debug/Model.dll differ
diff --git a/ZZPDFTest/bin/Debug/Model.pdb b/ZZPDFTest/bin/Debug/Model.pdb
index 715538efb..244081632 100644
Binary files a/ZZPDFTest/bin/Debug/Model.pdb and b/ZZPDFTest/bin/Debug/Model.pdb differ
diff --git a/ZZPDFTest/bin/Debug/NLog.Database.dll b/ZZPDFTest/bin/Debug/NLog.Database.dll
index 047d27acf..1d7524049 100644
Binary files a/ZZPDFTest/bin/Debug/NLog.Database.dll and b/ZZPDFTest/bin/Debug/NLog.Database.dll differ
diff --git a/ZZPDFTest/bin/Debug/NLog.dll b/ZZPDFTest/bin/Debug/NLog.dll
index 443d19a27..fefd19e77 100644
Binary files a/ZZPDFTest/bin/Debug/NLog.dll and b/ZZPDFTest/bin/Debug/NLog.dll differ
diff --git a/ZZPDFTest/bin/Debug/NLog.xml b/ZZPDFTest/bin/Debug/NLog.xml
index 5188834db..00260415c 100644
--- a/ZZPDFTest/bin/Debug/NLog.xml
+++ b/ZZPDFTest/bin/Debug/NLog.xml
@@ -338,7 +338,7 @@
Input value
Output value
Default value
- Returns if the input value could not be parsed
+ Returns false if the input value could not be parsed
@@ -354,9 +354,9 @@
The enumeration type to which to convert value.
The string representation of the enumeration name or underlying value to convert.
- to ignore case; to consider case.
+ true to ignore case; false to consider case.
When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized.
- if the value parameter was converted successfully; otherwise, .
+ true if the value parameter was converted successfully; otherwise, false.
Wrapper because Enum.TryParse is not present in .net 3.5
@@ -1019,20 +1019,20 @@
Determine if logging should be avoided because of exception type.
The exception to check.
- if logging should be avoided; otherwise, .
+ true if logging should be avoided; otherwise, false.
Determine if logging is enabled for given LogLevel
The for the log event.
- if logging is enabled; otherwise, .
+ true if logging is enabled; otherwise, false.
Determine if logging is enabled.
- if logging is enabled; otherwise, .
+ true if logging is enabled; otherwise, false.
@@ -1162,6 +1162,11 @@
Documentation on NLog Wiki
+
+
+ Default Condition-value that evalutes to string.Empty
+
+
Converts condition text to a condition expression tree.
@@ -1680,7 +1685,7 @@
The keyword.
- A value of if current keyword is equal to the specified value; otherwise, .
+ A value of true if current keyword is equal to the specified value; otherwise, false.
@@ -1688,7 +1693,7 @@
Gets or sets a value indicating whether the tokenizer has reached the end of the token stream.
- A value of if the tokenizer has reached the end of the token stream; otherwise, .
+ A value of true if the tokenizer has reached the end of the token stream; otherwise, false.
@@ -1696,7 +1701,7 @@
Gets or sets a value indicating whether current token is a number.
- A value of if current token is a number; otherwise, .
+ A value of true if current token is a number; otherwise, false.
@@ -1705,7 +1710,7 @@
The token type.
- A value of if current token is of specified type; otherwise, .
+ A value of true if current token is of specified type; otherwise, false.
@@ -1840,7 +1845,7 @@
of the relevant app.config section.
The XmlReader that reads from the configuration file.
- to serialize only the collection key properties; otherwise, .
+ true to serialize only the collection key properties; otherwise, false.
@@ -1914,9 +1919,9 @@
Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect)
- - (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering.
- - : Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with )
- - : Always performs parsing and rendering using string.Format (Fastest if not using structured logging)
+ - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering.
+ - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with )
+ - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging)
@@ -2088,7 +2093,7 @@
Tries to create an item instance with type-alias
- if instance was created successfully, otherwise.
+ True if instance was created successfully, false otherwise.
@@ -7386,18 +7391,18 @@
Is this exception logged to the ?
- if the has been logged to the .
+ trueif the has been logged to the .
- Determines whether the exception must be rethrown and logs the error to the if is .
+ Determines whether the exception must be rethrown and logs the error to the if is false.
Advised to log first the error to the before calling this method.
The exception to check.
Target Object context of the exception.
Target Method context of the exception.
- if the must be rethrown, otherwise.
+ trueif the must be rethrown, false otherwise.
@@ -7406,7 +7411,7 @@
Only used this method in special cases.
The exception to check.
- if the must be rethrown, otherwise.
+ trueif the must be rethrown, false otherwise.
@@ -7441,10 +7446,7 @@
- Perform message template parsing and formatting of LogEvent messages:
- - = Always
- - = Never
- - = Auto Detect
+ Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect)
@@ -7459,7 +7461,7 @@
Has the logevent properties?
LogEvent with message to be formatted
- when logevent has no properties to be extracted
+ False when logevent has no properties to be extracted
@@ -7533,7 +7535,7 @@
- When Do not fallback to StringBuilder.Format for positional templates
+ When true: Do not fallback to StringBuilder.Format for positional templates
@@ -7541,8 +7543,9 @@
New formatter
- When Do not fallback to StringBuilder.Format for positional templates
+ When true: Do not fallback to StringBuilder.Format for positional templates
+
@@ -7579,7 +7582,7 @@
Key of the item to be inserted in the cache.
Value of the item to be inserted in the cache.
- when the key does not already exist in the cache, otherwise.
+ true when the key does not already exist in the cache, false otherwise.
@@ -7587,7 +7590,7 @@
Key of the item to be searched in the cache.
Output value of the item found in the cache.
- when the key is found in the cache, otherwise.
+ True when the key is found in the cache, false otherwise.
@@ -8356,13 +8359,13 @@
Correct implementation of that also works when is not the same
- when content is the same
+ True when content is the same
Compares the contents of a StringBuilder and a String
- when content is the same
+ True when content is the same
@@ -8511,6 +8514,25 @@
Default action if none of the filters match.
+
+
+ Serves as a hash function for a particular type.
+
+
+
+
+ Determines if two objects are equal in value.
+
+ Other object to compare to.
+ True if objects are equal, false otherwise.
+
+
+
+ Determines if two objects of the same type are equal in value.
+
+ Other object to compare to.
+ True if objects are equal, false otherwise.
+
Wraps with a timeout.
@@ -8654,7 +8676,7 @@
Reads a start element.
- if start element was found.
+ True if start element was found.
Something unexpected has failed.
@@ -8662,7 +8684,7 @@
Skips an end element.
The name of the element to skip.
- if an end element was skipped; otherwise, .
+ True if an end element was skipped; otherwise, false.
Something unexpected has failed.
@@ -8803,21 +8825,19 @@
Gets or sets string that will be used to separate key/value pairs.
- Default: ,
- Gets or sets whether empty property-values should be included in the output.
+ Gets or sets whether empty property-values should be included in the output. Default = false
- Default: . Empty value is either null or empty string
+ Empty value is either null or empty string
Gets or sets whether to include the contents of the properties-dictionary.
- Default:
@@ -8841,7 +8861,6 @@
Gets or sets the culture used for rendering.
- Default:
@@ -8886,16 +8905,10 @@
- Gets or sets format-string for displaying details.
- This string is used in where
- first parameter is and second is
+ Format string. Possible values: "Short", "Long" or custom like {0} {1}. Default "Long"
+ The first parameter is the AppDomain.Id, the second the second the AppDomain.FriendlyName
+ This string is used in
-
- Default: Long . How alias names are mapped:
- Short = {0:00}
- Long = {0:0000}:{1}
- Friendly = {1}
-
@@ -8923,7 +8936,6 @@
The AppSetting item-name
- [Required] Default:
@@ -8937,7 +8949,6 @@
The default value to render if the AppSetting value is null.
- Default:
@@ -8963,21 +8974,22 @@
The (full) name of the assembly. If null, using the entry assembly.
- Default:
Gets or sets the type of assembly version to retrieve.
- Default:
+
+ Some version type and platform combinations are not fully supported.
+ - UWP earlier than .NET Standard 1.5: Value for is always returned unless the parameter is specified.
+
The default value to render if the Version is not available
- Default:
@@ -8985,8 +8997,10 @@
Gets or sets the custom format of the assembly version output.
- Default: major.minor.build.revision .
- Supported placeholders are 'major', 'minor', 'build' and 'revision'. For more details
+ Supported placeholders are 'major', 'minor', 'build' and 'revision'.
+ The default .NET template for version numbers is 'major.minor.build.revision'. See
+ https://docs.microsoft.com/en-gb/dotnet/api/system.version?view=netframework-4.7.2#remarks
+ for details.
@@ -9034,15 +9048,13 @@
Use base dir of current process. Alternative one can just use ${processdir}
- Default:
Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish)
- Default:
-
+
@@ -9056,16 +9068,14 @@
- Gets or sets the name of the file to be Path.Combine()'d with the directory name.
+ Gets or sets the name of the file to be Path.Combine()'d with the base directory.
- Default:
- Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
+ Gets or sets the name of the directory to be Path.Combine()'d with the base directory.
- Default:
@@ -9087,21 +9097,18 @@
Gets or sets a value indicating whether to include source file path.
- Default:
Gets or sets the number of frames to skip.
- Default:
Logger should capture StackTrace, if it was not provided manually
- Default:
@@ -9123,28 +9130,24 @@
Gets or sets a value indicating whether to render the class name.
- Default:
Gets or sets a value indicating whether to render the include the namespace with .
- Default:
Gets or sets a value indicating whether to render the method name.
- Default:
Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate.
- Default:
@@ -9152,35 +9155,30 @@
Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation
(everything after an await-statement inside of an async method).
- Default:
Gets or sets the number of frames to skip.
- Default:
Gets or sets a value indicating whether to render the source file name and line number.
- Default:
Gets or sets a value indicating whether to include source file path.
- Default:
Logger should capture StackTrace, if it was not provided manually
- Default:
@@ -9202,14 +9200,12 @@
Gets or sets the number of frames to skip.
- Default:
Logger should capture StackTrace, if it was not provided manually
- Default:
@@ -9231,21 +9227,18 @@
Gets or sets the initial value of the counter.
- Default:
Gets or sets the value for incrementing the counter for every layout rendering.
- Default:
Gets or sets the name of the sequence. Different named sequences can have individual values.
- Default:
@@ -9262,16 +9255,14 @@
- Gets or sets the name of the file to be Path.Combine()'d with the directory name.
+ Gets or sets the name of the file to be Path.Combine()'d with the current directory.
- Default:
- Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
+ Gets or sets the name of the directory to be Path.Combine()'d with the current directory.
- Default:
@@ -9295,21 +9286,18 @@
Gets or sets the culture used for rendering.
- Default:
Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format).
- Default: yyyy/MM/dd HH:mm:ss.fff
Gets or sets a value indicating whether to output UTC time instead of local time.
- Default:
@@ -9348,14 +9336,12 @@
Gets or sets the name of the environment variable.
- [Required] Default:
Gets or sets the default value to be used when the environment variable is not set.
- Default:
@@ -9377,21 +9363,18 @@
Gets or sets a value indicating whether username should be included.
- Default:
Gets or sets a value indicating whether domain name should be included.
- Default:
Gets or sets the default value to be used when the User is not set.
- Default: UserUnknown
@@ -9399,7 +9382,6 @@
Gets or sets the default value to be used when the Domain is not set.
- Default: DomainUnknown
@@ -9417,35 +9399,30 @@
Gets or sets the name of the item.
- [Required] Default:
Format string for conversion from object to string.
- Default:
Gets or sets the culture used for rendering.
- Default:
Gets or sets the object-property-navigation-path for lookup of nested property
- Default:
Gets or sets whether to perform case-sensitive property-name lookup
- Default:
@@ -9468,28 +9445,24 @@
Gets or sets the key to search the exception Data for
- [Required] Default:
Gets or sets whether to render innermost Exception from
- Default:
Format string for conversion from object to string.
- Default:
Gets or sets the culture used for rendering.
- Default:
@@ -9519,7 +9492,6 @@
properties: Message, Type, ShortType, ToString, Method, StackTrace.
This parameter value is case-insensitive.
- [Required] Default: ToString,Data
@@ -9528,21 +9500,18 @@
properties: Message, Type, ShortType, ToString, Method, StackTrace.
This parameter value is case-insensitive.
- Default:
Gets or sets the separator used to concatenate parts specified in the Format.
- Default:
Gets or sets the separator used to concatenate exception data specified in the Format.
- Default: ;
@@ -9550,28 +9519,24 @@
Gets or sets the maximum number of inner exceptions to include in the output.
By default inner exceptions are not enabled for compatibility with NLog 1.0.
- Default:
Gets or sets the separator between inner exceptions.
- Default:
Gets or sets whether to render innermost Exception from
- Default:
Gets or sets whether to collapse exception tree using
- Default:
@@ -9700,14 +9665,12 @@
Format string for conversion from object to string.
- Default:
Gets or sets the culture used for rendering.
- Default:
@@ -9745,7 +9708,6 @@
Gets or sets the property to retrieve.
- Default:
@@ -9799,21 +9761,18 @@
Gets or sets the name of the item.
- [Required] Default:
Format string for conversion from object to string.
- Default:
Gets or sets the culture used for rendering.
- Default:
@@ -9835,14 +9794,12 @@
Gets or sets the GUID format as accepted by Guid.ToString() method.
- Default: N
Generate the Guid from the NLog LogEvent (Will be the same for all targets)
- Default:
@@ -9890,28 +9847,24 @@
Gets or sets the separator to be used when concatenating
parts of identity information.
- Default: :
Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.Name.
- Default:
Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.AuthenticationType.
- Default:
Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.IsAuthenticated.
- Default:
@@ -9930,7 +9883,6 @@
Gets or sets the name of the parameter.
- [Required] Default:
@@ -10131,14 +10083,13 @@
Gets or sets a value indicating the output format of the level.
- Default:
Gets or sets a value indicating whether upper case conversion should be applied.
- Default:
+ A value of true if upper case conversion should be applied otherwise, false.
@@ -10204,14 +10155,12 @@
Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character).
- Default:
Gets or sets a value indicating whether to render prefix of logger name (the part before the trailing dot character).
- Default:
@@ -10230,7 +10179,6 @@
Gets or sets a value indicating whether to output UTC time instead of local time.
- Default:
@@ -10260,25 +10208,27 @@
Documentation on NLog Wiki
+
+
+ Initializes a new instance of the class.
+
+
Gets or sets a value indicating whether to log exception along with message.
- Default:
Gets or sets the string that separates message from the exception.
- Default: |
Gets or sets whether it should render the raw message without formatting parameters
- Default:
@@ -10305,14 +10255,12 @@
Gets or sets the name of the file to be Path.Combine()'d with the directory name.
- Default:
Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
- Default:
@@ -10333,16 +10281,14 @@
- Gets or sets the name of the file to be Path.Combine()'d with the directory name.
+ Gets or sets the name of the file to be Path.Combine()'d with the process directory.
- Default:
- Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
+ Gets or sets the name of the directory to be Path.Combine()'d with the process directory.
- Default:
@@ -10396,22 +10342,18 @@
Gets or sets the property to retrieve.
- Default:
- Gets or sets the format string used when converting the property value to a string, when the
- property supports formatting (e.g., , , or enum types).
+ Gets or sets the format-string to use if the property supports it (Ex. DateTime / TimeSpan / Enum)
- Default:
-
+
Gets or sets the culture used for rendering.
- Default:
@@ -10636,7 +10578,6 @@
Gets or sets a value indicating whether to write the full path to the process executable.
- Default:
@@ -10665,14 +10606,12 @@
Gets or sets a value indicating whether to output in culture invariant format
- Default:
Gets or sets the culture used for rendering.
- Default:
@@ -10696,7 +10635,6 @@
Gets or sets the indent token.
- Default:
@@ -10715,35 +10653,30 @@
Gets or sets the number of top stack frames to be rendered.
- Default:
Gets or sets the number of bottom stack frames to be rendered.
- Default:
Gets or sets the separator to be used for concatenating nested logical context output.
- Default:
Gets or sets how to format each nested state. Ex. like JSON = @
- Default:
Gets or sets the culture used for rendering.
- Default:
@@ -10765,21 +10698,18 @@
Gets or sets the name of the item.
- [Required] Default:
Format string for conversion from object to string.
- Default:
Gets or sets the culture used for rendering.
- Default:
@@ -10801,21 +10731,18 @@
Gets or sets whether to only include the duration of the last scope created
- Default:
Gets or sets whether to just display the scope creation time, and not the duration
- Default:
Gets or sets whether to just display the scope creation time, and not the duration
- Default:
@@ -10824,15 +10751,13 @@
When Format has not been specified, then it will render TimeSpan.TotalMilliseconds
- Default:
Gets or sets the culture used for rendering.
- Default:
-
+
@@ -10864,7 +10789,6 @@
Gets or sets a value indicating whether to output UTC time instead of local time.
- Default:
@@ -10922,15 +10846,13 @@
Gets or sets the name of the file to be Path.Combine()'d with the directory name.
- Default:
-
+
Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
- Default:
-
+
@@ -10978,42 +10900,36 @@
Gets or sets the output format of the stack trace.
- Default:
Gets or sets the number of top stack frames to be rendered.
- Default:
Gets or sets the number of frames to skip.
- Default:
Gets or sets the stack frame separator string.
- Default: =>
Logger should capture StackTrace, if it was not provided manually
- Default:
Gets or sets whether to render StackFrames in reverse order
- Default:
@@ -11038,14 +10954,12 @@
Gets or sets the name of the file to be Path.Combine()'d with the directory name.
- Default:
Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
- Default:
@@ -11103,21 +11017,18 @@
Gets or sets a value indicating whether to output UTC time instead of local time.
- Default:
Gets or sets a value indicating whether to output in culture invariant format
- Default:
Gets or sets the culture used for rendering.
- Default:
@@ -11136,14 +11047,13 @@
Gets or sets the name of the NLog variable.
- [Required] Default:
Gets or sets the default value to be used when the variable is not set.
- Default:
+ Not used if Name is null
@@ -11192,28 +11102,24 @@
Gets or sets a value indicating whether this is enabled.
- Default:
Gets or sets a value indicating when the cache is cleared.
- Default: |
- Gets or sets whether to reset cached value when CacheKey output changes. Example CacheKey could render current day, so the cached-value is reset on day roll.
+ Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s
- Default:
Gets or sets a value indicating how many seconds the value should stay cached until it expires
- Default:
@@ -11242,7 +11148,6 @@
Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path
(illegal characters are replaced with '_').
- Default:
@@ -11264,21 +11169,21 @@
Gets or sets whether output should be encoded with Json-string escaping.
- Default:
Gets or sets a value indicating whether to escape non-ascii characters
- Default:
- Should forward slashes be escaped? If , / will be converted to \/
+ Should forward slashes be escaped? If true, / will be converted to \/
- Default:
+
+ If not set explicitly then the value of the parent will be used as default.
+
@@ -11298,16 +11203,14 @@
- Gets or sets the length in characters. Zero or negative means disabled.
+ Gets or sets the length in characters.
- Default:
Same as -property, so it can be used as ambient property.
- Default:
${message:truncate=80}
@@ -11332,7 +11235,7 @@
Gets or sets a value indicating whether lower case conversion should be applied.
- A value of if lower case conversion should be applied; otherwise, .
+ A value of true if lower case conversion should be applied; otherwise, false.
@@ -11348,7 +11251,6 @@
Gets or sets the culture used for rendering.
- Default:
@@ -11367,7 +11269,7 @@
Gets or sets a value indicating whether to disable the IRawValue-interface
- Default:
+ A value of true if IRawValue-interface should be ignored; otherwise, false.
@@ -11391,29 +11293,25 @@
Shortcut for
- Default:
Gets or sets the object-property-navigation-path for lookup of nested property
- [Required] Default:
Format string for conversion from object to string.
- Default:
-
+
Gets or sets the culture used for rendering.
- Default:
-
+
@@ -11440,7 +11338,6 @@
If is not found, print this layout.
- Default:
@@ -11465,7 +11362,6 @@
If is not found, print this layout.
- Default:
@@ -11505,7 +11401,6 @@
Gets or sets the number of characters to pad the output to.
- Default: .
Positive padding values cause left padding, negative values
cause right padding to the desired width.
@@ -11515,7 +11410,6 @@
Gets or sets the padding character.
- Default:
@@ -11523,18 +11417,16 @@
Gets or sets a value indicating whether to trim the
rendered text to the absolute value of the padding length.
- Default:
Gets or sets a value indicating whether a value that has
- been truncated (when is )
+ been truncated (when is true)
will be left-aligned (characters removed from the right)
or right-aligned (characters removed from the left). The
default is left alignment.
- Default:
@@ -11559,28 +11451,28 @@
Gets or sets the text to search for.
- [Required] Default:
+ The text search for.
Gets or sets the replacement string.
- Default:
+ The replacement string.
Gets or sets a value indicating whether to ignore case.
- Default:
+ A value of true if case should be ignored when searching; otherwise, false.
Gets or sets a value indicating whether to search for whole words
- Default:
+ A value of true if whole words should be searched for; otherwise, false.
@@ -11602,14 +11494,12 @@
Gets or sets a value indicating the string that should be used to replace newlines.
- Default:
- Gets or sets a value indicating the string that should be used to replace newlines (alias for )
+ Gets or sets a value indicating the string that should be used to replace newlines.
- Default:
@@ -11629,9 +11519,8 @@
- Gets or sets the length in characters. Zero or negative means disabled.
+ Gets or sets the length in characters.
- Default:
@@ -11695,14 +11584,14 @@
Gets or sets the start index.
- Default:
+ Index
Gets or sets the length in characters. If null, then the whole string
- Default:
+ Index
@@ -11734,9 +11623,9 @@
- Gets or sets a value indicating whether whitespace should be trimmed.
+ Gets or sets a value indicating whether lower case conversion should be applied.
- Default:
+ A value of true if lower case conversion should be applied; otherwise, false.
@@ -11763,14 +11652,13 @@
Gets or sets a value indicating whether upper case conversion should be applied.
- Default:
+ A value of true if upper case conversion should be applied otherwise, false.
Same as -property, so it can be used as ambient property.
- Default:
${level:toupper}
@@ -11780,7 +11668,6 @@
Gets or sets the culture used for rendering.
- Default:
@@ -11798,25 +11685,30 @@
Documentation on NLog Wiki
+
+
+ Initializes a new instance of the class.
+
+
Gets or sets a value indicating whether spaces should be translated to '+' or '%20'.
- Default:
+ A value of true if space should be translated to '+'; otherwise, false.
Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs)
- Default:
+ A value of true if Rfc3986; otherwise, false for legacy Rfc2396.
Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard)
- Default:
+ A value of true if legacy encoding; otherwise, false for standard UTF8 encoding.
@@ -11834,7 +11726,6 @@
Gets or sets the layout to be rendered when Inner-layout produces empty result.
- Default:
@@ -11859,14 +11750,12 @@
Gets or sets the condition that must be met for the layout to be printed.
- [Required] Default:
If is not met, print this layout.
- Default:
@@ -11885,9 +11774,11 @@
- Gets or sets the line length for wrapping. Only positive values are allowed.
+ Gets or sets the line length for wrapping.
- Default:
+
+ Only positive values are allowed
+
@@ -11910,7 +11801,6 @@
[DefaultParameter] so Inner: is not required if it's the first
- Default:
@@ -11994,20 +11884,18 @@
Gets or sets whether output should be encoded with XML-string escaping.
- Default:
+ Ensures always valid XML, but gives a performance hit
Gets or sets whether output should be wrapped using CDATA section instead of XML-string escaping
- Default:
Gets or sets a value indicating whether to transform newlines (\r\n) into (
)
- Default:
@@ -12076,26 +11964,22 @@
Gets or sets the name of the column.
- [Required] Default:
Gets or sets the layout used for rendering the column value.
- [Required] Default:
-
- Gets or sets the override of Quoting mode
-
-
- Default: .
-
- For faster performance then consider and
-
-
+
+ Gets or sets the override of Quoting mode
+
+
+ and are faster than the default
+
+
@@ -12162,37 +12046,33 @@
- Gets or sets a value indicating whether CSV should include header.
+ Gets or sets a value indicating whether CVS should include header.
- Default:
+ A value of true if CVS should include header; otherwise, false.
Gets or sets the column delimiter.
- Default:
Gets or sets the quoting mode.
- Default:
Gets or sets the quote Character.
- Default: "
Gets or sets the custom column delimiter value (valid when is set to ).
- Default:
@@ -12273,16 +12153,14 @@
- Gets or sets the option to suppress the extra spaces in the output json.
+ Gets or sets the option to suppress the extra spaces in the output json. Default: true
- Default:
Gets or sets the option to render the empty object value {}
- Default:
@@ -12333,56 +12211,52 @@
Gets or sets the name of the attribute.
- [Required] Default:
Gets or sets the layout used for rendering the attribute value.
- [Required] Default:
Gets or sets the result value type, for conversion of layout rendering output
- Default:
Gets or sets the fallback value when result value is not available
- Default:
Gets or sets whether output should be encoded as Json-String-Property, or be treated as valid json.
- Default:
Gets or sets a value indicating whether to escape non-ascii characters
- Default:
Should forward slashes be escaped? If true, / will be converted to \/
- Default:
+
+ If not set explicitly then the value of the parent will be used as default.
+
- Gets or sets whether empty attribute value should be included in the output.
+ Gets or sets whether empty attribute value should be included in the output. Default = false
- Default: . Empty value is either null or empty string
+ Empty value is either null or empty string
@@ -12407,44 +12281,38 @@
- Gets or sets the option to suppress the extra spaces in the output json.
+ Gets or sets the option to suppress the extra spaces in the output json. Default: true
- Default:
Gets or sets the option to render the empty object value {}
- Default:
Auto indent and create new lines
- Default:
Gets or sets the option to include all properties from the log event (as JSON)
- Default:
Gets or sets a value indicating whether to include contents of the dictionary.
- Default:
Gets or sets whether to include the contents of the dictionary.
- Default:
@@ -12453,7 +12321,6 @@
Gets or sets the option to include all properties from the log event (as JSON)
- Default:
@@ -12462,7 +12329,6 @@
Gets or sets a value indicating whether to include contents of the dictionary.
- Default:
@@ -12471,14 +12337,12 @@
Gets or sets a value indicating whether to include contents of the dictionary.
- Default:
Gets or sets the option to exclude null/empty properties from the log event (as JSON)
- Default:
@@ -12491,14 +12355,15 @@
How far should the JSON serializer follow object references before backing off
- Default:
- Should forward slashes be escaped? If , / will be converted to \/
+ Should forward slashes be escaped? If true, / will be converted to \/
- Default:
+
+ If not set explicitly then the value of the parent will be used as default.
+
@@ -12579,7 +12444,7 @@
Parses the specified string as LayoutRenderer-expression into a .
The layout string.
- Whether should be thrown on parse errors ( = replace unrecognized tokens with a space).
+ Whether should be thrown on parse errors (false = replace unrecognized tokens with a space).
Instance of .
@@ -12707,8 +12572,8 @@
Try get value
- rawValue if return result is
- if we could not determine the rawValue
+ rawValue if return result is true
+ false if we could not determine the rawValue
@@ -12845,7 +12710,7 @@
- Get the fixed text. Only set when is
+ Get the fixed text. Only set when is true
@@ -13119,42 +12984,37 @@
Gets or sets the name of the attribute.
- [Required] Default:
Gets or sets the layout used for rendering the attribute value.
- [Required] Default:
Gets or sets the result value type, for conversion of layout rendering output
- Default:
Gets or sets the fallback value when result value is not available
- Default:
Gets or sets whether output should be encoded with Xml-string escaping, or be treated as valid xml-attribute-value
- Default:
- Gets or sets whether empty attribute value should be included in the output.
+ Gets or sets whether empty attribute value should be included in the output. Default = false
- Default: . Empty value is either null or empty string
+ Empty value is either null or empty string
@@ -13180,35 +13040,33 @@
Name of the element
- [Required] Default: item
+
+ Default value "item"
+
Value inside the element
- Default:
Gets or sets the layout used for rendering the XML-element InnerText.
- Default:
Gets or sets whether output should be encoded with XML-string escaping, or be treated as valid xml-element-value
- Default:
Gets or sets whether output should be wrapped using CDATA section instead of XML-string escaping
- Default:
@@ -13241,7 +13099,6 @@
Auto indent and create new lines
- Default:
@@ -13264,23 +13121,20 @@
- Gets or sets whether empty XML-element should be included in the output.
+ Gets or sets whether empty XML-element should be included in the output. Default = false
- Default: . Empty value is either null or empty string
Gets or sets the option to include all properties from the log event (as XML)
- Default:
Gets or sets whether to include the contents of the dictionary.
- Default:
@@ -13289,7 +13143,6 @@
Gets or sets a value indicating whether to include contents of the dictionary.
- Default:
@@ -13298,7 +13151,6 @@
Gets or sets a value indicating whether to include contents of the dictionary.
- Default:
@@ -13307,12 +13159,11 @@
Gets or sets the option to include all properties from the log event (as XML)
- Default:
- List of property names to exclude when is
+ List of property names to exclude when is true
@@ -13333,7 +13184,9 @@
When null (or empty) then key-attribute is not included
- Default: key . Newlines in attribute-value will be replaced with
+
+ Will replace newlines in attribute-value with
+
@@ -13341,23 +13194,25 @@
XML attribute name to use when rendering property-value
When null (or empty) then value-attribute is not included and
- value is formatted as XML-element-value.
+ value is formatted as XML-element-value
- Default: . Newlines in attribute-value will be replaced with
+
+ Skips closing element tag when using attribute for value
+
+ Will replace newlines in attribute-value with
+
XML element name to use for rendering IList-collections items
- Default: item
How far should the XML serializer follow object references before backing off
- Default:
@@ -13409,21 +13264,21 @@
Name of the root XML element
- [Required] Default: logevent
+
+ Default value "logevent"
+
Value inside the root XML element
- Default:
Determines whether or not this attribute will be Xml encoded.
- Default:
@@ -13944,7 +13799,7 @@
Gets or sets a value indicating whether exceptions should be thrown. See also .
- A value of if exception should be thrown; otherwise, .
+ A value of true if exception should be thrown; otherwise, false.
By default exceptions are not thrown under any circumstances.
@@ -13953,7 +13808,7 @@
If null then is used.
- A value of if exception should be thrown; otherwise, .
+ A value of true if exception should be thrown; otherwise, false.
This option is for backwards-compatibility.
By default exceptions are not thrown under any circumstances.
@@ -14180,8 +14035,8 @@
Shutdown logging without flushing async
- to release both managed and unmanaged resources;
- to release only unmanaged resources.
+ True to release both managed and unmanaged resources;
+ false to release only unmanaged resources.
@@ -14233,6 +14088,25 @@
Logger cache key.
+
+
+ Serves as a hash function for a particular type.
+
+
+
+
+ Determines if two objects are equal in value.
+
+ Other object to compare to.
+ True if objects are equal, false otherwise.
+
+
+
+ Determines if two objects of the same type are equal in value.
+
+ Other object to compare to.
+ True if objects are equal, false otherwise.
+
Logger cache.
@@ -17895,8 +17769,8 @@
Determines whether the specified instance is equal to this instance.
The to compare with this instance.
- Value of if the specified is equal to
- this instance; otherwise, .
+ Value of true if the specified is equal to
+ this instance; otherwise, false.
@@ -17970,7 +17844,7 @@
Gets or sets a value indicating whether should be thrown.
- A value of if exception should be thrown; otherwise, .
+ A value of true if exception should be thrown; otherwise, false.
This option is for backwards-compatibility.
By default exceptions are not thrown under any circumstances.
@@ -18682,7 +18556,7 @@
-
+
Try serializing a scalar (string, int, NULL) or simple type (IFormattable)
@@ -19065,7 +18939,7 @@
Name of property
When this method returns, contains the value associated with the specified key
- Returns when value is found with the specified key
+ Returns true when value is found with the specified key
Scope dictionary keys are case-insensitive
@@ -19777,9 +19651,9 @@
Enable/disables the NLog Message Template Parsing:
- - = Always use NLog mesage-template-parser and formatting.
- - = Never use NLog-parser and only use string.Format (Disable support for message-template-syntax).
- - = Auto detection of message-template-syntax, with fallback to string.Format (Default Behavior).
+ - True = Always use NLog mesage-template-parser and formatting.
+ - False = Never use NLog-parser and only use string.Format (Disable support for message-template-syntax).
+ - Null = Auto detection of message-template-syntax, with fallback to string.Format (Default Behavior).
@@ -19849,28 +19723,24 @@
How many milliseconds to delay the actual write operation to optimize for batching
- Default:
How many seconds a Task is allowed to run before it is cancelled.
- Default:
How many attempts to retry the same Task, before it is aborted
- Default:
How many milliseconds to wait before next retry (will double with each retry)
- Default: ms
@@ -19878,7 +19748,6 @@
Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue
The locking queue is less concurrent when many logger threads, but reduces memory allocation
- Default:
@@ -19886,14 +19755,12 @@
Gets or sets the action to be taken when the lazy writer thread request queue count
exceeds the set limit.
- Default:
Gets or sets the limit on the number of requests in the lazy writer thread request queue.
- Default:
@@ -19901,14 +19768,12 @@
Gets or sets the number of log events that should be processed in a batch
by the lazy writer thread.
- Default:
Task Scheduler used for processing async Tasks
- Default:
@@ -20122,11 +19987,6 @@
Name of the target.
-
-
- Initializes a new instance of the class for Unit-Testing.
-
-
Obsolete and replaced by with NLog v5.
@@ -20145,7 +20005,7 @@
Gets or sets a value indicating whether to use default row highlighting rules.
- Default: which enables the following rules:
+ The default rules are:
| Condition |
@@ -20179,7 +20039,7 @@
| level == LogLevel.Trace |
- Gray |
+ DarkGray |
NoChange |
@@ -20196,18 +20056,16 @@
Gets or sets a value indicating whether to auto-check if the console is available.
- - Disables console writing if Environment.UserInteractive = (Windows Service)
+ - Disables console writing if Environment.UserInteractive = False (Windows Service)
- Disables console writing if Console Standard Input is not available (Non-Console-App)
- Default:
Gets or sets a value indicating whether to auto-check if the console has been redirected to file
- - Disables coloring logic when System.Console.IsOutputRedirected =
+ - Disables coloring logic when System.Console.IsOutputRedirected = true
- Default:
@@ -20215,7 +20073,6 @@
Gets or sets a value indicating whether to auto-flush after
- Default: .
Normally not required as standard Console.Out will have = true, but not when pipe to file
@@ -20224,14 +20081,12 @@
Enables output using ANSI Color Codes
- Default:
Support NO_COLOR=1 environment variable. See also
- Default: NO_COLOR=1
@@ -20379,21 +20234,18 @@
Gets or sets the condition that must be met in order to set the specified foreground and background color.
- Default:
Gets or sets the foreground color.
- Default:
Gets or sets the background color.
- Default:
@@ -20455,22 +20307,22 @@
The encoding for writing messages to the .
+ Has side effect
Gets or sets a value indicating whether to auto-check if the console is available
- - Disables console writing if Environment.UserInteractive = (Windows Service)
+ - Disables console writing if Environment.UserInteractive = False (Windows Service)
- Disables console writing if Console Standard Input is not available (Non-Console-App)
- Default:
Gets or sets a value indicating whether to auto-flush after
- Default: .
+
Normally not required as standard Console.Out will have = true, but not when pipe to file
@@ -20479,14 +20331,12 @@
Gets or sets whether to force (slower) instead of the faster internal buffering.
- Default:
Gets or sets whether to activate internal buffering to allow batch writing, instead of using
- Default:
@@ -20544,19 +20394,11 @@
Gets or sets the condition that must be met before scanning the row for highlight of words
- Default:
- Gets or sets the text to be matched for Highlighting.
-
- Default:
-
-
-
-
- Gets or sets the list of words to be matched for Highlighting.
+ Gets or sets the text to be matched. You must specify either text or regex.
@@ -20564,28 +20406,24 @@
Gets or sets a value indicating whether to match whole words only.
- Default:
Gets or sets a value indicating whether to ignore case when comparing texts.
- Default:
Gets or sets the foreground color.
- Default:
Gets or sets the background color.
- Default:
@@ -20871,28 +20709,24 @@
Gets or sets the name of the machine on which Event Log service is running.
- Default:
Gets or sets the layout that renders event ID.
- Default: ${event-properties:item=EventId}
Gets or sets the layout that renders event Category.
- Default:
Optional entry type. When not set, or when not convertible to then determined by
- Default:
@@ -20900,7 +20734,7 @@
Gets or sets the value to be used as the event Source.
- [Required] Default:
+ By default this is the friendly name of the current AppDomain.
@@ -20908,14 +20742,12 @@
Gets or sets the name of the Event Log to write to. This can be System, Application or any user-defined name.
- [Required] Default: Application
Gets or sets the message length limit to write to the Event Log.
- Default:
@@ -20932,7 +20764,6 @@
Gets or sets the action to take if the message is larger than the option.
- Default:
@@ -21213,9 +21044,8 @@
Gets or sets the name of the file to write to.
- [Required] Default: .
- When not absolute path then relative path will be resolved against .
- The FileName Layout supports layout-renderers, where a single FileTarget can write to multiple files.
+ This FileName string is a layout which may include instances of layout renderers.
+ This lets you use a single target to write to multiple files.
The following value makes NLog write logging events to files based on the log level in the directory where
@@ -21231,9 +21061,8 @@
Gets or sets a value indicating whether to create directories if they do not exist.
- Default: .
- Setting this to may improve performance a bit, but will always fail
- when attempt writing to a non-existing directory.
+ Setting this to false may improve performance a bit, but you'll receive an error
+ when attempting to write to a directory that's not present.
@@ -21242,7 +21071,6 @@
Gets or sets a value indicating whether to delete old log file on startup.
- Default: .
When current log-file exists, then it is deleted (and resetting sequence number)
@@ -21251,7 +21079,6 @@
Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end.
- Default:
@@ -21259,9 +21086,8 @@
Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event.
- Default: .
- KeepFileOpen = gives the best performance, and ensure the file-lock is not lost to other applications.
- KeepFileOpen = gives the best compatibility, but slow performance and lead to file-locking issues with other applications.
+ KeepFileOpen = true gives the best performance, and ensure the file-lock is not lost to other applications.
+ KeepFileOpen = false gives the best compability, but slow performance and lead to file-locking issues with other applications.
@@ -21269,33 +21095,32 @@
Gets or sets a value indicating whether to enable log file(s) to be deleted.
- Default:
Gets or sets the line ending mode.
- Default:
Gets or sets a value indicating whether to automatically flush the file buffers after each log message.
- Default:
- Gets or sets the maximum number of files to be kept open.
+ Gets or sets the number of files to be kept open. Setting this to a higher value may improve performance
+ in a situation where a single File target is writing to many files
+ (such as splitting by level or by logger).
- Default: . Higher number might improve performance when single FileTarget
- is writing to many files (such as splitting by loglevel or by logger-name).
- Files are closed in LRU (least recently used) ordering, so files unused
- for longest period are closed first. Careful with number higher than 10-15,
- because a large number of open files consumes system resources.
+ The files are managed on a LRU (least recently used) basis, which flushes
+ the files that have not been used for the longest period of time should the
+ cache become full. As a rule of thumb, you shouldn't set this parameter to
+ a very high value. A number like 10-15 shouldn't be exceeded, because you'd
+ be keeping a large number of files open which consumes system resources.
@@ -21303,28 +21128,24 @@
Gets or sets the maximum number of seconds that files are kept open. Zero or negative means disabled.
- Default:
Gets or sets the maximum number of seconds before open files are flushed. Zero or negative means disabled.
- Default:
Gets or sets the log file buffer size in bytes.
- Default:
Gets or sets the file encoding.
- Default:
@@ -21332,21 +21153,23 @@
Gets or sets whether or not this target should just discard all data that its asked to write.
Mostly used for when testing NLog Stack except final write
- Default:
-
- Gets or sets a value indicating whether to write BOM (byte order mark) in created files.
-
- Default: (Unless UTF16 / UTF32)
-
+
+ Gets or sets a value indicating whether to write BOM (byte order mark) in created files.
+
+ Defaults to true for UTF-16 and UTF-32
+
+
- Gets or sets a value indicating whether any existing log-file should be archived on startup.
+ Gets or sets a value indicating whether to archive old log file on startup.
- Default:
+
+ When current log-file exists, then roll to the next sequence number
+
@@ -21355,7 +21178,6 @@
Default value is , which means only write header when initial file is empty (Ex. ensures valid CSV files)
- Default: .
Alternative use to ensure each application session gets individual log-file.
@@ -21365,14 +21187,12 @@
Gets or sets a value specifying the date format when using .
Obsolete and only here for Legacy reasons, instead use .
- Default:
- Gets or sets the size in bytes above which log files will be automatically archived. Zero or negative means disabled.
+ Gets or sets the size in bytes above which log files will be automatically archived.
- Default:
@@ -21380,7 +21200,6 @@
Gets or sets a value indicating whether to trigger archive operation based on time-period, by moving active-file to file-path specified by
- Default: .
Archive move operation only works if is static in nature, and not rolling automatically because of ${date} or ${shortdate}
NLog FileTarget probes the file-birthtime to recognize when time-period has passed, but file-birthtime is not supported by all filesystems.
@@ -21394,7 +21213,6 @@
Use to control suffix format, instead of now obsolete token {#}
- Default: .
Archive file-move operation only works if is static in nature, and not rolling automatically because of ${date} or ${shortdate} .
Legacy archive file-move operation can fail because of file-locks, so file-archiving can stop working because of environment issues (Other applications locking files).
@@ -21405,16 +21223,14 @@
- Gets or sets the maximum number of archive files that should be kept. Negative means disabled.
+ Gets or sets the maximum number of archive files that should be kept.
- Default:
- Gets or sets the maximum days of archive files that should be kept. Zero or negative means disabled.
+ Gets or sets the maximum days of archive files that should be kept.
- Default:
@@ -21422,7 +21238,6 @@
Gets or sets the way file archives are numbered.
Obsolete and only here for Legacy reasons, instead use .
- Default: Sequence
@@ -21430,10 +21245,9 @@
Gets or sets the format-string to convert archive sequence-number by using string.Format
- Default: _{0:00} .
- Ex. to prefix archive sequence number with leading zero's then one can use _{0:000} .
+ Ex. to prefix with leading zero's then one can use _{0:000} .
- Legacy archive-logic with can use suffix _{1:yyyyMMdd}_{0:00} .
+ Legacy archive-logic with uses default suffix _{1:yyyyMMdd}_{0:00} .
@@ -21441,7 +21255,6 @@
Gets or sets a value indicating whether the footer should be written only when the file is archived.
- Default:
@@ -21599,43 +21412,36 @@
Add quotes around object keys?
- Default:
Format provider for value
- Default:
Format string for value
- Default:
- Should non-ascii characters be encoded.
+ Should non-ascii characters be encoded. Default: false
- Default:
- Should forward slashes be escaped? If , / will be converted to \/
+ Should forward slashes be escaped? If true, / will be converted to \/
- Default:
- Serialize enum as integer value.
+ Serialize enum as string value. Default: false
- Default:
- Gets or sets the option to suppress the extra spaces in the output json.
+ Gets or sets the option to suppress the extra spaces in the output json. Default: true
- Default:
@@ -21643,13 +21449,11 @@
Any other characters will be converted to underscore character (_)
- Default:
How far down the rabbit hole should the Json Serializer go with object-reflection before stopping
- Default:
@@ -21658,7 +21462,7 @@
- Insert platform-dependent sequence after each line.
+ Insert platform-dependent end-of-line sequence after each line.
@@ -21743,7 +21547,7 @@
Indicates whether the current object is equal to another object of the same type.
- if the current object is equal to the parameter; otherwise, .
+ true if the current object is equal to the parameter; otherwise, false.
An object to compare with this object.
@@ -21804,9 +21608,8 @@
- Gets or sets the max number of items to have in memory. Zero or Negative means no limit.
+ Gets or sets the max number of items to have in memory
- Default: 0
@@ -21856,14 +21659,12 @@
Gets or sets the name of the parameter.
- [Required] Default:
Gets or sets the layout used for rendering the method-parameter value.
- [Required] Default:
@@ -21871,21 +21672,18 @@
Obsolete and replaced by with NLog v4.6.
Gets or sets the type of the parameter. Obsolete alias for
- Default: typeof(string)
Gets or sets the type of the parameter.
- Default: typeof(string)
Gets or sets the fallback value when result value is not available
- Default:
@@ -21920,15 +21718,14 @@
Gets or sets the class name.
- Default:
Gets or sets the method name. The method must be public and static.
- Use the AssemblyQualifiedName -
+ Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx
+ e.g.
- Default:
@@ -22025,7 +21822,6 @@
Gets or sets a value indicating whether to perform layout calculation.
- Default:
@@ -22063,7 +21859,6 @@
Gets or sets the name of the target.
- [Required] Default:
@@ -22173,7 +21968,7 @@
Releases unmanaged and - optionally - managed resources.
- to release both managed and unmanaged resources; to release only unmanaged resources.
+ True to release both managed and unmanaged resources; false to release only unmanaged resources.
@@ -22334,35 +22129,31 @@
Gets or sets the name of the property.
- [Required] Default:
Gets or sets the layout used for rendering the property value.
- [Required] Default:
Gets or sets the type of the property.
- Default:
Gets or sets the fallback value when result value is not available
- Default:
- Gets or sets whether empty property value should be included in the output.
+ Gets or sets whether empty property value should be included in the output. Default = false
- Default: . Empty value is either null or empty string
+ Empty value is either null or empty string
@@ -22413,21 +22204,18 @@
Gets or sets the option to include all properties from the log events
- Default:
Gets or sets whether to include the contents of the properties-dictionary.
- Default:
Gets or sets whether to include the contents of the nested-state-stack.
- Default:
@@ -22435,7 +22223,6 @@
Obsolete and replaced by with NLog v5.
Gets or sets whether to include the contents of the -dictionary.
- Default:
@@ -22443,7 +22230,6 @@
Obsolete and replaced by with NLog v5.
Gets or sets whether to include the contents of the -stack.
- Default:
@@ -22451,7 +22237,6 @@
Obsolete and replaced by with NLog v5.
Gets or sets whether to include the contents of the -properties.
- Default:
@@ -22459,28 +22244,24 @@
Obsolete and replaced by with NLog v5.
Gets or sets whether to include the contents of the -stack.
- Default:
Gets or sets a value indicating whether to include contents of the dictionary
- Default:
Gets or sets a value indicating whether to include call site (class and method name) in the
- Default:
Gets or sets a value indicating whether to include source info (file name and line number) in the
- Default:
@@ -22491,7 +22272,7 @@
- List of property names to exclude when is
+ List of property names to exclude when is true
@@ -22508,7 +22289,7 @@
Check if logevent has properties (or context properties)
- if properties should be included
+ True if properties should be included
@@ -22657,7 +22438,9 @@
Gets or sets the layout used to format log messages.
- [Required] Default: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
+
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
+
@@ -22674,20 +22457,24 @@
-
+
+ Gets or sets the text to be rendered.
+
+
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
+
+
Gets or sets the footer.
- Default:
Gets or sets the header.
- Default:
@@ -22838,14 +22625,12 @@
Gets or sets the number of log events that should be processed in a batch
by the lazy writer thread.
- Default:
Gets or sets the time in milliseconds to sleep between batches. (1 or less means trigger on new activity)
- Default: ms
@@ -22863,28 +22648,30 @@
Gets or sets the action to be taken when the lazy writer thread request queue count
exceeds the set limit.
- Default:
Gets or sets the limit on the number of requests in the lazy writer thread request queue.
- Default:
Gets or sets the number of batches of to write before yielding into
- Default: . Better performance when writing small batches, than single large batch.
+
+ Performance is better when writing many small batches, than writing a single large batch
+
Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue
- Default: . Queue with Monitor.Lock is less concurrent when many logger threads, but reduces memory allocation
+
+ The locking queue is less concurrent when many logger threads, but reduces memory allocation
+
@@ -22919,7 +22706,7 @@
Attempts to start an instant timer-worker-thread which can write
queued log messages.
- Returns when scheduled a timer-worker-thread
+ Returns true when scheduled a timer-worker-thread
@@ -22989,21 +22776,20 @@
Gets or sets the condition expression. Log events who meet this condition will cause
a flush on the wrapped target.
- Default:
Delay the flush until the LogEvent has been confirmed as written
- Default: . When not explicitly set, then automatically disabled when or AsyncTaskTarget
+ If not explicitly set, then disabled by default for and AsyncTaskTarget
+
Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush
- Default:
@@ -23099,7 +22885,6 @@
Gets or sets the number of log events to be buffered.
- Default:
@@ -23107,7 +22892,6 @@
Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed
if there's no write in the specified period of time. Use -1 to disable timed flushes.
- Default: . Zero or Negative means disabled.
@@ -23115,9 +22899,8 @@
Gets or sets a value indicating whether to use sliding timeout.
- Default: .
- This value determines how the inactivity period is determined. When
- the inactivity timer is reset after each write, if - inactivity timer will
+ This value determines how the inactivity period is determined. If sliding timeout is enabled,
+ the inactivity timer is reset after each write, if it is disabled - inactivity timer will
count from the first event written to the buffer.
@@ -23127,9 +22910,10 @@
Gets or sets the action to take if the buffer overflows.
- Default: . Setting to
- will flush the entire buffer to the wrapped target. Setting to
- will replace the oldest event with new events without sending events down to the wrapped target.
+ Setting to will replace the
+ oldest event with new events without sending events down to the wrapped target, and
+ setting to will flush the
+ entire buffer to the wrapped target.
@@ -23290,14 +23074,12 @@
Gets or sets a value indicating whether to return to the first target after any successful write.
- Default:
Gets or sets whether to enable batching, but fallback will be handled individually
- Default:
@@ -23389,14 +23171,12 @@
Gets or sets the condition expression. Log events who meet this condition will be forwarded
to the wrapped target.
- Default:
Gets or sets the filter. Log events who evaluates to will be discarded
- [Required] Default:
@@ -23426,7 +23206,6 @@
Identifier to perform group-by
- [Required] Default:
@@ -23502,14 +23281,18 @@
Gets or sets the maximum allowed number of messages written per .
- Default: . Messages received after has been reached in the current will be discarded.
+
+ Messages received after has been reached in the current will be discarded.
+
Gets or sets the interval in which messages will be written up to the number of messages.
- Default: hour. Messages received after has been reached in the current will be discarded.
+
+ Messages received after has been reached in the current will be discarded.
+
@@ -23618,7 +23401,6 @@
Gets or sets the default filter to be applied when no specific rule matches.
- Default:
@@ -23744,7 +23526,6 @@
Gets or sets the number of times to repeat each log message.
- Default:
@@ -23801,21 +23582,18 @@
Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure.
- Default:
Gets or sets the time to wait between retries in milliseconds.
- Default: ms
Gets or sets whether to enable batching, and only apply single delay when a whole batch fails
- Default:
@@ -23965,7 +23743,6 @@
Gets or sets the target that is wrapped by this target.
- [Required] Default:
@@ -23988,10 +23765,6 @@
Current local time retrieved directly from DateTime.Now.
-
- See NLog Wiki
-
- Documentation on NLog Wiki
@@ -24011,10 +23784,6 @@
Current UTC time retrieved directly from DateTime.UtcNow.
-
- See NLog Wiki
-
- Documentation on NLog Wiki
@@ -24034,10 +23803,6 @@
Fast time source that updates current time only once per tick (15.6 milliseconds).
-
- See NLog Wiki
-
- Documentation on NLog Wiki
@@ -24053,10 +23818,6 @@
Fast local time source that is updated once per tick (15.6 milliseconds).
-
- See NLog Wiki
-
- Documentation on NLog Wiki
@@ -24076,10 +23837,6 @@
Fast UTC time source that is updated once per tick (15.6 milliseconds).
-
- See NLog Wiki
-
- Documentation on NLog Wiki
@@ -24099,10 +23856,6 @@
Defines source of current time.
-
- See NLog Wiki
-
- Documentation on NLog Wiki
@@ -24336,35 +24089,5 @@
Gets or sets the justification for suppressing the code analysis message.
-
-
- Indicates that the specified method requires dynamic access to code that is not referenced
- statically, for example through .
-
-
- This allows tools to understand which methods are unsafe to call when removing unreferenced
- code from an application.
-
-
-
-
- Initializes a new instance of the class
- with the specified message.
-
-
- A message that contains information about the usage of unreferenced code.
-
-
-
-
- Gets a message that contains information about the usage of unreferenced code.
-
-
-
-
- Gets or sets an optional URL that contains more information about the method,
- why it requires unreferenced code, and what options a consumer has to deal with it.
-
-
diff --git a/ZZPDFTest/bin/Debug/OnDocOffice.dll b/ZZPDFTest/bin/Debug/OnDocOffice.dll
index 261b6a36a..776ea6b17 100644
Binary files a/ZZPDFTest/bin/Debug/OnDocOffice.dll and b/ZZPDFTest/bin/Debug/OnDocOffice.dll differ
diff --git a/ZZPDFTest/bin/Debug/OnDocOffice.pdb b/ZZPDFTest/bin/Debug/OnDocOffice.pdb
index 67c3a3d94..30c0f059f 100644
Binary files a/ZZPDFTest/bin/Debug/OnDocOffice.pdb and b/ZZPDFTest/bin/Debug/OnDocOffice.pdb differ
diff --git a/ZZPDFTest/bin/Debug/Versandstrasse.dll b/ZZPDFTest/bin/Debug/Versandstrasse.dll
index 823efe425..aa7124ba0 100644
Binary files a/ZZPDFTest/bin/Debug/Versandstrasse.dll and b/ZZPDFTest/bin/Debug/Versandstrasse.dll differ
diff --git a/ZZPDFTest/bin/Debug/Versandstrasse.pdb b/ZZPDFTest/bin/Debug/Versandstrasse.pdb
index 92f7dbe13..cf6b6f0d2 100644
Binary files a/ZZPDFTest/bin/Debug/Versandstrasse.pdb and b/ZZPDFTest/bin/Debug/Versandstrasse.pdb differ
diff --git a/ZZPDFTest/bin/Debug/ZZPDFTest.exe b/ZZPDFTest/bin/Debug/ZZPDFTest.exe
index 760cb643b..e35cda192 100644
Binary files a/ZZPDFTest/bin/Debug/ZZPDFTest.exe and b/ZZPDFTest/bin/Debug/ZZPDFTest.exe differ
diff --git a/ZZPDFTest/bin/Debug/ZZPDFTest.pdb b/ZZPDFTest/bin/Debug/ZZPDFTest.pdb
index e61d593ff..ba781ad48 100644
Binary files a/ZZPDFTest/bin/Debug/ZZPDFTest.pdb and b/ZZPDFTest/bin/Debug/ZZPDFTest.pdb differ
diff --git a/ZZPDFTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/ZZPDFTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache
index 45bb0a2a2..f92c95fcf 100644
Binary files a/ZZPDFTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/ZZPDFTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/ZZPDFTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/ZZPDFTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index 122d8f452..72b35e947 100644
Binary files a/ZZPDFTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/ZZPDFTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/ZZPDFTest/obj/Debug/ZZPDFTest.csproj.AssemblyReference.cache b/ZZPDFTest/obj/Debug/ZZPDFTest.csproj.AssemblyReference.cache
index 9ee412b21..f5152ead2 100644
Binary files a/ZZPDFTest/obj/Debug/ZZPDFTest.csproj.AssemblyReference.cache and b/ZZPDFTest/obj/Debug/ZZPDFTest.csproj.AssemblyReference.cache differ
diff --git a/ZZPDFTest/obj/Debug/ZZPDFTest.csproj.CoreCompileInputs.cache b/ZZPDFTest/obj/Debug/ZZPDFTest.csproj.CoreCompileInputs.cache
index 6e314d697..33796925e 100644
--- a/ZZPDFTest/obj/Debug/ZZPDFTest.csproj.CoreCompileInputs.cache
+++ b/ZZPDFTest/obj/Debug/ZZPDFTest.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-cbe39974ee20b6613a09cfba2f04e23f3b4c29eb29b2d898bdc2cd0340c00bb1
+ef4aab12c69422f1cd199a582bc413eb9b193c5f2c1e8f14f7e2a40ece507064
diff --git a/ZZPDFTest/obj/Debug/ZZPDFTest.exe b/ZZPDFTest/obj/Debug/ZZPDFTest.exe
index 760cb643b..e35cda192 100644
Binary files a/ZZPDFTest/obj/Debug/ZZPDFTest.exe and b/ZZPDFTest/obj/Debug/ZZPDFTest.exe differ
diff --git a/ZZPDFTest/obj/Debug/ZZPDFTest.pdb b/ZZPDFTest/obj/Debug/ZZPDFTest.pdb
index e61d593ff..ba781ad48 100644
Binary files a/ZZPDFTest/obj/Debug/ZZPDFTest.pdb and b/ZZPDFTest/obj/Debug/ZZPDFTest.pdb differ
diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Database.dll.config b/ZZ_BarcpdeFromFont/bin/Debug/Database.dll.config
new file mode 100644
index 000000000..221bbe71f
--- /dev/null
+++ b/ZZ_BarcpdeFromFont/bin/Debug/Database.dll.config
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Logging.dll b/ZZ_BarcpdeFromFont/bin/Debug/Logging.dll
index 2d6fd3221..980d7597b 100644
Binary files a/ZZ_BarcpdeFromFont/bin/Debug/Logging.dll and b/ZZ_BarcpdeFromFont/bin/Debug/Logging.dll differ
diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Logging.dll.config b/ZZ_BarcpdeFromFont/bin/Debug/Logging.dll.config
new file mode 100644
index 000000000..3df69c5a5
--- /dev/null
+++ b/ZZ_BarcpdeFromFont/bin/Debug/Logging.dll.config
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Logging.pdb b/ZZ_BarcpdeFromFont/bin/Debug/Logging.pdb
index 8834ecd5f..75ce3d64b 100644
Binary files a/ZZ_BarcpdeFromFont/bin/Debug/Logging.pdb and b/ZZ_BarcpdeFromFont/bin/Debug/Logging.pdb differ
diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Model.dll b/ZZ_BarcpdeFromFont/bin/Debug/Model.dll
index 74d2710ed..b2007c3c5 100644
Binary files a/ZZ_BarcpdeFromFont/bin/Debug/Model.dll and b/ZZ_BarcpdeFromFont/bin/Debug/Model.dll differ
diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Model.pdb b/ZZ_BarcpdeFromFont/bin/Debug/Model.pdb
index 1f7611581..244081632 100644
Binary files a/ZZ_BarcpdeFromFont/bin/Debug/Model.pdb and b/ZZ_BarcpdeFromFont/bin/Debug/Model.pdb differ
diff --git a/ZZ_BarcpdeFromFont/bin/Debug/NLog.Database.dll b/ZZ_BarcpdeFromFont/bin/Debug/NLog.Database.dll
index d5c959ecb..1d7524049 100644
Binary files a/ZZ_BarcpdeFromFont/bin/Debug/NLog.Database.dll and b/ZZ_BarcpdeFromFont/bin/Debug/NLog.Database.dll differ
diff --git a/ZZ_BarcpdeFromFont/bin/Debug/NLog.Database.xml b/ZZ_BarcpdeFromFont/bin/Debug/NLog.Database.xml
index 2ca03c0e6..d13749e14 100644
--- a/ZZ_BarcpdeFromFont/bin/Debug/NLog.Database.xml
+++ b/ZZ_BarcpdeFromFont/bin/Debug/NLog.Database.xml
@@ -105,6 +105,14 @@
Name of the parameter.
The parameter layout.
+
+
+ Initializes a new instance of the class.
+
+ Name of the parameter.
+ The parameter layout.
+ Method-delegate to perform custom initialization database-parameter. Ex. for AOT to assign custom DbType.
+
Gets or sets the database parameter name.
@@ -113,7 +121,7 @@
- Gets or sets the layout that should be use to calculate the value for the parameter.
+ Gets or sets the layout used for rendering the database-parameter value.
@@ -121,8 +129,16 @@
Gets or sets the database parameter DbType.
+
+ Not compatible with AOT since using type-reflection to convert into Enum and assigning value.
+
+
+
+ Gets or sets the database parameter DbType (without reflection logic)
+
+
Gets or sets the database parameter size.
@@ -209,12 +225,26 @@
Initializes a new instance of the class.
+
+ Not compatible with AOT since using type-reflection with to resolve DbConnection-factory.
+
Initializes a new instance of the class.
Name of the target.
+
+ Not compatible with AOT since using type-reflection with to resolve DbConnection-factory.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A factory function that creates instances of for connecting to the database (AOT compatible)
+
@@ -235,7 +265,7 @@
(Note that provider invariant names are not supported on .NET Compact Framework).
- Alternatively the parameter value can be be a fully qualified name of the provider
+ Alternatively the parameter value can be be a fully qualified name of the provider
connection type (class implementing ) or one of the following tokens:
- Gets or sets a value indicating whether to keep the
+ Gets or sets a value indicating whether to keep the
database connection open between the log events.
@@ -321,10 +351,10 @@
Gets or sets the text of the SQL command to be run on each log level.
- Typically this is a SQL INSERT statement or a stored procedure call.
+ Typically this is a SQL INSERT statement or a stored procedure call.
It should use the database-specific parameters (marked as @parameter
for SQL server or :parameter for Oracle, other data providers
- have their own notation) and not the layout renderers,
+ have their own notation) and not the layout renderers,
because the latter is prone to SQL injection attacks.
The layout renderers should be specified as <parameter /> elements instead.
@@ -336,7 +366,7 @@
This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure".
- When using the value StoredProcedure, the commandText-property would
+ When using the value StoredProcedure, the commandText-property would
normally be the name of the stored procedure. TableDirect method is not supported in this context.
@@ -392,7 +422,7 @@
-
+
Set the to use it for opening connections to the database.
@@ -423,10 +453,10 @@
- Build the connectionstring from the properties.
+ Build the connectionstring from the properties.
- Using at first, and falls back to the properties ,
+ Using at first, and falls back to the properties ,
, and
Event to render the layout inside the properties.
@@ -457,5 +487,180 @@
Reflection helpers.
+
+
+ Initializes a new instance of the class
+ with the specified member types.
+
+ The types of members dynamically accessed.
+
+
+
+ Gets the which specifies the type
+ of members dynamically accessed.
+
+
+
+
+ Specifies the types of members that are dynamically accessed.
+
+ This enumeration has a attribute that allows a
+ bitwise combination of its member values.
+
+
+
+
+ Specifies no members.
+
+
+
+
+ Specifies the default, parameterless public constructor.
+
+
+
+
+ Specifies all public constructors.
+
+
+
+
+ Specifies all non-public constructors.
+
+
+
+
+ Specifies all public methods.
+
+
+
+
+ Specifies all non-public methods.
+
+
+
+
+ Specifies all public fields.
+
+
+
+
+ Specifies all non-public fields.
+
+
+
+
+ Specifies all public nested types.
+
+
+
+
+ Specifies all non-public nested types.
+
+
+
+
+ Specifies all public properties.
+
+
+
+
+ Specifies all non-public properties.
+
+
+
+
+ Specifies all public events.
+
+
+
+
+ Specifies all non-public events.
+
+
+
+
+ Specifies all interfaces implemented by the type.
+
+
+
+
+ Specifies all members.
+
+
+
+
+ Suppresses reporting of a specific rule violation, allowing multiple suppressions on a
+ single code artifact.
+
+
+ is different than
+ in that it doesn't have a
+ . So it is always preserved in the compiled assembly.
+
+
+
+
+ Initializes a new instance of the
+ class, specifying the category of the tool and the identifier for an analysis rule.
+
+ The category for the attribute.
+ The identifier of the analysis rule the attribute applies to.
+
+
+
+ Gets the category identifying the classification of the attribute.
+
+
+ The property describes the tool or tool analysis category
+ for which a message suppression attribute applies.
+
+
+
+
+ Gets the identifier of the analysis tool rule to be suppressed.
+
+
+ Concatenated together, the and
+ properties form a unique check identifier.
+
+
+
+
+ Gets or sets the scope of the code that is relevant for the attribute.
+
+
+ The Scope property is an optional argument that specifies the metadata scope for which
+ the attribute is relevant.
+
+
+
+
+ Gets or sets a fully qualified path that represents the target of the attribute.
+
+
+ The property is an optional argument identifying the analysis target
+ of the attribute. An example value is "System.IO.Stream.ctor():System.Void".
+ Because it is fully qualified, it can be long, particularly for targets such as parameters.
+ The analysis tool user interface should be capable of automatically formatting the parameter.
+
+
+
+
+ Gets or sets an optional argument expanding on exclusion criteria.
+
+
+ The property is an optional argument that specifies additional
+ exclusion where the literal metadata target is not sufficiently precise. For example,
+ the cannot be applied within a method,
+ and it may be desirable to suppress a violation against a statement in the method that will
+ give a rule violation, but not against all statements in the method.
+
+
+
+
+ Gets or sets the justification for suppressing the code analysis message.
+
+
diff --git a/ZZ_BarcpdeFromFont/bin/Debug/NLog.dll b/ZZ_BarcpdeFromFont/bin/Debug/NLog.dll
index 54fe62533..fefd19e77 100644
Binary files a/ZZ_BarcpdeFromFont/bin/Debug/NLog.dll and b/ZZ_BarcpdeFromFont/bin/Debug/NLog.dll differ
diff --git a/ZZ_BarcpdeFromFont/bin/Debug/NLog.xml b/ZZ_BarcpdeFromFont/bin/Debug/NLog.xml
index 96ffa38b0..00260415c 100644
--- a/ZZ_BarcpdeFromFont/bin/Debug/NLog.xml
+++ b/ZZ_BarcpdeFromFont/bin/Debug/NLog.xml
@@ -4,6 +4,4076 @@
NLog
+
+
+ Indicates that the value of the marked element could be null sometimes,
+ so checking for null is required before its usage.
+
+
+ [CanBeNull] object Test() => null;
+
+ void UseTest() {
+ var p = Test();
+ var s = p.ToString(); // Warning: Possible 'System.NullReferenceException'
+ }
+
+
+
+
+ Indicates that the value of the marked element can never be null.
+
+
+ [NotNull] object Foo() {
+ return null; // Warning: Possible 'null' assignment
+ }
+
+
+
+
+ Indicates that the marked method builds string by the format pattern and (optional) arguments.
+ The parameter, which contains the format string, should be given in the constructor. The format string
+ should be in -like form.
+
+
+ [StringFormatMethod("message")]
+ void ShowError(string message, params object[] args) { /* do something */ }
+
+ void Foo() {
+ ShowError("Failed: {0}"); // Warning: Non-existing argument in format string
+ }
+
+
+
+
+ Specifies which parameter of an annotated method should be treated as the format string
+
+
+
+
+ Indicates that the marked parameter is a message template where placeholders are to be replaced by the following arguments
+ in the order in which they appear
+
+
+ void LogInfo([StructuredMessageTemplate]string message, params object[] args) { /* do something */ }
+
+ void Foo() {
+ LogInfo("User created: {username}"); // Warning: Non-existing argument in format string
+ }
+
+
+
+
+ Describes dependency between method input and output.
+
+
+ Function Definition Table syntax:
+
+ - FDT ::= FDTRow [;FDTRow]*
+ - FDTRow ::= Input => Output | Output <= Input
+ - Input ::= ParameterName: Value [, Input]*
+ - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value}
+ - Value ::= true | false | null | notnull | canbenull
+
+ If the method has a single input parameter, its name could be omitted.
+ Using halt (or void/nothing, which is the same) for the method output
+ means that the method doesn't return normally (throws or terminates the process).
+ Value canbenull is only applicable for output parameters.
+ You can use multiple [ContractAnnotation] for each FDT row, or use single attribute
+ with rows separated by the semicolon. There is no notion of order rows, all rows are checked
+ for applicability and applied per each program state tracked by the analysis engine.
+
+
+
+ [ContractAnnotation("=> halt")]
+ public void TerminationMethod()
+
+
+ [ContractAnnotation("null <= param:null")] // reverse condition syntax
+ public string GetName(string surname)
+
+
+ [ContractAnnotation("s:null => true")]
+ public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty()
+
+
+ // A method that returns null if the parameter is null,
+ // and not null if the parameter is not null
+ [ContractAnnotation("null => null; notnull => notnull")]
+ public object Transform(object data)
+
+
+ [ContractAnnotation("=> true, result: notnull; => false, result: null")]
+ public bool TryParse(string s, out Person result)
+
+
+
+
+
+ Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library),
+ so this symbol will be ignored by usage-checking inspections.
+ You can use and
+ to configure how this attribute is applied.
+
+
+ [UsedImplicitly]
+ public class TypeConverter {}
+
+ public class SummaryData
+ {
+ [UsedImplicitly(ImplicitUseKindFlags.InstantiatedWithFixedConstructorSignature)]
+ public SummaryData() {}
+ }
+
+ [UsedImplicitly(ImplicitUseTargetFlags.WithInheritors | ImplicitUseTargetFlags.Default)]
+ public interface IService {}
+
+
+
+
+ Can be applied to attributes, type parameters, and parameters of a type assignable from .
+ When applied to an attribute, the decorated attribute behaves the same as .
+ When applied to a type parameter or to a parameter of type ,
+ indicates that the corresponding type is used implicitly.
+
+
+
+
+ Specifies the details of implicitly used symbol when it is marked
+ with or .
+
+
+
+ Only entity marked with attribute considered used.
+
+
+ Indicates implicit assignment to a member.
+
+
+
+ Indicates implicit instantiation of a type with fixed constructor signature.
+ That means any unused constructor parameters won't be reported as such.
+
+
+
+ Indicates implicit instantiation of a type.
+
+
+
+ Specifies what is considered to be used implicitly when marked
+ with or .
+
+
+
+ Members of the type marked with the attribute are considered used.
+
+
+ Inherited entities are considered used.
+
+
+ Entity marked with the attribute and all its members considered used.
+
+
+
+ Asynchronous continuation delegate - function invoked at the end of asynchronous
+ processing.
+
+ Exception during asynchronous processing or null if no exception
+ was thrown.
+
+
+
+ Helpers for asynchronous operations.
+
+
+
+
+ Iterates over all items in the given collection and runs the specified action
+ in sequence (each action executes only after the preceding one has completed without an error).
+
+ Type of each item.
+ The items to iterate.
+ The asynchronous continuation to invoke once all items
+ have been iterated.
+ The action to invoke for each item.
+
+
+
+ Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end.
+
+ The repeat count.
+ The asynchronous continuation to invoke at the end.
+ The action to invoke.
+
+
+
+ Modifies the continuation by pre-pending given action to execute just before it.
+
+ The async continuation.
+ The action to pre-pend.
+ Continuation which will execute the given action before forwarding to the actual continuation.
+
+
+
+ Attaches a timeout to a continuation which will invoke the continuation when the specified
+ timeout has elapsed.
+
+ The asynchronous continuation.
+ The timeout.
+ Wrapped continuation.
+
+
+
+ Iterates over all items in the given collection and runs the specified action
+ in parallel (each action executes on a thread from thread pool).
+
+ Type of each item.
+ The items to iterate.
+ The asynchronous continuation to invoke once all items
+ have been iterated.
+ The action to invoke for each item.
+
+
+
+ Runs the specified asynchronous action synchronously (blocks until the continuation has
+ been invoked).
+
+ The action.
+
+ Using this method is not recommended because it will block the calling thread.
+
+
+
+
+ Wraps the continuation with a guard which will only make sure that the continuation function
+ is invoked only once.
+
+ The asynchronous continuation.
+ Wrapped asynchronous continuation.
+
+
+
+ Gets the combined exception from all exceptions in the list.
+
+ The exceptions.
+ Combined exception or null if no exception was thrown.
+
+
+
+ Disposes the Timer, and waits for it to leave the Timer-callback-method
+
+ The Timer object to dispose
+ Timeout to wait (TimeSpan.Zero means dispose without waiting)
+ Timer disposed within timeout (true/false)
+
+
+
+ Asynchronous action.
+
+ Continuation to be invoked at the end of action.
+
+
+
+ Asynchronous action with one argument.
+
+ Type of the argument.
+ Argument to the action.
+ Continuation to be invoked at the end of action.
+
+
+
+ Represents the logging event with asynchronous continuation.
+
+
+
+
+ Initializes a new instance of the struct.
+
+ The log event.
+ The continuation.
+
+
+
+ Gets the log event.
+
+
+
+
+ Gets the continuation.
+
+
+
+
+ Implements the operator ==.
+
+ The event info1.
+ The event info2.
+ The result of the operator.
+
+
+
+ Implements the operator ==.
+
+ The event info1.
+ The event info2.
+ The result of the operator.
+
+
+
+
+
+
+
+
+
+
+
+
+ String Conversion Helpers
+
+
+
+
+ Converts input string value into . Parsing is case-insensitive.
+
+ Input value
+ Output value
+ Default value
+ Returns false if the input value could not be parsed
+
+
+
+ Converts input string value into . Parsing is case-insensitive.
+
+ Input value
+ The type of the enum
+ Output value. Null if parse failed
+
+
+
+ Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded.
+
+ The enumeration type to which to convert value.
+ The string representation of the enumeration name or underlying value to convert.
+ true to ignore case; false to consider case.
+ When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized.
+ true if the value parameter was converted successfully; otherwise, false.
+ Wrapper because Enum.TryParse is not present in .net 3.5
+
+
+
+ Enum.TryParse implementation for .net 3.5
+
+
+ Don't uses reflection
+
+
+
+ Enables to extract extra context details for
+
+
+
+
+ Name of context
+
+
+
+
+ The current LogFactory next to LogManager
+
+
+
+
+ Handle Internal LogEvent written to the InternalLogger
+
+
+ Never use/call NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
+
+
+
+
+ Internal LogEvent details from
+
+
+
+
+ The rendered message
+
+
+
+
+ The log level
+
+
+
+
+ The exception. Could be null.
+
+
+
+
+ The type that triggered this internal log event, for example the FileTarget.
+ This property is not always populated.
+
+
+
+
+ The context name that triggered this internal log event, for example the name of the Target.
+ This property is not always populated.
+
+
+
+
+ NLog internal logger.
+
+ Writes to file, console or custom text writer (see )
+
+ Documentation on NLog Wiki
+
+
+
+ Gets a value indicating whether internal log includes Trace messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Debug messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Info messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Warn messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Error messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Fatal messages.
+
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Trace level.
+ will be only called when logging is enabled for level Trace.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Trace level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Trace level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Trace level.
+ will be only called when logging is enabled for level Trace.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Logs the specified message without an at the Debug level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Debug level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Debug level.
+ will be only called when logging is enabled for level Debug.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Debug level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Debug level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Debug level.
+ will be only called when logging is enabled for level Debug.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Logs the specified message without an at the Info level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Info level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Info level.
+ will be only called when logging is enabled for level Info.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Info level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Info level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Info level.
+ will be only called when logging is enabled for level Info.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Logs the specified message without an at the Warn level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Warn level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Warn level.
+ will be only called when logging is enabled for level Warn.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Warn level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Warn level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Warn level.
+ will be only called when logging is enabled for level Warn.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Logs the specified message without an at the Error level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Error level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Error level.
+ will be only called when logging is enabled for level Error.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Error level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Error level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Error level.
+ will be only called when logging is enabled for level Error.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Logs the specified message without an at the Fatal level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Fatal level.
+
+ Log message.
+
+
+
+ Logs the specified message without an at the Fatal level.
+ will be only called when logging is enabled for level Fatal.
+
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the Fatal level.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Fatal level.
+
+ Exception to be logged.
+ Log message.
+
+
+
+ Logs the specified message with an at the Fatal level.
+ will be only called when logging is enabled for level Fatal.
+
+ Exception to be logged.
+ Function that returns the log message.
+
+
+
+ Set the config of the InternalLogger with defaults and config.
+
+
+
+
+ Gets or sets the minimal internal log level.
+
+ If set to , then messages of the levels , and will be written.
+
+
+
+ Gets or sets a value indicating whether internal messages should be written to the console output stream.
+
+ Your application must be a console application.
+
+
+
+ Gets or sets a value indicating whether internal messages should be written to the console error stream.
+
+ Your application must be a console application.
+
+
+
+ Gets or sets the file path of the internal log file.
+
+ A value of value disables internal logging to a file.
+
+
+
+ Gets or sets the text writer that will receive internal logs.
+
+
+
+
+ Internal LogEvent written to the InternalLogger
+
+
+ EventHandler will only be triggered for events, where severity matches the configured .
+
+ Never use/call NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
+
+
+
+
+ Gets or sets a value indicating whether timestamp should be included in internal log output.
+
+
+
+
+ Is there an thrown when writing the message?
+
+
+
+
+ Logs the specified message without an at the specified level.
+
+ Log level.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the specified level.
+
+ Log level.
+ Log message.
+
+
+
+ Logs the specified message without an at the specified level.
+ will be only called when logging is enabled for level .
+
+ Log level.
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the specified level.
+ will be only called when logging is enabled for level .
+
+ Exception to be logged.
+ Log level.
+ Function that returns the log message.
+
+
+
+ Logs the specified message with an at the specified level.
+
+ Exception to be logged.
+ Log level.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message with an at the specified level.
+
+ Exception to be logged.
+ Log level.
+ Log message.
+
+
+
+ Write to internallogger.
+
+ optional exception to be logged.
+ level
+ message
+ optional args for
+
+
+
+ Create log line with timestamp, exception message etc (if configured)
+
+
+
+
+ Determine if logging should be avoided because of exception type.
+
+ The exception to check.
+ true if logging should be avoided; otherwise, false.
+
+
+
+ Determine if logging is enabled for given LogLevel
+
+ The for the log event.
+ true if logging is enabled; otherwise, false.
+
+
+
+ Determine if logging is enabled.
+
+ true if logging is enabled; otherwise, false.
+
+
+
+ A cyclic buffer of object.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Buffer size.
+ Whether buffer should grow as it becomes full.
+ The maximum number of items that the buffer can grow to.
+
+
+
+ Gets the capacity of the buffer
+
+
+
+
+ Gets the number of items in the buffer
+
+
+
+
+ Adds the specified log event to the buffer.
+
+ Log event.
+ The number of items in the buffer.
+
+
+
+ Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation.
+
+ Events in the buffer.
+
+
+
+ Condition and expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Left hand side of the AND expression.
+ Right hand side of the AND expression.
+
+
+
+ Gets the left hand side of the AND expression.
+
+
+
+
+ Gets the right hand side of the AND expression.
+
+
+
+
+ Returns a string representation of this expression.
+
+ A concatenated '(Left) and (Right)' string.
+
+
+
+ Evaluates the expression by evaluating and recursively.
+
+ Evaluation context.
+ The value of the conjunction operator.
+
+
+
+ Exception during evaluation of condition expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+ The parameter is null.
+
+
+ The class name is null or is zero (0).
+
+
+
+
+ Condition message expression (represented by the exception keyword).
+
+
+
+
+
+
+
+ Evaluates the current .
+
+ Evaluation context.
+ The object.
+
+
+
+ Base class for representing nodes in condition expression trees.
+
+ Documentation on NLog Wiki
+
+
+
+ Default Condition-value that evalutes to string.Empty
+
+
+
+
+ Converts condition text to a condition expression tree.
+
+ Condition text to be converted.
+ Condition expression tree.
+
+
+
+ Evaluates the expression.
+
+ Evaluation context.
+ Expression result.
+
+
+
+ Returns a string representation of the expression.
+
+
+
+
+ Evaluates the expression.
+
+ Evaluation context.
+ Expression result.
+
+
+
+ Condition layout expression (represented by a string literal
+ with embedded ${}).
+
+
+
+
+ Initializes a new instance of the class.
+
+ The layout.
+
+
+
+ Gets the layout.
+
+ The layout.
+
+
+
+
+
+
+ Evaluates the expression by rendering the formatted output from
+ the
+
+ Evaluation context.
+ The output rendered from the layout.
+
+
+
+ Condition level expression (represented by the level keyword).
+
+
+
+
+
+
+
+ Evaluates to the current log level.
+
+ Evaluation context.
+ The object representing current log level.
+
+
+
+ Condition literal expression (numeric, LogLevel.XXX, true or false).
+
+
+
+
+ Initializes a new instance of the class.
+
+ Literal value.
+
+
+
+ Gets the literal value.
+
+ The literal value.
+
+
+
+
+
+
+ Evaluates the expression.
+
+ Evaluation context. Ignored.
+ The literal value as passed in the constructor.
+
+
+
+ Condition logger name expression (represented by the logger keyword).
+
+
+
+
+
+
+
+ Evaluates to the logger name.
+
+ Evaluation context.
+ The logger name.
+
+
+
+ Condition message expression (represented by the message keyword).
+
+
+
+
+
+
+
+ Evaluates to the logger message.
+
+ Evaluation context.
+ The logger message.
+
+
+
+ Marks class as a log event Condition and assigns a name to it.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Condition method name.
+
+
+
+ Gets the method parameters
+
+
+
+
+
+
+
+
+
+
+ A bunch of utility methods (mostly predicates) which can be used in
+ condition expressions. Partially inspired by XPath 1.0.
+
+
+
+
+ Compares two values for equality.
+
+ The first value.
+ The second value.
+ true when two objects are equal, false otherwise.
+
+
+
+ Compares two strings for equality.
+
+ The first string.
+ The second string.
+ Optional. If true, case is ignored; if false (default), case is significant.
+ true when two strings are equal, false otherwise.
+
+
+
+ Gets or sets a value indicating whether the second string is a substring of the first one.
+
+ The first string.
+ The second string.
+ Optional. If true (default), case is ignored; if false, case is significant.
+ true when the second string is a substring of the first string, false otherwise.
+
+
+
+ Gets or sets a value indicating whether the second string is a prefix of the first one.
+
+ The first string.
+ The second string.
+ Optional. If true (default), case is ignored; if false, case is significant.
+ true when the second string is a prefix of the first string, false otherwise.
+
+
+
+ Gets or sets a value indicating whether the second string is a suffix of the first one.
+
+ The first string.
+ The second string.
+ Optional. If true (default), case is ignored; if false, case is significant.
+ true when the second string is a prefix of the first string, false otherwise.
+
+
+
+ Returns the length of a string.
+
+ A string whose lengths is to be evaluated.
+ The length of the string.
+
+
+
+ Marks the class as containing condition methods.
+
+
+
+
+ Condition not expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expression.
+
+
+
+ Gets the expression to be negated.
+
+ The expression.
+
+
+
+
+
+
+
+
+
+ Condition or expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Left hand side of the OR expression.
+ Right hand side of the OR expression.
+
+
+
+ Gets the left expression.
+
+ The left expression.
+
+
+
+ Gets the right expression.
+
+ The right expression.
+
+
+
+
+
+
+ Evaluates the expression by evaluating and recursively.
+
+ Evaluation context.
+ The value of the alternative operator.
+
+
+
+ Exception during parsing of condition expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+ The parameter is null.
+
+
+ The class name is null or is zero (0).
+
+
+
+
+ Condition parser. Turns a string representation of condition expression
+ into an expression tree.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The string reader.
+ Instance of used to resolve references to condition methods and layout renderers.
+
+
+
+ Parses the specified condition string and turns it into
+ tree.
+
+ The expression to be parsed.
+ The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
+
+
+
+ Parses the specified condition string and turns it into
+ tree.
+
+ The expression to be parsed.
+ Instance of used to resolve references to condition methods and layout renderers.
+ The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
+
+
+
+ Parses the specified condition string and turns it into
+ tree.
+
+ The string reader.
+ Instance of used to resolve references to condition methods and layout renderers.
+
+ The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
+
+
+
+
+ Try stringed keyword to
+
+
+
+ success?
+
+
+
+ Parse number
+
+ negative number? minus should be parsed first.
+
+
+
+
+ Condition relational (==, !=, <, <=,
+ > or >=) expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The left expression.
+ The right expression.
+ The relational operator.
+
+
+
+ Gets the left expression.
+
+ The left expression.
+
+
+
+ Gets the right expression.
+
+ The right expression.
+
+
+
+ Gets the relational operator.
+
+ The operator.
+
+
+
+
+
+
+
+
+
+ Compares the specified values using specified relational operator.
+
+ The first value.
+ The second value.
+ The relational operator.
+ Result of the given relational operator.
+
+
+
+ Promote values to the type needed for the comparison, e.g. parse a string to int.
+
+
+
+
+
+
+ Promotes to type
+
+
+
+ success?
+
+
+
+ Try to promote both values. First try to promote to ,
+ when failed, try to .
+
+
+
+
+
+ Get the order for the type for comparison.
+
+
+ index, 0 to max int. Lower is first
+
+
+
+ Dictionary from type to index. Lower index should be tested first.
+
+
+
+
+ Build the dictionary needed for the order of the types.
+
+
+
+
+
+ Get the string representing the current
+
+
+
+
+
+ Relational operators used in conditions.
+
+
+
+
+ Equality (==).
+
+
+
+
+ Inequality (!=).
+
+
+
+
+ Less than (<).
+
+
+
+
+ Greater than (>).
+
+
+
+
+ Less than or equal (<=).
+
+
+
+
+ Greater than or equal (>=).
+
+
+
+
+ Hand-written tokenizer for conditions.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The string reader.
+
+
+
+ Asserts current token type and advances to the next token.
+
+ Expected token type.
+ If token type doesn't match, an exception is thrown.
+
+
+
+ Asserts that current token is a keyword and returns its value and advances to the next token.
+
+ Keyword value.
+
+
+
+ Gets or sets a value indicating whether current keyword is equal to the specified value.
+
+ The keyword.
+
+ A value of true if current keyword is equal to the specified value; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether the tokenizer has reached the end of the token stream.
+
+
+ A value of true if the tokenizer has reached the end of the token stream; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether current token is a number.
+
+
+ A value of true if current token is a number; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether the specified token is of specified type.
+
+ The token type.
+
+ A value of true if current token is of specified type; otherwise, false.
+
+
+
+
+ Gets the next token and sets and properties.
+
+
+
+
+ Try the comparison tokens (greater, smaller, greater-equals, smaller-equals)
+
+ current char
+ is match
+
+
+
+ Try the logical tokens (and, or, not, equals)
+
+ current char
+ is match
+
+
+
+ Mapping between characters and token types for punctuations.
+
+
+
+
+ Initializes a new instance of the CharToTokenType struct.
+
+ The character.
+ Type of the token.
+
+
+
+ Token types for condition expressions.
+
+
+
+
+ Marks the class or a member as advanced. Advanced classes and members are hidden by
+ default in generated documentation.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain.
+
+
+
+ Implementors must have the [ThreadAgnostic] attribute
+
+ A layout(renderer) could be converted to a literal when:
+ - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput]
+
+ Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout.
+
+
+
+
+ Used to mark configurable parameters which are arrays.
+ Specifies the mapping between XML elements and .NET types.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type of the array item.
+ The XML element name that represents the item.
+
+
+
+ Gets the .NET type of the array item.
+
+
+
+
+ Gets the XML element name.
+
+
+
+
+ Gets all usable exported types from the given assembly.
+
+ Assembly to scan.
+ Usable types from the given assembly.
+ Types which cannot be loaded are skipped.
+
+
+
+ Load from url
+
+ file or path, including .dll
+ basepath, optional
+
+
+
+
+ Load from url
+
+
+
+
+ Provides logging interface and utility functions.
+
+
+
+
+ Represents NLog ConfigSection for loading from app.config / web.config
+
+
+ <configSections>
+ <section name="NLog" type="NLog.Config.ConfigSectionHandler, NLog" />
+ </configSections>
+
+
+
+
+ Gets the default object by parsing
+ the application configuration file (app.exe.config).
+
+
+
+
+ Overriding base implementation to just store
+ of the relevant app.config section.
+
+ The XmlReader that reads from the configuration file.
+ true to serialize only the collection key properties; otherwise, false.
+
+
+
+ Override base implementation to return a object
+ for
+ instead of the instance.
+
+
+ A instance, that has been deserialized from app.config.
+
+
+
+
+ Provides registration information for named items (targets, layouts, layout renderers, etc.)
+
+ Supports creating item-instance from their type-alias, when parsing NLog configuration
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets default singleton instance of .
+
+
+ This property implements lazy instantiation so that the is not built before
+ the internal logger is configured.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the ambient property factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+ Gets or sets the JSON serializer to use with
+
+
+
+
+ Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect)
+
+
+ - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering.
+ - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with )
+ - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging)
+
+
+
+
+ Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
+ Registers named items from the assembly.
+
+ The assembly.
+
+
+
+ Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
+ Registers named items from the assembly.
+
+ The assembly.
+ Item name prefix.
+
+
+
+ Clears the contents of all factories.
+
+
+
+
+ Obsolete since dynamic type loading is not compatible with publish as trimmed application.
+ Registers the type.
+
+ The type to register.
+ The item name prefix.
+
+
+
+ Attribute used to mark the default parameters for layout renderers.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Dynamic filtering with a positive list of enabled levels
+
+
+
+
+ Dynamic filtering with a minlevel and maxlevel range
+
+
+
+
+ Format of the exception output to the specific target.
+
+
+
+
+ Appends the Message of an Exception to the specified target.
+
+
+
+
+ Appends the type of an Exception to the specified target.
+
+
+
+
+ Appends the short type of an Exception to the specified target.
+
+
+
+
+ Appends the result of calling ToString() on an Exception to the specified target.
+
+
+
+
+ Appends the method name from Exception's stack trace to the specified target.
+
+
+
+
+ Appends the stack trace from an Exception to the specified target.
+
+
+
+
+ Appends the contents of an Exception's Data property to the specified target.
+
+
+
+
+ Destructure the exception (usually into JSON)
+
+
+
+
+ Appends the from the application or the object that caused the error.
+
+
+
+
+ Appends the from the application or the object that caused the error.
+
+
+
+
+ Appends any additional properties that specific type of Exception might have.
+
+
+
+
+ Factory for class-based items.
+
+ The base type of each item.
+ The type of the attribute used to annotate items.
+
+
+
+ Registers the type.
+
+ The type to register.
+ The item name prefix.
+
+
+
+ Registers the item based on a type name.
+
+ Name of the item.
+ Name of the type.
+
+
+
+ Clears the contents of the factory.
+
+
+
+
+
+
+
+ Factory specialized for s.
+
+
+
+
+
+
+
+ Register a layout renderer with a callback function.
+
+ Name of the layoutrenderer, without ${}.
+ the renderer that renders the value.
+
+
+
+
+
+
+ Factory of named items (such as , , , etc.).
+
+
+
+
+ Factory of named items (such as , , , etc.).
+
+
+
+
+ Tries to create an item instance with type-alias
+
+ True if instance was created successfully, false otherwise.
+
+
+
+ Include context properties
+
+
+
+
+ Gets or sets the option to include all properties from the log events
+
+
+
+
+
+ Gets or sets whether to include the contents of the properties-dictionary.
+
+
+
+
+
+ Gets or sets whether to include the contents of the nested-state-stack.
+
+
+
+
+
+ Implemented by objects which support installation and uninstallation.
+
+
+
+
+ Performs installation which requires administrative permissions.
+
+ The installation context.
+
+
+
+ Performs uninstallation which requires administrative permissions.
+
+ The installation context.
+
+
+
+ Determines whether the item is installed.
+
+ The installation context.
+
+ Value indicating whether the item is installed or null if it is not possible to determine.
+
+
+
+
+ Interface for accessing configuration details
+
+
+
+
+ Name of this configuration element
+
+
+
+
+ Configuration Key/Value Pairs
+
+
+
+
+ Child configuration elements
+
+
+
+
+ Interface for loading NLog
+
+
+
+
+ Finds and loads the NLog configuration
+
+ LogFactory that owns the NLog configuration
+ Name of NLog.config file (optional)
+ NLog configuration (or null if none found)
+
+
+
+ Get file paths (including filename) for the possible NLog config files.
+
+ Name of NLog.config file (optional)
+ The file paths to the possible config file
+
+
+
+ Level enabled flags for each LogLevel ordinal
+
+
+
+
+ Converts the filter into a simple
+
+
+
+
+ Provides context for install/uninstall operations.
+
+
+
+
+ Mapping between log levels and console output colors.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The log output.
+
+
+
+ Gets or sets the installation log level.
+
+
+
+
+ Gets or sets a value indicating whether to ignore failures during installation.
+
+
+
+
+ Whether installation exceptions should be rethrown. If IgnoreFailures is set to true,
+ this property has no effect (there are no exceptions to rethrow).
+
+
+
+
+ Gets the installation parameters.
+
+
+
+
+ Gets or sets the log output.
+
+
+
+
+ Logs the specified trace message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified debug message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified informational message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified warning message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified error message.
+
+ The message.
+ The arguments.
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Creates the log event which can be used to render layouts during install/uninstall.
+
+ Log event info object.
+
+
+
+ Convert object-value into specified type
+
+
+
+
+ Parses the input value and converts into the wanted type
+
+ Input Value
+ Wanted Type
+ Format to use when parsing
+ Culture to use when parsing
+ Output value with wanted type
+
+
+
+ Interface for fluent setup of LogFactory options
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LoggingRules for LoggingConfiguration
+
+
+
+
+ LoggingRule being built
+
+
+
+
+ Interface for fluent setup of target for LoggingRule
+
+
+
+
+ LoggingConfiguration being built
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Collection of targets that should be written to
+
+
+
+
+ Interface for fluent setup of LogFactory options for extension loading
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LogFactory options for enabling NLog
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LoggingConfiguration for LogFactory
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ LoggingConfiguration being built
+
+
+
+
+ Interface for fluent setup of LogFactory options
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LogFactory options for logevent serialization
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Allows components to request stack trace information to be provided in the .
+
+
+
+
+ Gets the level of stack trace information required by the implementing class.
+
+
+
+
+ Encapsulates and the logic to match the actual logger name
+ All subclasses defines immutable objects.
+ Concrete subclasses defines various matching rules through
+
+
+
+
+ Creates a concrete based on .
+
+
+ Rules used to select the concrete implementation returned:
+
+ - if is null => returns (never matches)
+ - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals)
+ - if == '*' => returns (always matches)
+ - if doesn't contain '?'
+
+ - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns
+ - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns
+ - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns
+
+
+ - returns
+
+
+
+ It may include one or more '*' or '?' wildcards at any position.
+
+ - '*' means zero or more occurrences of any character
+ - '?' means exactly one occurrence of any character
+
+
+ A concrete
+
+
+
+ Returns the argument passed to
+
+
+
+
+ Checks whether given name matches the logger name pattern.
+
+ String to be matched.
+ A value of when the name matches, otherwise.
+
+
+
+ Defines a that never matches.
+ Used when pattern is null
+
+
+
+
+ Defines a that always matches.
+ Used when pattern is '*'
+
+
+
+
+ Defines a that matches with a case-sensitive Equals
+ Used when pattern is a string without wildcards '?' '*'
+
+
+
+
+ Defines a that matches with a case-sensitive StartsWith
+ Used when pattern is a string like "*foobar"
+
+
+
+
+ Defines a that matches with a case-sensitive EndsWith
+ Used when pattern is a string like "foobar*"
+
+
+
+
+ Defines a that matches with a case-sensitive Contains
+ Used when pattern is a string like "*foobar*"
+
+
+
+
+ Defines a that matches with a complex wildcards combinations:
+
+ - '*' means zero or more occurrences of any character
+ - '?' means exactly one occurrence of any character
+
+ used when pattern is a string containing any number of '?' or '*' in any position
+ i.e. "*Server[*].Connection[?]"
+
+
+
+
+ Keeps logging configuration and provides simple API to modify it.
+
+ This class is thread-safe..ToList() is used for that purpose.
+
+
+
+ Gets the factory that will be configured
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets the variables defined in the configuration or assigned from API
+
+ Name is case insensitive.
+
+
+
+ Gets a collection of named targets specified in the configuration.
+
+
+ A list of named targets.
+
+
+ Unnamed targets (such as those wrapped by other targets) are not returned.
+
+
+
+
+ Gets the collection of file names which should be watched for changes by NLog.
+
+
+
+
+ Gets the collection of logging rules.
+
+
+
+
+ Gets or sets the default culture info to use as .
+
+
+ Specific culture info or null to use
+
+
+
+
+ Gets all targets.
+
+
+
+
+ Inserts NLog Config Variable without overriding NLog Config Variable assigned from API
+
+
+
+
+ Lookup NLog Config Variable Layout
+
+
+
+
+ Registers the specified target object. The name of the target is read from .
+
+
+ The target object with a non
+
+ when is
+
+
+
+ Registers the specified target object under a given name.
+
+ Name of the target.
+ The target object.
+ when is
+ when is
+
+
+
+ Finds the target with the specified name.
+
+
+ The name of the target to be found.
+
+
+ Found target or when the target is not found.
+
+
+
+
+ Finds the target with the specified name and specified type.
+
+
+ The name of the target to be found.
+
+ Type of the target
+
+ Found target or when the target is not found of not of type
+
+
+
+
+ Add a rule with min- and maxLevel.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Name of the target to be written when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule with min- and maxLevel.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule with min- and maxLevel.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+ Gets or sets a value indicating whether to quit processing any further rule when this one matches.
+
+
+
+ Add a rule object.
+
+ rule object to add
+
+
+
+ Add a rule for one loglevel.
+
+ log level needed to trigger this rule.
+ Name of the target to be written when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for one loglevel.
+
+ log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for one loglevel.
+
+ log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+ Gets or sets a value indicating whether to quit processing any further rule when this one matches.
+
+
+
+ Add a rule for all loglevels.
+
+ Name of the target to be written when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for all loglevels.
+
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for all loglevels.
+
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+ Gets or sets a value indicating whether to quit processing any further rule when this one matches.
+
+
+
+ Lookup the logging rule with matching
+
+ The name of the logging rule to be found.
+ Found logging rule or when not found.
+
+
+
+ Removes the specified named logging rule with matching
+
+ The name of the logging rule to be removed.
+ Found one or more logging rule to remove, or when not found.
+
+
+
+ Loads the NLog LoggingConfiguration from its original source (Ex. read from original config-file after it was updated)
+
+
+ A new instance of that represents the updated configuration.
+
+ Must assign the returned object to LogManager.Configuration to activate it
+
+
+
+ Allow this new configuration to capture state from the old configuration
+
+ Old config that is about to be replaced
+ Checks KeepVariablesOnReload and copies all NLog Config Variables assigned from API into the new config
+
+
+
+ Notify the configuration when has been assigned / unassigned.
+
+ LogFactory that configuration has been assigned to.
+
+
+
+ Removes the specified named target.
+
+ Name of the target.
+
+
+
+ Installs target-specific objects on current system.
+
+ The installation context.
+
+ Installation typically runs with administrative permissions.
+
+
+
+
+ Uninstalls target-specific objects from current system.
+
+ The installation context.
+
+ Uninstallation typically runs with administrative permissions.
+
+
+
+
+ Closes all targets and releases any unmanaged resources.
+
+
+
+
+ Log to the internal (NLog) logger the information about the and associated with this instance.
+
+
+ The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is
+ recorded.
+
+
+
+
+ Validates the configuration.
+
+
+
+
+ Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage.
+
+
+
+
+
+
+ Checks whether unused targets exist. If found any, just write an internal log at Warn level.
+ If initializing not started or failed, then checking process will be canceled
+
+
+
+
+
+
+
+ Arguments for events.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The new configuration.
+ The old configuration.
+
+
+
+ Gets the old configuration.
+
+ The old configuration.
+
+
+
+ Gets the new configuration.
+
+
+ New value can be null when unloading configuration during shutdown.
+
+ The new configuration.
+
+
+
+ Gets the optional boolean attribute value.
+
+
+ Name of the attribute.
+ Default value to return if the attribute is not found or if there is a parse error
+ Boolean attribute value or default.
+
+
+
+ Returns children elements with the specified element name.
+
+
+
+
+ Remove the namespace (before :)
+
+
+ x:a, will be a
+
+
+
+
+
+
+ Enables loading of NLog configuration from a file
+
+
+
+
+ Get default file paths (including filename) for possible NLog config files.
+
+
+
+
+ Get default file paths (including filename) for possible NLog config files.
+
+
+
+
+ Loads NLog configuration from
+
+
+ Make sure to update official NLog.xsd schema, when adding new config-options outside targets/layouts
+
+
+
+
+ Constructor
+
+
+
+
+
+ Loads NLog configuration from provided config section
+
+
+ Directory where the NLog-config-file was loaded from
+
+
+
+ Builds list with unique keys, using last value of duplicates. High priority keys placed first.
+
+
+
+
+
+
+ Parse loglevel, but don't throw if exception throwing is disabled
+
+ Name of attribute for logging.
+ Value of parse.
+ Used if there is an exception
+
+
+
+
+ Parses a single config section within the NLog-config
+
+
+ Section was recognized
+
+
+
+ Parse {Rules} xml element
+
+
+
+
+ Parse {Logger} xml element
+
+
+
+
+
+ Parse boolean
+
+ Name of the property for logging.
+ value to parse
+ Default value to return if the parse failed
+ Boolean attribute value or default.
+
+
+
+ Config element that's validated and having extra context
+
+
+
+
+ Explicit cast because NET35 doesn't support covariance.
+
+
+
+
+ Represents a logging rule. An equivalent of <logger /> configuration element.
+
+
+
+
+ Create an empty .
+
+
+
+
+ Create an empty .
+
+
+
+
+ Create a new with a and which writes to .
+
+ Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+
+
+
+ Create a new with a which writes to .
+
+ Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
+ Minimum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+
+
+
+ Create a (disabled) . You should call or to enable logging.
+
+ Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
+ Target to be written to when the rule matches.
+
+
+
+ Rule identifier to allow rule lookup
+
+
+
+
+ Gets a collection of targets that should be written to when this rule matches.
+
+
+
+
+ Obsolete since too exotic feature with NLog v5.3.
+
+ Gets a collection of child rules to be evaluated when this rule matches.
+
+
+
+
+ Gets a collection of filters to be checked before writing to targets.
+
+
+
+
+ Gets or sets a value indicating whether to quit processing any following rules when this one matches.
+
+
+
+
+ Gets or sets the whether to quit processing any following rules when lower severity and this one matches.
+
+
+ Loggers matching will be restricted to specified minimum level for following rules.
+
+
+
+
+ Gets or sets logger name pattern.
+
+
+ Logger name pattern used by to check if a logger name matches this rule.
+ It may include one or more '*' or '?' wildcards at any position.
+
+ - '*' means zero or more occurrences of any character
+ - '?' means exactly one occurrence of any character
+
+
+
+
+
+ Gets the collection of log levels enabled by this rule.
+
+
+
+
+ Obsolete and replaced by with NLog v5.
+
+ Default action when filters not matching
+
+
+ NLog v4.6 introduced the setting with default value .
+ NLog v5 marked it as obsolete and change default value to
+
+
+
+
+ Default action if none of the filters match
+
+
+ NLog v5 changed default value to
+
+
+
+
+ Enables logging for a particular level.
+
+ Level to be enabled.
+
+
+
+ Enables logging for a particular levels between (included) and .
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+
+
+
+ Disables logging for a particular level.
+
+ Level to be disabled.
+
+
+
+ Disables logging for particular levels between (included) and .
+
+ Minimum log level to be disables.
+ Maximum log level to be disabled.
+
+
+
+ Enables logging the levels between (included) and . All the other levels will be disabled.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+
+
+
+ Returns a string representation of . Used for debugging.
+
+
+
+
+ Checks whether the particular log level is enabled for this rule.
+
+ Level to be checked.
+ A value of when the log level is enabled, otherwise.
+
+
+
+ Checks whether given name matches the .
+
+ String to be matched.
+ A value of when the name matches, otherwise.
+
+
+
+ Default filtering with static level config
+
+
+
+
+ Factory for locating methods.
+
+
+
+
+ Registers the type.
+
+ The type to register.
+ The item name prefix.
+
+
+
+ Scans a type for relevant methods with their symbolic names
+
+ Include types that are marked with this attribute
+ Include methods that are marked with this attribute
+ Class Type to scan
+ Collection of methods with their symbolic names
+
+
+
+ Clears contents of the factory.
+
+
+
+
+ Obsolete and replaced by with NLog v5.3.
+
+ Marks the layout or layout renderer depends on mutable objects from the LogEvent
+
+ This can be or
+
+
+
+
+ Attaches a type-alias for an item (such as ,
+ , , etc.).
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type-alias for use in NLog configuration.
+
+
+
+ Gets the name of the type-alias
+
+
+
+
+ Indicates NLog should not scan this property during configuration.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Marks the object as configuration item for NLog.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Failed to resolve the interface of service type
+
+
+
+
+ Typed we tried to resolve
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Default implementation of
+
+
+
+
+ Singleton instance of the serializer.
+
+
+
+
+
+
+
+ Attribute used to mark the required parameters for targets,
+ layout targets and filters.
+
+
+
+
+ Interface to register available configuration objects type
+
+
+
+
+ Registers instance of singleton object for use in NLog
+
+ Type of service/interface to register
+ Instance of service
+
+
+
+ Gets the service object of the specified type.
+
+ Avoid calling this while handling a LogEvent, since random deadlocks can occur.
+
+
+
+ Registers singleton-object as implementation of specific interface.
+
+
+ If the same single-object implements multiple interfaces then it must be registered for each interface
+
+ Type of interface
+ The repo
+ Singleton object to use for override
+
+
+
+ Registers the string serializer to use with
+
+
+
+
+ Repository of interfaces used by NLog to allow override for dependency injection
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Registered service type in the service repository
+
+
+
+
+ Initializes a new instance of the class.
+
+ Type of service that have been registered
+
+
+
+ Type of service-interface that has been registered
+
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Provides simple programmatic configuration API used for trivial logging cases.
+
+ Warning, these methods will overwrite the current config.
+
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Configures NLog for console logging so that all messages above and including
+ the level are output to the console.
+
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Configures NLog for console logging so that all messages above and including
+ the specified level are output to the console.
+
+ The minimal logging level.
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Configures NLog for to log to the specified target so that all messages
+ above and including the level are output.
+
+ The target to log all messages to.
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Configures NLog for to log to the specified target so that all messages
+ above and including the specified level are output.
+
+ The target to log all messages to.
+ The minimal logging level.
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Configures NLog for file logging so that all messages above and including
+ the level are written to the specified file.
+
+ Log file name.
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Configures NLog for file logging so that all messages above and including
+ the specified level are written to the specified file.
+
+ Log file name.
+ The minimal logging level.
+
+
+
+ Value indicating how stack trace should be captured when processing the log event.
+
+
+
+
+ No Stack trace needs to be captured.
+
+
+
+
+ Stack trace should be captured. This option won't add the filenames and linenumbers
+
+
+
+
+ Capture also filenames and linenumbers
+
+
+
+
+ Capture the location of the call
+
+
+
+
+ Capture the class name for location of the call
+
+
+
+
+ Stack trace should be captured. This option won't add the filenames and linenumbers.
+
+
+
+
+ Stack trace should be captured including filenames and linenumbers.
+
+
+
+
+ Capture maximum amount of the stack trace information supported on the platform.
+
+
+
+
+ Marks the layout or layout renderer as thread independent - it producing correct results
+ regardless of the thread it's running on.
+
+ Without this attribute everything is rendered on the main thread.
+
+
+ If this attribute is set on a layout, it could be rendered on the another thread.
+ This could be more efficient as it's skipped when not needed.
+
+ If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied.
+
+ See the AsyncTargetWrapper and BufferTargetWrapper with the , using
+
+ Apply this attribute when:
+ - The result can we rendered in another thread. Delaying this could be more efficient. And/Or,
+ - The result should not be precalculated, for example the target sends some extra context information.
+
+
+
+
+ Marks the layout or layout renderer as thread independent - it producing correct results
+ regardless of the thread it's running on.
+
+ Layout or layout-renderer depends on or ,
+ and requires that LogEvent-state is recognized as immutable.
+
+
+ Must be used in combination with , else it will have no effect
+
+
+
+
+ Marks the layout or layout renderer as thread safe - it producing correct results
+ regardless of the number of threads it's running on.
+
+ Without this attribute then the target concurrency will be reduced
+
+
+
+
+ Loads NLog LoggingConfiguration from xml-file
+
+
+ Make sure to update official NLog.xsd schema, when adding new config-options outside targets/layouts
+
+
+
+
+ Initializes a new instance of the class.
+
+ Path to the config-file to read.
+
+
+
+ Initializes a new instance of the class.
+
+ Path to the config-file to read.
+ The to which to apply any applicable configuration values.
+
+
+
+ Initializes a new instance of the class.
+
+ Configuration file to be read.
+
+
+
+ Initializes a new instance of the class.
+
+ Configuration file to be read.
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+
+
+
+ Initializes a new instance of the class.
+
+ Configuration file to be read.
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The to which to apply any applicable configuration values.
+
+
+
+ Initializes a new instance of the class.
+
+ XML reader to read from.
+
+
+
+ Initializes a new instance of the class.
+
+ XmlReader containing the configuration section.
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+
+
+
+ Initializes a new instance of the class.
+
+ XmlReader containing the configuration section.
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The to which to apply any applicable configuration values.
+
+
+
+ Initializes a new instance of the class.
+
+ NLog configuration as XML string.
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The to which to apply any applicable configuration values.
+
+
+
+ Parse XML string as NLog configuration
+
+ NLog configuration in XML to be parsed
+
+
+
+ Parse XML string as NLog configuration
+
+ NLog configuration in XML to be parsed
+ NLog LogFactory
+
+
+
+ Gets or sets a value indicating whether any of the configuration files
+ should be watched for changes and reloaded automatically when changed.
+
+
+
+
+ Gets the collection of file names which should be watched for changes by NLog.
+ This is the list of configuration files processed.
+ If the autoReload attribute is not set it returns empty collection.
+
+
+
+
+
+
+
+ Loads the NLog LoggingConfiguration from its original configuration file and returns the new object.
+
+ The newly loaded instance.
+ Must assign the returned object to LogManager.Configuration to activate it
+
+
+
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Get file paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Overwrite the paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
+
+
+
+ Obsolete and replaced by and with NLog v5.2.
+
+ Clear the candidate file paths and return to the defaults.
+
+
+
+
+ Include new file into the configuration. Check if not already included.
+
+
+
+
+ Parse the root
+
+
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The default value for the autoReload option.
+
+
+
+ Parse {configuration} xml element.
+
+
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The default value for the autoReload option.
+
+
+
+ Parse {NLog} xml element.
+
+
+ Path to the config-file that contains the element (to be used as a base for including other files). null is allowed.
+ The default value for the autoReload option.
+
+
+
+ Parses a single config section within the NLog-config
+
+
+ Section was recognized
+
+
+
+ Include (multiple) files by filemask, e.g. *.nlog
+
+ base directory in case if is relative
+ relative or absolute fileMask
+
+
+
+
+
+
+
+ Represents simple XML element with case-insensitive attribute semantics.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The reader to initialize element from.
+
+
+
+ Gets the element name.
+
+
+
+
+ Gets the dictionary of attribute values.
+
+
+
+
+ Gets the collection of child elements.
+
+
+
+
+ Gets the value of the element.
+
+
+
+
+ Asserts that the name of the element is among specified element names.
+
+ The allowed names.
+
+
+
+ Special attribute we could ignore
+
+
+
+
+ Gets the element name.
+
+
+
+
+ Gets the value of the element.
+
+
+
+
+ Gets the dictionary of attribute values.
+
+
+
+
+ Gets the collection of child elements.
+
+
+
+
+ Special attribute we could ignore
+
+
+
+
+ Exception thrown during XML parsing
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
+
+
+ Matches when the specified condition is met.
+
+
+ Conditions are expressed using a simple language.
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the condition expression.
+
+
+
+
+
+
+
+
+ An abstract filter class. Provides a way to eliminate log messages
+ based on properties other than logger name and log level.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the action to be taken when filter matches.
+
+
+
+
+
+ Gets the result of evaluating filter against given log event.
+
+ The log event.
+ Filter result.
+
+
+
+ Checks whether log event should be logged or not.
+
+ Log event.
+
+ - if the log event should be ignored
+ - if the filter doesn't want to decide
+ - if the log event should be logged
+ .
+
+
+
+ Marks class as a layout renderer and assigns a name to it.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the filter.
+
+
+
+ Filter result.
+
+
+
+
+ The filter doesn't want to decide whether to log or discard the message.
+
+
+
+
+ The message should be logged.
+
+
+
+
+ The message should not be logged.
+
+
+
+
+ The message should be logged and processing should be finished.
+
+
+
+
+ The message should not be logged and processing should be finished.
+
+
+
+
+ A base class for filters that are based on comparing a value to a layout.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the layout to be used to filter log messages.
+
+ The layout.
+
+
+
+
+ Matches when the calculated layout contains the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+ Gets or sets the substring to be matched.
+
+
+
+
+
+
+
+
+ Matches when the calculated layout is equal to the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+ Gets or sets a string to compare the layout to.
+
+
+
+
+
+
+
+
+ Matches the provided filter-method
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+
+
+
+ Matches when the calculated layout does NOT contain the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Gets or sets the substring to be matched.
+
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+
+
+
+ Matches when the calculated layout is NOT equal to the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets a string to compare the layout to.
+
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+
+
+
+ Matches when the result of the calculated layout has been repeated a moment ago
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ How long before a filter expires, and logging is accepted again
+
+
+
+
+
+ Max length of filter values, will truncate if above limit
+
+
+
+
+
+ Applies the configured action to the initial logevent that starts the timeout period.
+ Used to configure that it should ignore all events until timeout.
+
+
+
+
+
+ Max number of unique filter values to expect simultaneously
+
+
+
+
+
+ Default number of unique filter values to expect, will automatically increase if needed
+
+
+
+
+
+ Insert FilterCount value into when an event is no longer filtered
+
+
+
+
+
+ Append FilterCount to the when an event is no longer filtered
+
+
+
+
+
+ Reuse internal buffers, and doesn't have to constantly allocate new buffers
+
+
+
+
+
+ Default buffer size for the internal buffers
+
+
+
+
+
+ Checks whether log event should be logged or not. In case the LogEvent has just been repeated.
+
+ Log event.
+
+ - if the log event should be ignored
+ - if the filter doesn't want to decide
+ - if the log event should be logged
+ .
+
+
+
+ Uses object pooling, and prunes stale filter items when the pool runs dry
+
+
+
+
+ Remove stale filter-value from the cache, and fill them into the pool for reuse
+
+
+
+
+ Renders the Log Event into a filter value, that is used for checking if just repeated
+
+
+
+
+ Repeated LogEvent detected. Checks if it should activate filter-action
+
+
+
+
+ Filter Value State (mutable)
+
+
+
+
+ Filter Lookup Key (immutable)
+
+
+
+
+ Global Diagnostics Context - a dictionary structure to hold per-application-instance values.
+
+
+
+
+ Sets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+ Item value.
+
+
+
+ Sets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+ Item value.
+
+
+
+ Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+ The value of , if defined; otherwise .
+ If the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+ to use when converting the item's value to a string.
+ The value of as a string, if defined; otherwise .
+ If is null and the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+ The item value, if defined; otherwise null.
+
+
+
+ Gets all key-names from Global Diagnostics Context (GDC) dictionary
+
+ A collection of the names of all items in the Global Diagnostics Context.
+
+
+
+ Determines whether the Global Diagnostics Context (GDC) dictionary contains the specified key.
+
+ Item name.
+ A boolean indicating whether the specified item exists in current thread GDC.
+
+
+
+ Removes the value with the specified key from the Global Diagnostics Context (GDC) dictionary
+
+ Item name.
+
+
+
+ Clears the content of the Global Diagnostics Context (GDC) dictionary.
+
+
Interface for serialization of object values into JSON format
@@ -1435,14 +5505,6 @@
A function returning message to be written. Function is not evaluated if logging is not enabled.
-
-
- Obsolete and replaced by - Writes the diagnostic message and exception at the Trace level.
-
- A to be written.
- An exception to be logged.
- This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release.
-
Writes the diagnostic message and exception at the Trace level.
@@ -1559,6 +5621,14 @@
The second argument to format.
The third argument to format.
+
+
+ Obsolete and replaced by - Writes the diagnostic message and exception at the Trace level.
+
+ A to be written.
+ An exception to be logged.
+ This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release.
+
Writes the diagnostic message at the Debug level using the specified format provider and format parameters.
@@ -2303,11 +6373,11 @@
Auto-generated Logger members for binary compatibility with NLog 1.0.
-
- Obsolete and replaced by with NLog v5.3.
+
+ Obsolete and replaced by with NLog v5.3.
- Logger with only generic methods (passing 'LogLevel' to methods) and core properties.
-
+ Logger with only generic methods (passing 'LogLevel' to methods) and core properties.
+
@@ -2528,7 +6598,7 @@
The log level.
A containing one format item.
- The argument to format.
+ The argument to format.
@@ -2537,7 +6607,7 @@
The log level.
An IFormatProvider that supplies culture-specific formatting information.
A containing one format item.
- The argument to format.
+ The argument to format.
@@ -2758,5164 +6828,6 @@
An exception to be logged.
This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release.
-
-
- Obsolete and replaced by with NLog v5.3.
-
- Provides an interface to execute System.Actions without surfacing any exceptions raised for that action.
-
-
-
-
- Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
-
- Action to execute.
-
-
-
- Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
- The exception is not propagated outside of this method; a default value is returned instead.
-
- Return type of the provided function.
- Function to run.
- Result returned by the provided function or the default value of type in case of exception.
-
-
-
- Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
- The exception is not propagated outside of this method; a fallback value is returned instead.
-
- Return type of the provided function.
- Function to run.
- Fallback value to return in case of exception.
- Result returned by the provided function or fallback value in case of exception.
-
-
-
- Logs an exception is logged at Error level if the provided task does not run to completion.
-
- The task for which to log an error if it does not run to completion.
- This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations.
-
-
-
- Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion.
-
- The task for which to log an error if it does not run to completion.
- A task that completes in the state when completes.
-
-
-
- Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
-
- Async action to execute.
- A task that completes in the state when completes.
-
-
-
- Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
- The exception is not propagated outside of this method; a default value is returned instead.
-
- Return type of the provided function.
- Async function to run.
- A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type .
-
-
-
- Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
- The exception is not propagated outside of this method; a fallback value is returned instead.
-
- Return type of the provided function.
- Async function to run.
- Fallback value to return if the task does not end in the state.
- A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value.
-
-
-
- Render a message template property to a string
-
-
-
-
- Serialization of an object, e.g. JSON and append to
-
- The object to serialize to string.
- Parameter Format
- Parameter CaptureType
- An object that supplies culture-specific formatting information.
- Output destination.
- Serialize succeeded (true/false)
-
-
-
- Support implementation of
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Mark a parameter of a method for message templating
-
-
-
-
- Specifies which parameter of an annotated method should be treated as message-template-string
-
-
-
-
- The name of the parameter that should be as treated as message-template-string
-
-
-
-
- Asynchronous continuation delegate - function invoked at the end of asynchronous
- processing.
-
- Exception during asynchronous processing or null if no exception
- was thrown.
-
-
-
- Helpers for asynchronous operations.
-
-
-
-
- Iterates over all items in the given collection and runs the specified action
- in sequence (each action executes only after the preceding one has completed without an error).
-
- Type of each item.
- The items to iterate.
- The asynchronous continuation to invoke once all items
- have been iterated.
- The action to invoke for each item.
-
-
-
- Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end.
-
- The repeat count.
- The asynchronous continuation to invoke at the end.
- The action to invoke.
-
-
-
- Modifies the continuation by pre-pending given action to execute just before it.
-
- The async continuation.
- The action to pre-pend.
- Continuation which will execute the given action before forwarding to the actual continuation.
-
-
-
- Attaches a timeout to a continuation which will invoke the continuation when the specified
- timeout has elapsed.
-
- The asynchronous continuation.
- The timeout.
- Wrapped continuation.
-
-
-
- Iterates over all items in the given collection and runs the specified action
- in parallel (each action executes on a thread from thread pool).
-
- Type of each item.
- The items to iterate.
- The asynchronous continuation to invoke once all items
- have been iterated.
- The action to invoke for each item.
-
-
-
- Runs the specified asynchronous action synchronously (blocks until the continuation has
- been invoked).
-
- The action.
-
- Using this method is not recommended because it will block the calling thread.
-
-
-
-
- Wraps the continuation with a guard which will only make sure that the continuation function
- is invoked only once.
-
- The asynchronous continuation.
- Wrapped asynchronous continuation.
-
-
-
- Gets the combined exception from all exceptions in the list.
-
- The exceptions.
- Combined exception or null if no exception was thrown.
-
-
-
- Disposes the Timer, and waits for it to leave the Timer-callback-method
-
- The Timer object to dispose
- Timeout to wait (TimeSpan.Zero means dispose without waiting)
- Timer disposed within timeout (true/false)
-
-
-
- Asynchronous action.
-
- Continuation to be invoked at the end of action.
-
-
-
- Asynchronous action with one argument.
-
- Type of the argument.
- Argument to the action.
- Continuation to be invoked at the end of action.
-
-
-
- Represents the logging event with asynchronous continuation.
-
-
-
-
- Initializes a new instance of the struct.
-
- The log event.
- The continuation.
-
-
-
- Gets the log event.
-
-
-
-
- Gets the continuation.
-
-
-
-
- Implements the operator ==.
-
- The event info1.
- The event info2.
- The result of the operator.
-
-
-
- Implements the operator ==.
-
- The event info1.
- The event info2.
- The result of the operator.
-
-
-
-
-
-
-
-
-
-
-
-
- String Conversion Helpers
-
-
-
-
- Converts input string value into . Parsing is case-insensitive.
-
- Input value
- Output value
- Default value
- Returns false if the input value could not be parsed
-
-
-
- Converts input string value into . Parsing is case-insensitive.
-
- Input value
- The type of the enum
- Output value. Null if parse failed
-
-
-
- Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded.
-
- The enumeration type to which to convert value.
- The string representation of the enumeration name or underlying value to convert.
- true to ignore case; false to consider case.
- When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized.
- true if the value parameter was converted successfully; otherwise, false.
- Wrapper because Enum.TryParse is not present in .net 3.5
-
-
-
- Enum.TryParse implementation for .net 3.5
-
-
- Don't uses reflection
-
-
-
- Enables to extract extra context details for
-
-
-
-
- Name of context
-
-
-
-
- The current LogFactory next to LogManager
-
-
-
-
- Handle Internal LogEvent written to the InternalLogger
-
-
- Never use/call NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
-
-
-
-
- Internal LogEvent details from
-
-
-
-
- The rendered message
-
-
-
-
- The log level
-
-
-
-
- The exception. Could be null.
-
-
-
-
- The type that triggered this internal log event, for example the FileTarget.
- This property is not always populated.
-
-
-
-
- The context name that triggered this internal log event, for example the name of the Target.
- This property is not always populated.
-
-
-
-
- NLog internal logger.
-
- Writes to file, console or custom text writer (see )
-
-
- Don't use as that can lead to recursive calls - stackoverflow
-
-
-
-
- Gets a value indicating whether internal log includes Trace messages.
-
-
-
-
- Gets a value indicating whether internal log includes Debug messages.
-
-
-
-
- Gets a value indicating whether internal log includes Info messages.
-
-
-
-
- Gets a value indicating whether internal log includes Warn messages.
-
-
-
-
- Gets a value indicating whether internal log includes Error messages.
-
-
-
-
- Gets a value indicating whether internal log includes Fatal messages.
-
-
-
-
- Logs the specified message without an at the Trace level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Trace level.
- will be only called when logging is enabled for level Trace.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Trace level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Trace level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Trace level.
- will be only called when logging is enabled for level Trace.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Logs the specified message without an at the Debug level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Debug level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Debug level.
- will be only called when logging is enabled for level Debug.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Debug level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Debug level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Debug level.
- will be only called when logging is enabled for level Debug.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Logs the specified message without an at the Info level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Info level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Info level.
- will be only called when logging is enabled for level Info.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Info level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Info level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Info level.
- will be only called when logging is enabled for level Info.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Logs the specified message without an at the Warn level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Warn level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Warn level.
- will be only called when logging is enabled for level Warn.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Warn level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Warn level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Warn level.
- will be only called when logging is enabled for level Warn.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Logs the specified message without an at the Error level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Error level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Error level.
- will be only called when logging is enabled for level Error.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Error level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Error level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Error level.
- will be only called when logging is enabled for level Error.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Logs the specified message without an at the Fatal level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Fatal level.
-
- Log message.
-
-
-
- Logs the specified message without an at the Fatal level.
- will be only called when logging is enabled for level Fatal.
-
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the Fatal level.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Fatal level.
-
- Exception to be logged.
- Log message.
-
-
-
- Logs the specified message with an at the Fatal level.
- will be only called when logging is enabled for level Fatal.
-
- Exception to be logged.
- Function that returns the log message.
-
-
-
- Set the config of the InternalLogger with defaults and config.
-
-
-
-
- Gets or sets the minimal internal log level.
-
- If set to , then messages of the levels , and will be written.
-
-
-
- Gets or sets a value indicating whether internal messages should be written to the console output stream.
-
- Your application must be a console application.
-
-
-
- Gets or sets a value indicating whether internal messages should be written to the console error stream.
-
- Your application must be a console application.
-
-
-
- Obsolete and replaced by with NLog v5.3.
- Gets or sets a value indicating whether internal messages should be written to the .Trace
-
-
-
-
- Gets or sets the file path of the internal log file.
-
- A value of value disables internal logging to a file.
-
-
-
- Gets or sets the text writer that will receive internal logs.
-
-
-
-
- Obsolete and replaced by with NLog 5.3.
- Event written to the internal log.
-
-
- EventHandler will only be triggered for events, where severity matches the configured .
-
- Avoid using/calling NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
-
-
-
-
- Internal LogEvent written to the InternalLogger
-
-
- EventHandler will only be triggered for events, where severity matches the configured .
-
- Never use/call NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
-
-
-
-
- Gets or sets a value indicating whether timestamp should be included in internal log output.
-
-
-
-
- Is there an thrown when writing the message?
-
-
-
-
- Logs the specified message without an at the specified level.
-
- Log level.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the specified level.
-
- Log level.
- Log message.
-
-
-
- Logs the specified message without an at the specified level.
- will be only called when logging is enabled for level .
-
- Log level.
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the specified level.
- will be only called when logging is enabled for level .
-
- Exception to be logged.
- Log level.
- Function that returns the log message.
-
-
-
- Logs the specified message with an at the specified level.
-
- Exception to be logged.
- Log level.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message with an at the specified level.
-
- Exception to be logged.
- Log level.
- Log message.
-
-
-
- Write to internallogger.
-
- optional exception to be logged.
- level
- message
- optional args for
-
-
-
- Create log line with timestamp, exception message etc (if configured)
-
-
-
-
- Determine if logging should be avoided because of exception type.
-
- The exception to check.
- true if logging should be avoided; otherwise, false.
-
-
-
- Determine if logging is enabled for given LogLevel
-
- The for the log event.
- true if logging is enabled; otherwise, false.
-
-
-
- Determine if logging is enabled.
-
- true if logging is enabled; otherwise, false.
-
-
-
- Logs the assembly version and file version of the given Assembly.
-
- The assembly to log.
-
-
-
- A message has been written to the internal logger
-
-
-
-
- The rendered message
-
-
-
-
- The log level
-
-
-
-
- The exception. Could be null.
-
-
-
-
- The type that triggered this internal log event, for example the FileTarget.
- This property is not always populated.
-
-
-
-
- The context name that triggered this internal log event, for example the name of the Target.
- This property is not always populated.
-
-
-
-
- A cyclic buffer of object.
-
-
-
-
- Initializes a new instance of the class.
-
- Buffer size.
- Whether buffer should grow as it becomes full.
- The maximum number of items that the buffer can grow to.
-
-
-
- Gets the capacity of the buffer
-
-
-
-
- Gets the number of items in the buffer
-
-
-
-
- Adds the specified log event to the buffer.
-
- Log event.
- The number of items in the buffer.
-
-
-
- Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation.
-
- Events in the buffer.
-
-
-
- Marks class as a log event Condition and assigns a name to it.
-
-
-
-
- Initializes a new instance of the class.
-
- Condition method name.
-
-
-
- Marks the class as containing condition methods.
-
-
-
-
- A bunch of utility methods (mostly predicates) which can be used in
- condition expressions. Partially inspired by XPath 1.0.
-
-
-
-
- Compares two values for equality.
-
- The first value.
- The second value.
- true when two objects are equal, false otherwise.
-
-
-
- Compares two strings for equality.
-
- The first string.
- The second string.
- Optional. If true, case is ignored; if false (default), case is significant.
- true when two strings are equal, false otherwise.
-
-
-
- Gets or sets a value indicating whether the second string is a substring of the first one.
-
- The first string.
- The second string.
- Optional. If true (default), case is ignored; if false, case is significant.
- true when the second string is a substring of the first string, false otherwise.
-
-
-
- Gets or sets a value indicating whether the second string is a prefix of the first one.
-
- The first string.
- The second string.
- Optional. If true (default), case is ignored; if false, case is significant.
- true when the second string is a prefix of the first string, false otherwise.
-
-
-
- Gets or sets a value indicating whether the second string is a suffix of the first one.
-
- The first string.
- The second string.
- Optional. If true (default), case is ignored; if false, case is significant.
- true when the second string is a prefix of the first string, false otherwise.
-
-
-
- Returns the length of a string.
-
- A string whose lengths is to be evaluated.
- The length of the string.
-
-
-
- Indicates whether the specified regular expression finds a match in the specified input string.
-
- The string to search for a match.
- The regular expression pattern to match.
- A string consisting of the desired options for the test. The possible values are those of the separated by commas.
- true if the regular expression finds a match; otherwise, false.
-
-
-
-
-
-
-
-
-
-
- Relational operators used in conditions.
-
-
-
-
- Equality (==).
-
-
-
-
- Inequality (!=).
-
-
-
-
- Less than (<).
-
-
-
-
- Greater than (>).
-
-
-
-
- Less than or equal (<=).
-
-
-
-
- Greater than or equal (>=).
-
-
-
-
- Exception during evaluation of condition expression.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The message.
-
-
-
- Initializes a new instance of the class.
-
- The message.
- The inner exception.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
-
- The parameter is null.
-
-
- The class name is null or is zero (0).
-
-
-
-
- Exception during parsing of condition expression.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The message.
-
-
-
- Initializes a new instance of the class.
-
- The message.
- The inner exception.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
-
- The parameter is null.
-
-
- The class name is null or is zero (0).
-
-
-
-
- Condition and expression.
-
-
-
-
- Initializes a new instance of the class.
-
- Left hand side of the AND expression.
- Right hand side of the AND expression.
-
-
-
- Gets the left hand side of the AND expression.
-
-
-
-
- Gets the right hand side of the AND expression.
-
-
-
-
- Returns a string representation of this expression.
-
- A concatenated '(Left) and (Right)' string.
-
-
-
- Evaluates the expression by evaluating and recursively.
-
- Evaluation context.
- The value of the conjunction operator.
-
-
-
- Condition message expression (represented by the exception keyword).
-
-
-
-
-
-
-
- Evaluates the current .
-
- Evaluation context.
- The object.
-
-
-
- Base class for representing nodes in condition expression trees.
-
- Documentation on NLog Wiki
-
-
-
- Converts condition text to a condition expression tree.
-
- Condition text to be converted.
- Condition expression tree.
-
-
-
- Evaluates the expression.
-
- Evaluation context.
- Expression result.
-
-
-
- Returns a string representation of the expression.
-
-
-
-
- Evaluates the expression.
-
- Evaluation context.
- Expression result.
-
-
-
- Condition layout expression (represented by a string literal
- with embedded ${}).
-
-
-
-
- Initializes a new instance of the class.
-
- The layout.
-
-
-
- Gets the layout.
-
- The layout.
-
-
-
-
-
-
- Evaluates the expression by rendering the formatted output from
- the
-
- Evaluation context.
- The output rendered from the layout.
-
-
-
- Condition level expression (represented by the level keyword).
-
-
-
-
-
-
-
- Evaluates to the current log level.
-
- Evaluation context.
- The object representing current log level.
-
-
-
- Condition literal expression (numeric, LogLevel.XXX, true or false).
-
-
-
-
- Initializes a new instance of the class.
-
- Literal value.
-
-
-
- Gets the literal value.
-
- The literal value.
-
-
-
-
-
-
- Evaluates the expression.
-
- Evaluation context. Ignored.
- The literal value as passed in the constructor.
-
-
-
- Condition logger name expression (represented by the logger keyword).
-
-
-
-
-
-
-
- Evaluates to the logger name.
-
- Evaluation context.
- The logger name.
-
-
-
- Condition message expression (represented by the message keyword).
-
-
-
-
-
-
-
- Evaluates to the logger message.
-
- Evaluation context.
- The logger message.
-
-
-
- Gets the method parameters
-
-
-
-
-
-
-
-
-
-
- Condition not expression.
-
-
-
-
- Initializes a new instance of the class.
-
- The expression.
-
-
-
- Gets the expression to be negated.
-
- The expression.
-
-
-
-
-
-
-
-
-
- Condition or expression.
-
-
-
-
- Initializes a new instance of the class.
-
- Left hand side of the OR expression.
- Right hand side of the OR expression.
-
-
-
- Gets the left expression.
-
- The left expression.
-
-
-
- Gets the right expression.
-
- The right expression.
-
-
-
-
-
-
- Evaluates the expression by evaluating and recursively.
-
- Evaluation context.
- The value of the alternative operator.
-
-
-
- Condition relational (==, !=, <, <=,
- > or >=) expression.
-
-
-
-
- Initializes a new instance of the class.
-
- The left expression.
- The right expression.
- The relational operator.
-
-
-
- Gets the left expression.
-
- The left expression.
-
-
-
- Gets the right expression.
-
- The right expression.
-
-
-
- Gets the relational operator.
-
- The operator.
-
-
-
-
-
-
-
-
-
- Compares the specified values using specified relational operator.
-
- The first value.
- The second value.
- The relational operator.
- Result of the given relational operator.
-
-
-
- Promote values to the type needed for the comparison, e.g. parse a string to int.
-
-
-
-
-
-
- Promotes to type
-
-
-
- success?
-
-
-
- Try to promote both values. First try to promote to ,
- when failed, try to .
-
-
-
-
-
- Get the order for the type for comparison.
-
-
- index, 0 to max int. Lower is first
-
-
-
- Dictionary from type to index. Lower index should be tested first.
-
-
-
-
- Build the dictionary needed for the order of the types.
-
-
-
-
-
- Get the string representing the current
-
-
-
-
-
- Condition parser. Turns a string representation of condition expression
- into an expression tree.
-
-
-
-
- Initializes a new instance of the class.
-
- The string reader.
- Instance of used to resolve references to condition methods and layout renderers.
-
-
-
- Parses the specified condition string and turns it into
- tree.
-
- The expression to be parsed.
- The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
-
-
-
- Parses the specified condition string and turns it into
- tree.
-
- The expression to be parsed.
- Instance of used to resolve references to condition methods and layout renderers.
- The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
-
-
-
- Parses the specified condition string and turns it into
- tree.
-
- The string reader.
- Instance of used to resolve references to condition methods and layout renderers.
-
- The root of the expression syntax tree which can be used to get the value of the condition in a specified context.
-
-
-
-
- Try stringed keyword to
-
-
-
- success?
-
-
-
- Parse number
-
- negative number? minus should be parsed first.
-
-
-
-
- Hand-written tokenizer for conditions.
-
-
-
-
- Initializes a new instance of the class.
-
- The string reader.
-
-
-
- Asserts current token type and advances to the next token.
-
- Expected token type.
- If token type doesn't match, an exception is thrown.
-
-
-
- Asserts that current token is a keyword and returns its value and advances to the next token.
-
- Keyword value.
-
-
-
- Gets or sets a value indicating whether current keyword is equal to the specified value.
-
- The keyword.
-
- A value of true if current keyword is equal to the specified value; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the tokenizer has reached the end of the token stream.
-
-
- A value of true if the tokenizer has reached the end of the token stream; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether current token is a number.
-
-
- A value of true if current token is a number; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the specified token is of specified type.
-
- The token type.
-
- A value of true if current token is of specified type; otherwise, false.
-
-
-
-
- Gets the next token and sets and properties.
-
-
-
-
- Try the comparison tokens (greater, smaller, greater-equals, smaller-equals)
-
- current char
- is match
-
-
-
- Try the logical tokens (and, or, not, equals)
-
- current char
- is match
-
-
-
- Mapping between characters and token types for punctuations.
-
-
-
-
- Initializes a new instance of the CharToTokenType struct.
-
- The character.
- Type of the token.
-
-
-
- Token types for condition expressions.
-
-
-
-
- Marks the class or a member as advanced. Advanced classes and members are hidden by
- default in generated documentation.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain.
-
-
-
- Implementors must have the [ThreadAgnostic] attribute
-
- A layout(renderer) could be converted to a literal when:
- - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput]
-
- Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout.
-
-
-
-
- Used to mark configurable parameters which are arrays.
- Specifies the mapping between XML elements and .NET types.
-
-
-
-
- Initializes a new instance of the class.
-
- The type of the array item.
- The XML element name that represents the item.
-
-
-
- Gets the .NET type of the array item.
-
-
-
-
- Gets the XML element name.
-
-
-
-
- Load from url
-
- file or path, including .dll
- basepath, optional
-
-
-
-
- Load from url
-
-
-
-
- Provides logging interface and utility functions.
-
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Event notification about trying to load assembly with NLog extensions.
-
-
-
-
- Initializes a new instance of the class.
-
- Assembly that have been loaded
-
-
-
- The assembly that is trying to load.
-
-
-
-
- Represents NLog ConfigSection for loading from app.config / web.config
-
-
- <configSections>
- <section name="NLog" type="NLog.Config.ConfigSectionHandler, NLog" />
- </configSections>
-
-
-
-
- Overriding base implementation to just store
- of the relevant app.config section.
-
- The XmlReader that reads from the configuration file.
- true to serialize only the collection key properties; otherwise, false.
-
-
-
- Override base implementation to return a object
- for
- instead of the instance.
-
-
- A instance, that has been deserialized from app.config.
-
-
-
-
- Obsolete since dynamic tyope loading is not compatible with publish as trimmed application.
- Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type.
-
- Type of the item.
- Created object of the specified type.
-
-
-
- Provides registration information for named items (targets, layouts, layout renderers, etc.)
-
- Supports creating item-instance from their type-alias, when parsing NLog configuration
-
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Called before the assembly with NLog extensions is being loaded.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Initializes a new instance of the class.
-
- The assemblies to scan for named items.
-
-
-
- Gets or sets default singleton instance of .
-
-
- This property implements lazy instantiation so that the is not built before
- the internal logger is configured.
-
-
-
-
- Gets the factory.
-
-
-
-
- Gets the factory.
-
-
-
-
- Gets the factory.
-
-
-
-
- Gets the ambient property factory.
-
-
-
-
- Gets the factory.
-
-
-
-
- Gets the factory.
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets or sets the creator delegate used to instantiate configuration objects.
-
-
- By overriding this property, one can enable dependency injection or interception for created objects.
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the factory.
-
- The target factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the factory.
-
- The layout factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the factory.
-
- The layout renderer factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the ambient property factory.
-
- The ambient property factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the factory.
-
- The filter factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the time source factory.
-
- The time source factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets the condition method factory.
-
- The condition method factory.
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets or sets the JSON serializer to use with
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets or sets the string serializer to use with
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
- Gets or sets the parameter converter to use with or
-
-
-
-
- Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect)
-
-
- - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering.
- - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with )
- - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging)
-
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Registers named items from the assembly.
-
- The assembly.
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Registers named items from the assembly.
-
- The assembly.
- Item name prefix.
-
-
-
- Obsolete since dynamic assembly loading is not compatible with publish as trimmed application.
- Call Preload for NLogPackageLoader
-
-
- Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments)
- This method will be called just before registering all items in the assembly.
-
-
-
-
-
- Call the Preload method for . The Preload method must be static.
-
-
-
-
-
- Clears the contents of all factories.
-
-
-
-
- Obsolete since dynamic type loading is not compatible with publish as trimmed application.
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Builds the default configuration item factory.
-
- Default factory.
-
-
-
- Registers items in using late-bound types, so that we don't need a reference to the dll.
-
-
-
-
- Attribute used to mark the default parameters for layout renderers.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Dynamic filtering with a positive list of enabled levels
-
-
-
-
- Dynamic filtering with a minlevel and maxlevel range
-
-
-
-
- Format of the exception output to the specific target.
-
-
-
-
- Appends the Message of an Exception to the specified target.
-
-
-
-
- Appends the type of an Exception to the specified target.
-
-
-
-
- Appends the short type of an Exception to the specified target.
-
-
-
-
- Appends the result of calling ToString() on an Exception to the specified target.
-
-
-
-
- Appends the method name from Exception's stack trace to the specified target.
-
-
-
-
- Appends the stack trace from an Exception to the specified target.
-
-
-
-
- Appends the contents of an Exception's Data property to the specified target.
-
-
-
-
- Destructure the exception (usually into JSON)
-
-
-
-
- Appends the from the application or the object that caused the error.
-
-
-
-
- Appends the from the application or the object that caused the error.
-
-
-
-
- Appends any additional properties that specific type of Exception might have.
-
-
-
-
- Factory for class-based items.
-
- The base type of each item.
- The type of the attribute used to annotate items.
-
-
-
- Scans the assembly.
-
- The types to scan.
- The assembly name for the types.
- The prefix.
-
-
-
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Registers the item based on a type name.
-
- Name of the item.
- Name of the type.
-
-
-
- Clears the contents of the factory.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory specialized for s.
-
-
-
-
-
-
-
- Register a layout renderer with a callback function.
-
- Name of the layoutrenderer, without ${}.
- the renderer that renders the value.
-
-
-
-
-
-
- Factory of named items (such as , , , etc.).
-
-
-
-
- Factory of named items (such as , , , etc.).
-
-
-
-
- Registers type-creation with type-alias
-
-
-
-
- Tries to create an item instance with type-alias
-
- True if instance was created successfully, false otherwise.
-
-
-
- Include context properties
-
-
-
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets whether to include the contents of the properties-dictionary.
-
-
-
-
-
- Gets or sets whether to include the contents of the nested-state-stack.
-
-
-
-
-
- Did the Initialize Succeeded? true= success, false= error, null = initialize not started yet.
-
-
-
-
- Implemented by objects which support installation and uninstallation.
-
-
-
-
- Performs installation which requires administrative permissions.
-
- The installation context.
-
-
-
- Performs uninstallation which requires administrative permissions.
-
- The installation context.
-
-
-
- Determines whether the item is installed.
-
- The installation context.
-
- Value indicating whether the item is installed or null if it is not possible to determine.
-
-
-
-
- Interface for accessing configuration details
-
-
-
-
- Name of this configuration element
-
-
-
-
- Configuration Key/Value Pairs
-
-
-
-
- Child configuration elements
-
-
-
-
- Interface for loading NLog
-
-
-
-
- Finds and loads the NLog configuration
-
- LogFactory that owns the NLog configuration
- Name of NLog.config file (optional)
- NLog configuration (or null if none found)
-
-
-
- Notifies when LoggingConfiguration has been successfully applied
-
- LogFactory that owns the NLog configuration
- NLog Config
-
-
-
- Get file paths (including filename) for the possible NLog config files.
-
- Name of NLog.config file (optional)
- The file paths to the possible config file
-
-
-
- Level enabled flags for each LogLevel ordinal
-
-
-
-
- Converts the filter into a simple
-
-
-
-
- Obsolete since dynamic type loading is not compatible with publish as trimmed application. Replaced by .
- Represents a factory of named items (such as targets, layouts, layout renderers, etc.).
-
- Base type for each item instance.
- Item definition type (typically ).
-
-
-
- Registers new item definition.
-
- Name of the item.
- Item definition.
-
-
-
- Tries to get registered item definition.
-
- Name of the item.
- Reference to a variable which will store the item definition.
- Item definition.
-
-
-
- Creates item instance.
-
- Name of the item.
- Newly created item instance.
-
-
-
- Tries to create an item instance.
-
- Name of the item.
- The result.
- True if instance was created successfully, false otherwise.
-
-
-
- Provides context for install/uninstall operations.
-
-
-
-
- Mapping between log levels and console output colors.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The log output.
-
-
-
- Gets or sets the installation log level.
-
-
-
-
- Gets or sets a value indicating whether to ignore failures during installation.
-
-
-
-
- Whether installation exceptions should be rethrown. If IgnoreFailures is set to true,
- this property has no effect (there are no exceptions to rethrow).
-
-
-
-
- Gets the installation parameters.
-
-
-
-
- Gets or sets the log output.
-
-
-
-
- Logs the specified trace message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified debug message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified informational message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified warning message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified error message.
-
- The message.
- The arguments.
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Creates the log event which can be used to render layouts during install/uninstall.
-
- Log event info object.
-
-
-
- Convert object-value into specified type
-
-
-
-
- Parses the input value and converts into the wanted type
-
- Input Value
- Wanted Type
- Format to use when parsing
- Culture to use when parsing
- Output value with wanted type
-
-
-
- Interface for fluent setup of LogFactory options
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Interface for fluent setup of LoggingRules for LoggingConfiguration
-
-
-
-
- LoggingRule being built
-
-
-
-
- Interface for fluent setup of target for LoggingRule
-
-
-
-
- LoggingConfiguration being built
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Collection of targets that should be written to
-
-
-
-
- Interface for fluent setup of LogFactory options for extension loading
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Interface for fluent setup of LogFactory options for enabling NLog
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Interface for fluent setup of LoggingConfiguration for LogFactory
-
-
-
-
- LogFactory under configuration
-
-
-
-
- LoggingConfiguration being built
-
-
-
-
- Interface for fluent setup of LogFactory options
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Interface for fluent setup of LogFactory options for logevent serialization
-
-
-
-
- LogFactory under configuration
-
-
-
-
- Allows components to request stack trace information to be provided in the .
-
-
-
-
- Gets the level of stack trace information required by the implementing class.
-
-
-
-
- Encapsulates and the logic to match the actual logger name
- All subclasses defines immutable objects.
- Concrete subclasses defines various matching rules through
-
-
-
-
- Creates a concrete based on .
-
-
- Rules used to select the concrete implementation returned:
-
- - if is null => returns (never matches)
- - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals)
- - if == '*' => returns (always matches)
- - if doesn't contain '?'
-
- - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns
- - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns
- - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns
-
-
- - returns
-
-
-
- It may include one or more '*' or '?' wildcards at any position.
-
- - '*' means zero or more occurrences of any character
- - '?' means exactly one occurrence of any character
-
-
- A concrete
-
-
-
- Returns the argument passed to
-
-
-
-
- Checks whether given name matches the logger name pattern.
-
- String to be matched.
- A value of when the name matches, otherwise.
-
-
-
- Defines a that never matches.
- Used when pattern is null
-
-
-
-
- Defines a that always matches.
- Used when pattern is '*'
-
-
-
-
- Defines a that matches with a case-sensitive Equals
- Used when pattern is a string without wildcards '?' '*'
-
-
-
-
- Defines a that matches with a case-sensitive StartsWith
- Used when pattern is a string like "*foobar"
-
-
-
-
- Defines a that matches with a case-sensitive EndsWith
- Used when pattern is a string like "foobar*"
-
-
-
-
- Defines a that matches with a case-sensitive Contains
- Used when pattern is a string like "*foobar*"
-
-
-
-
- Defines a that matches with a complex wildcards combinations:
-
- - '*' means zero or more occurrences of any character
- - '?' means exactly one occurrence of any character
-
- used when pattern is a string containing any number of '?' or '*' in any position
- i.e. "*Server[*].Connection[?]"
-
-
-
-
- Keeps logging configuration and provides simple API to modify it.
-
- This class is thread-safe..ToList() is used for that purpose.
-
-
-
- Gets the factory that will be configured
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the variables defined in the configuration or assigned from API
-
- Name is case insensitive.
-
-
-
- Gets a collection of named targets specified in the configuration.
-
-
- A list of named targets.
-
-
- Unnamed targets (such as those wrapped by other targets) are not returned.
-
-
-
-
- Gets the collection of file names which should be watched for changes by NLog.
-
-
-
-
- Gets the collection of logging rules.
-
-
-
-
- Gets or sets the default culture info to use as .
-
-
- Specific culture info or null to use
-
-
-
-
- Gets all targets.
-
-
-
-
- Inserts NLog Config Variable without overriding NLog Config Variable assigned from API
-
-
-
-
- Lookup NLog Config Variable Layout
-
-
-
-
- Registers the specified target object. The name of the target is read from .
-
-
- The target object with a non
-
- when is
-
-
-
- Registers the specified target object under a given name.
-
- Name of the target.
- The target object.
- when is
- when is
-
-
-
- Finds the target with the specified name.
-
-
- The name of the target to be found.
-
-
- Found target or when the target is not found.
-
-
-
-
- Finds the target with the specified name and specified type.
-
-
- The name of the target to be found.
-
- Type of the target
-
- Found target or when the target is not found of not of type
-
-
-
-
- Add a rule with min- and maxLevel.
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Name of the target to be written when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule with min- and maxLevel.
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule with min- and maxLevel.
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
- Gets or sets a value indicating whether to quit processing any further rule when this one matches.
-
-
-
- Add a rule object.
-
- rule object to add
-
-
-
- Add a rule for one loglevel.
-
- log level needed to trigger this rule.
- Name of the target to be written when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for one loglevel.
-
- log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for one loglevel.
-
- log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
- Gets or sets a value indicating whether to quit processing any further rule when this one matches.
-
-
-
- Add a rule for all loglevels.
-
- Name of the target to be written when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for all loglevels.
-
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for all loglevels.
-
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
- Gets or sets a value indicating whether to quit processing any further rule when this one matches.
-
-
-
- Lookup the logging rule with matching
-
- The name of the logging rule to be found.
- Found logging rule or when not found.
-
-
-
- Removes the specified named logging rule with matching
-
- The name of the logging rule to be removed.
- Found one or more logging rule to remove, or when not found.
-
-
-
- Called by LogManager when one of the log configuration files changes.
-
-
- A new instance of that represents the updated configuration.
-
- Must assign the returned object to LogManager.Configuration to activate it
-
-
-
- Allow this new configuration to capture state from the old configuration
-
- Old config that is about to be replaced
- Checks KeepVariablesOnReload and copies all NLog Config Variables assigned from API into the new config
-
-
-
- Removes the specified named target.
-
- Name of the target.
-
-
-
- Installs target-specific objects on current system.
-
- The installation context.
-
- Installation typically runs with administrative permissions.
-
-
-
-
- Uninstalls target-specific objects from current system.
-
- The installation context.
-
- Uninstallation typically runs with administrative permissions.
-
-
-
-
- Closes all targets and releases any unmanaged resources.
-
-
-
-
- Log to the internal (NLog) logger the information about the and associated with this instance.
-
-
- The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is
- recorded.
-
-
-
-
- Validates the configuration.
-
-
-
-
- Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage.
-
-
-
-
-
-
- Checks whether unused targets exist. If found any, just write an internal log at Warn level.
- If initializing not started or failed, then checking process will be canceled
-
-
-
-
- Flushes any pending log messages on all appenders.
-
- Config containing Targets to Flush
- Flush completed notification (success / timeout)
- Optional timeout that guarantees that completed notification is called.
-
-
-
-
- Change this method with NLog v6 to disconnect LogFactory from Targets/Layouts
- - Remove LoggingRule-List-parameter
- - Return ITargetWithFilterChain[]
-
-
-
-
-
-
-
- Arguments for events.
-
-
-
-
- Initializes a new instance of the class.
-
- The new configuration.
- The old configuration.
-
-
-
- Gets the old configuration.
-
- The old configuration.
-
-
-
- Gets the new configuration.
-
-
- New value can be null when unloading configuration during shutdown.
-
- The new configuration.
-
-
-
- Gets the optional boolean attribute value.
-
-
- Name of the attribute.
- Default value to return if the attribute is not found or if there is a parse error
- Boolean attribute value or default.
-
-
-
- Remove the namespace (before :)
-
-
- x:a, will be a
-
-
-
-
-
-
- Enables loading of NLog configuration from a file
-
-
-
-
- Get default file paths (including filename) for possible NLog config files.
-
-
-
-
- Get default file paths (including filename) for possible NLog config files.
-
-
-
-
- Loads NLog configuration from
-
-
-
-
- Constructor
-
-
-
-
-
- Loads NLog configuration from provided config section
-
-
- Directory where the NLog-config-file was loaded from
-
-
-
- Builds list with unique keys, using last value of duplicates. High priority keys placed first.
-
-
-
-
-
-
- Parse loglevel, but don't throw if exception throwing is disabled
-
- Name of attribute for logging.
- Value of parse.
- Used if there is an exception
-
-
-
-
- Parses a single config section within the NLog-config
-
-
- Section was recognized
-
-
-
- Parse {Rules} xml element
-
-
- Rules are added to this parameter.
-
-
-
- Parse {Logger} xml element
-
-
-
-
-
- Parse boolean
-
- Name of the property for logging.
- value to parse
- Default value to return if the parse failed
- Boolean attribute value or default.
-
-
-
- Config element that's validated and having extra context
-
-
-
-
- Explicit cast because NET35 doesn't support covariance.
-
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
-
-
-
- Initializes a new instance of the class.
-
- Whether configuration reload has succeeded.
-
-
-
- Initializes a new instance of the class.
-
- Whether configuration reload has succeeded.
- The exception during configuration reload.
-
-
-
- Gets a value indicating whether configuration reload has succeeded.
-
- A value of true if succeeded; otherwise, false.
-
-
-
- Gets the exception which occurred during configuration reload.
-
- The exception.
-
-
-
- Enables FileWatcher for the currently loaded NLog Configuration File,
- and supports automatic reload on file modification.
-
-
-
-
- Represents a logging rule. An equivalent of <logger /> configuration element.
-
-
-
-
- Create an empty .
-
-
-
-
- Create an empty .
-
-
-
-
- Create a new with a and which writes to .
-
- Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Target to be written to when the rule matches.
-
-
-
- Create a new with a which writes to .
-
- Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
- Minimum log level needed to trigger this rule.
- Target to be written to when the rule matches.
-
-
-
- Create a (disabled) . You should call or to enable logging.
-
- Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
- Target to be written to when the rule matches.
-
-
-
- Rule identifier to allow rule lookup
-
-
-
-
- Gets a collection of targets that should be written to when this rule matches.
-
-
-
-
- Obsolete since too exotic feature with NLog v5.3.
-
- Gets a collection of child rules to be evaluated when this rule matches.
-
-
-
-
- Gets a collection of filters to be checked before writing to targets.
-
-
-
-
- Gets or sets a value indicating whether to quit processing any following rules when this one matches.
-
-
-
-
- Gets or sets the whether to quit processing any following rules when lower severity and this one matches.
-
-
- Loggers matching will be restricted to specified minimum level for following rules.
-
-
-
-
- Gets or sets logger name pattern.
-
-
- Logger name pattern used by to check if a logger name matches this rule.
- It may include one or more '*' or '?' wildcards at any position.
-
- - '*' means zero or more occurrences of any character
- - '?' means exactly one occurrence of any character
-
-
-
-
-
- Gets the collection of log levels enabled by this rule.
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Default action when filters not matching
-
-
- NLog v4.6 introduced the setting with default value .
- NLog v5 marked it as obsolete and change default value to
-
-
-
-
- Default action if none of the filters match
-
-
- NLog v5 changed default value to
-
-
-
-
- Enables logging for a particular level.
-
- Level to be enabled.
-
-
-
- Enables logging for a particular levels between (included) and .
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
-
-
-
- Disables logging for a particular level.
-
- Level to be disabled.
-
-
-
- Disables logging for particular levels between (included) and .
-
- Minimum log level to be disables.
- Maximum log level to be disabled.
-
-
-
- Enables logging the levels between (included) and . All the other levels will be disabled.
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
-
-
-
- Returns a string representation of . Used for debugging.
-
-
-
-
- Checks whether the particular log level is enabled for this rule.
-
- Level to be checked.
- A value of when the log level is enabled, otherwise.
-
-
-
- Checks whether given name matches the .
-
- String to be matched.
- A value of when the name matches, otherwise.
-
-
-
- Default filtering with static level config
-
-
-
-
- Factory for locating methods.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Scans the assembly for classes marked with expected class
- and methods marked with expected and adds them
- to the factory.
-
- The types to scan.
- The assembly name for the type.
- The item name prefix.
-
-
-
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Scans a type for relevant methods with their symbolic names
-
- Include types that are marked with this attribute
- Include methods that are marked with this attribute
- Class Type to scan
- Collection of methods with their symbolic names
-
-
-
- Clears contents of the factory.
-
-
-
-
- Registers the definition of a single method.
-
- The method name.
- The method info.
-
-
-
- Tries to retrieve method by name.
-
- The method name.
- The result.
- A value of true if the method was found, false otherwise.
-
-
-
- Retrieves method by name.
-
- Method name.
- MethodInfo object.
-
-
-
- Tries to get method definition.
-
- The method name.
- The result.
- A value of true if the method was found, false otherwise.
-
-
-
- Obsolete and replaced by with NLog v5.3.
-
- Marks the layout or layout renderer depends on mutable objects from the LogEvent
-
- This can be or
-
-
-
-
- Attaches a type-alias for an item (such as ,
- , , etc.).
-
-
-
-
- Initializes a new instance of the class.
-
- The type-alias for use in NLog configuration.
-
-
-
- Gets the name of the type-alias
-
-
-
-
- Indicates NLog should not scan this property during configuration.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Marks the object as configuration item for NLog.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Failed to resolve the interface of service type
-
-
-
-
- Typed we tried to resolve
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Default implementation of
-
-
-
-
- Singleton instance of the serializer.
-
-
-
-
-
-
-
- Attribute used to mark the required parameters for targets,
- layout targets and filters.
-
-
-
-
- Interface to register available configuration objects type
-
-
-
-
- Registers instance of singleton object for use in NLog
-
- Type of service/interface to register
- Instance of service
-
-
-
- Gets the service object of the specified type.
-
- Avoid calling this while handling a LogEvent, since random deadlocks can occur.
-
-
-
- Registers singleton-object as implementation of specific interface.
-
-
- If the same single-object implements multiple interfaces then it must be registered for each interface
-
- Type of interface
- The repo
- Singleton object to use for override
-
-
-
- Registers the string serializer to use with
-
-
-
-
- Repository of interfaces used by NLog to allow override for dependency injection
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Registered service type in the service repository
-
-
-
-
- Initializes a new instance of the class.
-
- Type of service that have been registered
-
-
-
- Type of service-interface that has been registered
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Provides simple programmatic configuration API used for trivial logging cases.
-
- Warning, these methods will overwrite the current config.
-
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Configures NLog for console logging so that all messages above and including
- the level are output to the console.
-
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Configures NLog for console logging so that all messages above and including
- the specified level are output to the console.
-
- The minimal logging level.
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Configures NLog for to log to the specified target so that all messages
- above and including the level are output.
-
- The target to log all messages to.
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Configures NLog for to log to the specified target so that all messages
- above and including the specified level are output.
-
- The target to log all messages to.
- The minimal logging level.
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Configures NLog for file logging so that all messages above and including
- the level are written to the specified file.
-
- Log file name.
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Configures NLog for file logging so that all messages above and including
- the specified level are written to the specified file.
-
- Log file name.
- The minimal logging level.
-
-
-
- Value indicating how stack trace should be captured when processing the log event.
-
-
-
-
- No Stack trace needs to be captured.
-
-
-
-
- Stack trace should be captured. This option won't add the filenames and linenumbers
-
-
-
-
- Capture also filenames and linenumbers
-
-
-
-
- Capture the location of the call
-
-
-
-
- Capture the class name for location of the call
-
-
-
-
- Stack trace should be captured. This option won't add the filenames and linenumbers.
-
-
-
-
- Stack trace should be captured including filenames and linenumbers.
-
-
-
-
- Capture maximum amount of the stack trace information supported on the platform.
-
-
-
-
- Marks the layout or layout renderer as thread independent - it producing correct results
- regardless of the thread it's running on.
-
- Without this attribute everything is rendered on the main thread.
-
-
- If this attribute is set on a layout, it could be rendered on the another thread.
- This could be more efficient as it's skipped when not needed.
-
- If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied.
-
- See the AsyncTargetWrapper and BufferTargetWrapper with the , using
-
- Apply this attribute when:
- - The result can we rendered in another thread. Delaying this could be more efficient. And/Or,
- - The result should not be precalculated, for example the target sends some extra context information.
-
-
-
-
- Marks the layout or layout renderer as thread independent - it producing correct results
- regardless of the thread it's running on.
-
- Layout or layout-renderer depends on or ,
- and requires that LogEvent-state is recognized as immutable.
-
-
- Must be used in combination with , else it will have no effect
-
-
-
-
- Marks the layout or layout renderer as thread safe - it producing correct results
- regardless of the number of threads it's running on.
-
- Without this attribute then the target concurrency will be reduced
-
-
-
-
- A class for configuring NLog through an XML configuration file
- (App.config style or App.nlog style).
-
- Parsing of the XML file is also implemented in this class.
-
-
- - This class is thread-safe..ToList() is used for that purpose.
- - Update TemplateXSD.xml for changes outside targets
-
-
-
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
-
-
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
- The to which to apply any applicable configuration values.
-
-
-
- Obsolete and replaced by with NLog v4.7.
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
- Ignore any errors during configuration.
-
-
-
- Obsolete and replaced by with NLog v4.7.
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
- Ignore any errors during configuration.
- The to which to apply any applicable configuration values.
-
-
-
- Initializes a new instance of the class.
-
- XML reader to read from.
-
-
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
-
-
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- The to which to apply any applicable configuration values.
-
-
-
- Obsolete and replaced by with NLog v4.7.
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- Ignore any errors during configuration.
-
-
-
- Obsolete and replaced by with NLog v4.7.
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- Ignore any errors during configuration.
- The to which to apply any applicable configuration values.
-
-
-
- Initializes a new instance of the class.
-
- NLog configuration as XML string.
- Name of the XML file.
- The to which to apply any applicable configuration values.
-
-
-
- Parse XML string as NLog configuration
-
- NLog configuration in XML to be parsed
-
-
-
- Parse XML string as NLog configuration
-
- NLog configuration in XML to be parsed
- NLog LogFactory
-
-
-
- Gets the default object by parsing
- the application configuration file (app.exe.config).
-
-
-
-
- Did the Succeeded? true= success, false= error, null = initialize not started yet.
-
-
-
-
- Gets or sets a value indicating whether all of the configuration files
- should be watched for changes and reloaded automatically when changed.
-
-
-
-
- Gets the collection of file names which should be watched for changes by NLog.
- This is the list of configuration files processed.
- If the autoReload attribute is not set it returns empty collection.
-
-
-
-
- Re-reads the original configuration file and returns the new object.
-
- The newly loaded instance.
- Must assign the returned object to LogManager.Configuration to activate it
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Get file paths (including filename) for the possible NLog config files.
-
- The file paths to the possible config file
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Overwrite the paths (including filename) for the possible NLog config files.
-
- The file paths to the possible config file
-
-
-
- Obsolete and replaced by and with NLog v5.2.
-
- Clear the candidate file paths and return to the defaults.
-
-
-
-
- Create XML reader for (xml config) file.
-
- filepath
- reader or null if filename is empty.
-
-
-
- Initializes the configuration.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- Ignore any errors during configuration.
-
-
-
- Add a file with configuration. Check if not already included.
-
-
-
-
-
-
- Parse the root
-
-
- path to config file.
- The default value for the autoReload option.
-
-
-
- Parse {configuration} xml element.
-
-
- path to config file.
- The default value for the autoReload option.
-
-
-
- Parse {NLog} xml element.
-
-
- path to config file.
- The default value for the autoReload option.
-
-
-
- Parses a single config section within the NLog-config
-
-
- Section was recognized
-
-
-
- Include (multiple) files by filemask, e.g. *.nlog
-
- base directory in case if is relative
- relative or absolute fileMask
-
-
-
-
-
-
-
- Represents simple XML element with case-insensitive attribute semantics.
-
-
-
-
- Initializes a new instance of the class.
-
- The reader to initialize element from.
-
-
-
- Gets the element name.
-
-
-
-
- Gets the dictionary of attribute values.
-
-
-
-
- Gets the collection of child elements.
-
-
-
-
- Gets the value of the element.
-
-
-
-
- Returns children elements with the specified element name.
-
- Name of the element.
- Children elements with the specified element name.
-
-
-
- Asserts that the name of the element is among specified element names.
-
- The allowed names.
-
-
-
- Special attribute we could ignore
-
-
-
-
- Global Diagnostics Context - a dictionary structure to hold per-application-instance values.
-
-
-
-
- Sets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
-
- Item name.
- Item value.
-
-
-
- Sets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
-
- Item name.
- Item value.
-
-
-
- Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
-
- Item name.
- The value of , if defined; otherwise .
- If the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
-
- Item name.
- to use when converting the item's value to a string.
- The value of as a string, if defined; otherwise .
- If is null and the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
-
- Item name.
- The item value, if defined; otherwise null.
-
-
-
- Gets all key-names from Global Diagnostics Context (GDC) dictionary
-
- A collection of the names of all items in the Global Diagnostics Context.
-
-
-
- Determines whether the Global Diagnostics Context (GDC) dictionary contains the specified key.
-
- Item name.
- A boolean indicating whether the specified item exists in current thread GDC.
-
-
-
- Removes the value with the specified key from the Global Diagnostics Context (GDC) dictionary
-
- Item name.
-
-
-
- Clears the content of the Global Diagnostics Context (GDC) dictionary.
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Mapped Diagnostics Context (MDC) is a dictionary of keys and values.
- Stores the dictionary in the thread-local static variable, and provides methods to output dictionary values in layouts.
-
-
-
-
- Sets the current thread MDC item to the specified value.
-
- Item name.
- Item value.
- An that can be used to remove the item from the current thread MDC.
-
-
-
- Sets the current thread MDC item to the specified value.
-
- Item name.
- Item value.
- >An that can be used to remove the item from the current thread MDC.
-
-
-
- Sets the current thread MDC item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Sets the current thread MDC item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Gets the current thread MDC named item, as .
-
- Item name.
- The value of , if defined; otherwise .
- If the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the current thread MDC named item, as .
-
- Item name.
- The to use when converting a value to a .
- The value of , if defined; otherwise .
- If is null and the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the current thread MDC named item, as .
-
- Item name.
- The value of , if defined; otherwise null.
-
-
-
- Returns all item names
-
- A set of the names of all items in current thread-MDC.
-
-
-
- Checks whether the specified item exists in current thread MDC.
-
- Item name.
- A boolean indicating whether the specified exists in current thread MDC.
-
-
-
- Removes the specified from current thread MDC.
-
- Item name.
-
-
-
- Clears the content of current thread MDC.
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Mapped Diagnostics Logical Context (MDLC) is a dictionary of keys and values.
- Stores the dictionary in the logical thread callcontext, and provides methods to output dictionary values in layouts.
- Allows for maintaining state across asynchronous tasks and call contexts.
-
-
- Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original
- NLog library so that state can be maintained for multiple threads in asynchronous situations.
-
-
-
-
- Gets the current logical context named item, as .
-
- Item name.
- The value of , if defined; otherwise .
- If the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the current logical context named item, as .
-
- Item name.
- The to use when converting a value to a string.
- The value of , if defined; otherwise .
- If is null and the value isn't a already, this call locks the for reading the needed for converting to .
-
-
-
- Gets the current logical context named item, as .
-
- Item name.
- The value of , if defined; otherwise null.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
- >An that can be used to remove the item from the current logical context.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
- >An that can be used to remove the item from the current logical context.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
- >An that can be used to remove the item from the current logical context.
-
-
-
- Updates the current logical context with multiple items in single operation
-
- .
- >An that can be used to remove the item from the current logical context (null if no items).
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Returns all item names
-
- A collection of the names of all items in current logical context.
-
-
-
- Checks whether the specified exists in current logical context.
-
- Item name.
- A boolean indicating whether the specified exists in current logical context.
-
-
-
- Removes the specified from current logical context.
-
- Item name.
-
-
-
- Clears the content of current logical context.
-
-
-
-
- Clears the content of current logical context.
-
- Free the full slot.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Nested Diagnostics Context (NDC) is a stack of nested values.
- Stores the stack in the thread-local static variable, and provides methods to output the values in layouts.
-
-
-
-
- Gets the top NDC message but doesn't remove it.
-
- The top message. .
-
-
-
- Gets the top NDC object but doesn't remove it.
-
- The object at the top of the NDC stack if defined; otherwise null.
-
-
-
- Pushes the specified text on current thread NDC.
-
- The text to be pushed.
- An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
-
-
-
- Pushes the specified object on current thread NDC.
-
- The object to be pushed.
- An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
-
-
-
- Pops the top message off the NDC stack.
-
- The top message which is no longer on the stack.
-
-
-
- Pops the top message from the NDC stack.
-
- The to use when converting the value to a string.
- The top message, which is removed from the stack, as a string value.
-
-
-
- Pops the top object off the NDC stack.
-
- The object from the top of the NDC stack, if defined; otherwise null.
-
-
-
- Peeks the first object on the NDC stack
-
- The object from the top of the NDC stack, if defined; otherwise null.
-
-
-
- Clears current thread NDC stack.
-
-
-
-
- Gets all messages on the stack.
-
- Array of strings on the stack.
-
-
-
- Gets all messages from the stack, without removing them.
-
- The to use when converting a value to a string.
- Array of strings.
-
-
-
- Gets all objects on the stack.
-
- Array of objects on the stack.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Nested Diagnostics Logical Context (NDLC) is a stack of nested values.
- Stores the stack in the logical thread callcontexte, and provides methods to output the values in layouts.
-
-
-
-
- Pushes the specified value on current stack
-
- The value to be pushed.
- An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
-
-
-
- Pushes the specified value on current stack
-
- The value to be pushed.
- An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
-
-
-
- Pops the top message off the NDLC stack.
-
- The top message which is no longer on the stack.
- this methods returns a object instead of string, this because of backwards-compatibility
-
-
-
- Pops the top message from the NDLC stack.
-
- The to use when converting the value to a string.
- The top message, which is removed from the stack, as a string value.
-
-
-
- Pops the top message off the current NDLC stack
-
- The object from the top of the NDLC stack, if defined; otherwise null.
-
-
-
- Peeks the top object on the current NDLC stack
-
- The object from the top of the NDLC stack, if defined; otherwise null.
-
-
-
- Clears current stack.
-
-
-
-
- Gets all messages on the stack.
-
- Array of strings on the stack.
-
-
-
- Gets all messages from the stack, without removing them.
-
- The to use when converting a value to a string.
- Array of strings.
-
-
-
- Gets all objects on the stack. The objects are not removed from the stack.
-
- Array of objects on the stack.
-
-
-
- stores state in the async thread execution context. All LogEvents created
- within a scope can include the scope state in the target output. The logical context scope supports
- both scope-properties and scope-nested-state-stack (Similar to log4j2 ThreadContext)
-
-
- (MDLC), (MDC), (NDLC)
- and (NDC) have been deprecated and replaced by .
-
- .NetCore (and .Net46) uses AsyncLocal for handling the thread execution context. Older .NetFramework uses System.Runtime.Remoting.CallContext
-
-
-
-
- Pushes new state on the logical context scope stack together with provided properties
-
- Value to added to the scope stack
- Properties being added to the scope dictionary
- A disposable object that pops the nested scope state on dispose (including properties).
- Scope dictionary keys are case-insensitive
-
-
-
- Updates the logical scope context with provided properties
-
- Properties being added to the scope dictionary
- A disposable object that removes the properties from logical context scope on dispose.
- Scope dictionary keys are case-insensitive
-
-
-
- Updates the logical scope context with provided properties
-
- Properties being added to the scope dictionary
- A disposable object that removes the properties from logical context scope on dispose.
- Scope dictionary keys are case-insensitive
-
-
-
- Updates the logical scope context with provided property
-
- Name of property
- Value of property
- A disposable object that removes the properties from logical context scope on dispose.
- Scope dictionary keys are case-insensitive
-
-
-
- Updates the logical scope context with provided property
-
- Name of property
- Value of property
- A disposable object that removes the properties from logical context scope on dispose.
- Scope dictionary keys are case-insensitive
-
-
-
- Pushes new state on the logical context scope stack
-
- Value to added to the scope stack
- A disposable object that pops the nested scope state on dispose.
- Skips casting of to check for scope-properties
-
-
-
- Pushes new state on the logical context scope stack
-
- Value to added to the scope stack
- A disposable object that pops the nested scope state on dispose.
-
-
-
- Clears all the entire logical context scope, and removes any properties and nested-states
-
-
-
-
- Retrieves all properties stored within the logical context scopes
-
- Collection of all properties
-
-
-
- Lookup single property stored within the logical context scopes
-
- Name of property
- When this method returns, contains the value associated with the specified key
- Returns true when value is found with the specified key
- Scope dictionary keys are case-insensitive
-
-
-
- Retrieves all nested states inside the logical context scope stack
-
- Array of nested state objects.
-
-
-
- Peeks the top value from the logical context scope stack
-
- Value from the top of the stack.
-
-
-
- Peeks the inner state (newest) from the logical context scope stack, and returns its running duration
-
- Scope Duration Time
-
-
-
- Peeks the outer state (oldest) from the logical context scope stack, and returns its running duration
-
- Scope Duration Time
-
-
-
- Special bookmark that can restore original parent, after scopes has been collapsed
-
-
-
-
- Matches when the specified condition is met.
-
-
- Conditions are expressed using a simple language.
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the condition expression.
-
-
-
-
-
-
-
-
- An abstract filter class. Provides a way to eliminate log messages
- based on properties other than logger name and log level.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the action to be taken when filter matches.
-
-
-
-
-
- Gets the result of evaluating filter against given log event.
-
- The log event.
- Filter result.
-
-
-
- Checks whether log event should be logged or not.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
-
-
- Marks class as a layout renderer and assigns a name to it.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the filter.
-
-
-
- Filter result.
-
-
-
-
- The filter doesn't want to decide whether to log or discard the message.
-
-
-
-
- The message should be logged.
-
-
-
-
- The message should not be logged.
-
-
-
-
- The message should be logged and processing should be finished.
-
-
-
-
- The message should not be logged and processing should be finished.
-
-
-
-
- A base class for filters that are based on comparing a value to a layout.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the layout to be used to filter log messages.
-
- The layout.
-
-
-
-
- Matches when the calculated layout contains the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
- Gets or sets the substring to be matched.
-
-
-
-
-
-
-
-
- Matches when the calculated layout is equal to the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
- Gets or sets a string to compare the layout to.
-
-
-
-
-
-
-
-
- Matches the provided filter-method
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
-
-
-
- Matches when the calculated layout does NOT contain the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Gets or sets the substring to be matched.
-
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
-
-
-
- Matches when the calculated layout is NOT equal to the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a string to compare the layout to.
-
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
-
-
-
- Matches when the result of the calculated layout has been repeated a moment ago
-
-
-
-
- How long before a filter expires, and logging is accepted again
-
-
-
-
-
- Max length of filter values, will truncate if above limit
-
-
-
-
-
- Applies the configured action to the initial logevent that starts the timeout period.
- Used to configure that it should ignore all events until timeout.
-
-
-
-
-
- Max number of unique filter values to expect simultaneously
-
-
-
-
-
- Default number of unique filter values to expect, will automatically increase if needed
-
-
-
-
-
- Insert FilterCount value into when an event is no longer filtered
-
-
-
-
-
- Append FilterCount to the when an event is no longer filtered
-
-
-
-
-
- Reuse internal buffers, and doesn't have to constantly allocate new buffers
-
-
-
-
-
- Default buffer size for the internal buffers
-
-
-
-
-
- Checks whether log event should be logged or not. In case the LogEvent has just been repeated.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
-
-
- Uses object pooling, and prunes stale filter items when the pool runs dry
-
-
-
-
- Remove stale filter-value from the cache, and fill them into the pool for reuse
-
-
-
-
- Renders the Log Event into a filter value, that is used for checking if just repeated
-
-
-
-
- Repeated LogEvent detected. Checks if it should activate filter-action
-
-
-
-
- Filter Value State (mutable)
-
-
-
-
- Filter Lookup Key (immutable)
-
-
-
-
- A global logging class using caller info to find the logger.
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event with the specified .
-
- The log level.
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Trace level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Debug level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Info level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Warn level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Error level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Fatal level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Obsolete and replaced by with NLog v5.
-
- A fluent class to build log events for NLog.
-
-
-
-
- Initializes a new instance of the class.
-
- The to send the log event.
-
-
-
- Initializes a new instance of the class.
-
- The to send the log event.
- The for the log event.
-
-
-
- Gets the created by the builder.
-
-
-
-
- Sets the information of the logging event.
-
- The exception information of the logging event.
- current for chaining calls.
-
-
-
- Sets the level of the logging event.
-
- The level of the logging event.
- current for chaining calls.
-
-
-
- Sets the logger name of the logging event.
-
- The logger name of the logging event.
- current for chaining calls.
-
-
-
- Sets the log message on the logging event.
-
- The log message for the logging event.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The first object to format.
- The second object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The first object to format.
- The second object to format.
- The third object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The first object to format.
- The second object to format.
- The third object to format.
- The fourth object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- An object array that contains zero or more objects to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- An object that supplies culture-specific formatting information.
- A composite format string.
- An object array that contains zero or more objects to format.
- current for chaining calls.
-
-
-
- Sets a per-event context property on the logging event.
-
- The name of the context property.
- The value of the context property.
- current for chaining calls.
-
-
-
- Sets multiple per-event context properties on the logging event.
-
- The properties to set.
- current for chaining calls.
-
-
-
- Sets the timestamp of the logging event.
-
- The timestamp of the logging event.
- current for chaining calls.
-
-
-
- Sets the stack trace for the event info.
-
- The stack trace.
- Index of the first user stack frame within the stack trace.
- current for chaining calls.
-
-
-
- Writes the log event to the underlying logger.
-
- The method or property name of the caller to the method. This is set at by the compiler.
- The full path of the source file that contains the caller. This is set at by the compiler.
- The line number in the source file at which the method is called. This is set at by the compiler.
-
-
-
- Writes the log event to the underlying logger if the condition delegate is true.
-
- If condition is true, write log event; otherwise ignore event.
- The method or property name of the caller to the method. This is set at by the compiler.
- The full path of the source file that contains the caller. This is set at by the compiler.
- The line number in the source file at which the method is called. This is set at by the compiler.
-
-
-
- Writes the log event to the underlying logger if the condition is true.
-
- If condition is true, write log event; otherwise ignore event.
- The method or property name of the caller to the method. This is set at by the compiler.
- The full path of the source file that contains the caller. This is set at by the compiler.
- The line number in the source file at which the method is called. This is set at by the compiler.
-
-
-
- Extension methods for NLog .
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event with the specified .
-
- The logger to write the log event to.
- The log level.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Trace level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Debug level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Info level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Warn level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Error level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Starts building a log event at the Fatal level.
-
- The logger to write the log event to.
- current for chaining calls.
-
Extensions for NLog .
@@ -8243,135 +7155,14 @@
An exception to be logged.
A function returning message to be written. Function is not evaluated if logging is not enabled.
-
+
- Interface for fakeable of the current AppDomain.
+ Allocates new builder and appends to the provided target builder on dispose
-
+
- Gets or sets the base directory that the assembly resolver uses to probe for assemblies.
-
-
-
-
- Gets or sets the name of the configuration file for an application domain.
-
-
-
-
- Gets or sets the list of directories under the application base directory that are probed for private assemblies.
-
-
-
-
- Gets or set the friendly name.
-
-
-
-
- Gets an integer that uniquely identifies the application domain within the process.
-
-
-
-
- Gets the assemblies that have been loaded into the execution context of this application domain.
-
- A list of assemblies in this application domain.
-
-
-
- Process exit event.
-
-
-
-
- Domain unloaded event.
-
-
-
-
- Abstract calls for the application environment
-
-
-
-
- Gets current process name (excluding filename extension, if any).
-
-
-
-
- Process exit event.
-
-
-
-
- Abstract calls to FileSystem
-
-
-
- Determines whether the specified file exists.
- The file to check.
-
-
- Returns the content of the specified file
- The file to load.
-
-
-
- Adapter for to
-
-
-
-
- Initializes a new instance of the class.
-
- The to wrap.
-
-
-
- Creates an AppDomainWrapper for the current
-
-
-
-
- Gets or sets the base directory that the assembly resolver uses to probe for assemblies.
-
-
-
-
- Gets or sets the name of the configuration file for an application domain.
-
-
-
-
- Gets or sets the list of directories under the application base directory that are probed for private assemblies.
-
-
-
-
- Gets or set the friendly name.
-
-
-
-
- Gets an integer that uniquely identifies the application domain within the process.
-
-
-
-
- Gets the assemblies that have been loaded into the execution context of this application domain.
-
- A list of assemblies in this application domain.
-
-
-
- Process exit event.
-
-
-
-
- Domain unloaded event.
+ Access the new builder allocated
@@ -8416,8 +7207,227 @@
-
-
+
+
+ Long UNC paths does not allow relative-path-logic using '..', and also cannot be loaded into Uri by XmlReader
+
+
+
+
+ Abstract calls for the application environment
+
+
+
+
+ Gets current process name (excluding filename extension, if any).
+
+
+
+
+ Process exit event.
+
+
+
+
+ Abstract calls to FileSystem
+
+
+
+ Determines whether the specified file exists.
+ The file to check.
+
+
+ Returns the content of the specified text-file
+ The file to load.
+
+
+
+ Helpers for .
+
+
+
+
+ Logs the assembly version and file version of the given Assembly.
+
+ The assembly to log.
+
+
+
+ Keeps track of pending operation count, and can notify when pending operation count reaches zero
+
+
+
+
+ Mark operation has started
+
+
+
+
+ Mark operation has completed
+
+ Exception coming from the completed operation [optional]
+
+
+
+ Registers an AsyncContinuation to be called when all pending operations have completed
+
+ Invoked on completion
+ AsyncContinuation operation
+
+
+
+ Clear o
+
+
+
+
+ Adds the given assembly which will be skipped
+ when NLog is trying to find the calling method on stack trace.
+
+ The assembly to skip.
+
+
+
+ Sets the stack trace for the event info.
+
+ The stack trace.
+ Index of the first user stack frame within the stack trace.
+ Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger.
+
+
+
+ Sets the details retrieved from the Caller Information Attributes
+
+
+
+
+
+
+
+
+ Obsolete and replaced by or ${callsite} with NLog v5.3.
+
+ Gets the stack frame of the method that did the logging.
+
+
+
+
+ Gets the number index of the stack frame that represents the user
+ code (not the NLog code).
+
+
+
+
+ Legacy attempt to skip async MoveNext, but caused source file line number to be lost
+
+
+
+
+ Gets the entire stack trace.
+
+
+
+
+ Finds first user stack frame in a stack trace
+
+ The stack trace of the logging method invocation
+ Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger.
+ Index of the first user stack frame or 0 if all stack frames are non-user
+
+
+
+ This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame
+
+ The stack trace of the logging method invocation
+ Starting point for skipping async MoveNext-frames
+
+
+
+ Skip StackFrame when from hidden Assembly / ClassType
+
+
+
+
+ Skip StackFrame when type of the logger
+
+
+
+
+ Memory optimized filtering
+
+ Passing state too avoid delegate capture and memory-allocations.
+
+
+
+ Internal configuration manager used to read .NET configuration files.
+ Just a wrapper around the BCL ConfigurationManager, but used to enable
+ unit testing.
+
+
+
+
+ Ensures that IDictionary.GetEnumerator returns DictionaryEntry values
+
+
+
+
+ Safe way to get environment variables.
+
+
+
+
+ Helper class for dealing with exceptions.
+
+
+
+
+ Mark this exception as logged to the .
+
+
+
+
+
+
+ Is this exception logged to the ?
+
+
+ trueif the has been logged to the .
+
+
+
+ Determines whether the exception must be rethrown and logs the error to the if is false.
+
+ Advised to log first the error to the before calling this method.
+
+ The exception to check.
+ Target Object context of the exception.
+ Target Method context of the exception.
+ trueif the must be rethrown, false otherwise.
+
+
+
+ Determines whether the exception must be rethrown immediately, without logging the error to the .
+
+ Only used this method in special cases.
+
+ The exception to check.
+ trueif the must be rethrown, false otherwise.
+
+
+
+ FormatProvider that renders an exception-object as $"{ex.GetType()}: {ex.Message}"
+
+
+
+
+ Convert object to string
+
+ value
+ format for conversion.
+
+
+ If is null and isn't a already, then the will get a locked by
+
@@ -8512,141 +7522,48 @@
Initializes this instance.
- The configuration.
Closes this instance.
-
+
- Helpers for .
+ The MessageFormatter delegate
-
+
- Gets all usable exported types from the given assembly.
-
- Assembly to scan.
- Usable types from the given assembly.
- Types which cannot be loaded are skipped.
-
-
-
- Forward declare of system delegate type for use by other classes
+ When true: Do not fallback to StringBuilder.Format for positional templates
-
+
- Keeps track of pending operation count, and can notify when pending operation count reaches zero
+ New formatter
-
-
-
- Mark operation has started
-
-
-
-
- Mark operation has completed
-
- Exception coming from the completed operation [optional]
-
-
-
- Registers an AsyncContinuation to be called when all pending operations have completed
-
- Invoked on completion
- AsyncContinuation operation
-
-
-
- Clear o
-
-
-
-
- Adds the given assembly which will be skipped
- when NLog is trying to find the calling method on stack trace.
-
- The assembly to skip.
-
-
-
- Sets the stack trace for the event info.
-
- The stack trace.
- Index of the first user stack frame within the stack trace.
- Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger.
-
-
-
- Sets the details retrieved from the Caller Information Attributes
-
-
-
-
-
-
-
-
- Obsolete and replaced by or ${callsite} with NLog v5.3.
+
+ When true: Do not fallback to StringBuilder.Format for positional templates
+
- Gets the stack frame of the method that did the logging.
+
+
+
+ The MessageFormatter delegate
-
-
- Gets the number index of the stack frame that represents the user
- code (not the NLog code).
-
+
+
-
+
- Legacy attempt to skip async MoveNext, but caused source file line number to be lost
-
-
-
-
- Gets the entire stack trace.
-
-
-
-
- Finds first user stack frame in a stack trace
-
- The stack trace of the logging method invocation
- Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger.
- Index of the first user stack frame or 0 if all stack frames are non-user
-
-
-
- This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame
-
- The stack trace of the logging method invocation
- Starting point for skipping async MoveNext-frames
-
-
-
- Skip StackFrame when from hidden Assembly / ClassType
-
-
-
-
- Skip StackFrame when type of the logger
-
-
-
-
- Memory optimized filtering
-
- Passing state too avoid delegate capture and memory-allocations.
-
-
-
- Ensures that IDictionary.GetEnumerator returns DictionaryEntry values
+ Render a template to a string.
+ The template.
+ Culture.
+ Parameters for the holes.
+ The String Builder destination.
+ Parameters for the holes.
@@ -8675,18 +7592,147 @@
Output value of the item found in the cache.
True when the key is found in the cache, false otherwise.
-
+
- Dictionary that combines the standard with the
- MessageTemplate-properties extracted from the .
-
- The are returned as the first items
- in the collection, and in positional order.
+ Watches multiple files at the same time and raises an event whenever
+ a single change is detected in any of those files.
+
+
+ The types of changes to watch for.
+
+
+
+
+ Occurs when a change is detected in one of the monitored files.
+
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Stops watching all files.
+
+
+
+
+ Watches the specified files for changes.
+
+ The file names.
+
+
+
+ Scans (breadth-first) the object graph following all the edges whose are
+ instances have attached and returns
+ all objects implementing a specified interfaces.
+
+
+
+
+ Finds the objects which have attached which are reachable
+ from any of the given root objects when traversing the object graph over public properties.
+
+ Type of the objects to return.
+ Configuration Reflection Helper
+ Also search the properties of the wanted objects.
+ The root objects.
+ Ordered list of objects implementing T.
+
+
+
+ Object Path to check
+
+
+
+
+ Converts object into a List of property-names and -values using reflection
+
+
+
+
+ Try get value from , using , and set into
+
+
+
+
+ Scans properties for name (Skips property value lookup until finding match)
+
+
+
+
+ Scans properties for name
+
+
+
+
+ Binder for retrieving value of
+
+
+
+
+
+
+
+ Combine paths
+
+ basepath, not null
+ optional dir
+ optional file
+
+
+
+
+ Cached directory separator char array to avoid memory allocation on each method call.
+
+
+
+
+ Trims directory separators from the path
+
+ path, could be null
+ never null
+
+
+
+ Detects the platform the NLog is running on.
+
+
+
+
+ Gets the current runtime OS.
+
+
+
+
+ Gets a value indicating whether current OS is Win32-based (desktop or mobile).
+
+
+
+
+ Gets a value indicating whether current OS is Unix-based.
+
+
+
+
+ Gets a value indicating whether current runtime is Mono-based
+
+
+
+
+ Dictionary that combines the standard with the
+ MessageTemplate-properties extracted from the .
+
+ The are returned as the first items
+ in the collection, and in positional order.
+
+
- Value of the property
+ Value of the property
@@ -8710,11 +7756,10 @@
Message-template-parameters
-
+
Transforms the list of event-properties into IDictionary-interface
- Message-template-parameters
@@ -8778,46 +7823,64 @@
Message-template-parameters
The dictionary that initially contains no message-template-parameters
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
Will always throw, as collection is readonly
-
+
Will always throw, as collection is readonly
-
+
Will always throw, as collection is readonly
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+ Will always throw, as collection is readonly
+
+
+ Will always throw, as collection is readonly
+
+
+ Will always throw, as collection is readonly
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -8831,6 +7894,235 @@
Enables case-insensitive lookup using
+
+
+ Reflection helpers for accessing properties.
+
+
+
+
+ Get property info
+
+ Configuration Reflection Helper
+ object which could have property
+ property name on
+ result when success.
+ success.
+
+
+
+ Try parse of string to (Generic) list, comma separated.
+
+
+ If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape
+
+
+
+
+ Reflection helpers.
+
+
+
+
+ Is this a static class?
+
+
+
+ This is a work around, as Type doesn't have this property.
+ From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static
+
+
+
+
+ Optimized delegate for calling MethodInfo
+
+ Object instance, use null for static methods.
+ Complete list of parameters that matches the method, including optional/default parameters.
+
+
+
+ Creates an optimized delegate for calling the MethodInfo using Expression-Trees
+
+ Method to optimize
+ Optimized delegate for invoking the MethodInfo
+
+
+
+ Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user)
+
+
+
+
+ Controls a single allocated char[]-buffer for reuse (only one active user)
+
+
+
+
+ Controls a single allocated StringBuilder for reuse (only one active user)
+
+
+
+
+ Controls a single allocated object for reuse (only one active user)
+
+
+
+
+ Creates handle to the reusable char[]-buffer for active usage
+
+ Handle to the reusable item, that can release it again
+
+
+
+ Access the acquired reusable object
+
+
+
+
+ Controls a single allocated MemoryStream for reuse (only one active user)
+
+
+
+
+ Supported operating systems.
+
+
+ If you add anything here, make sure to add the appropriate detection
+ code to
+
+
+
+
+ Unknown operating system.
+
+
+
+
+ Unix/Linux operating systems.
+
+
+
+
+ Desktop versions of Windows (95,98,ME).
+
+
+
+
+ Windows NT, 2000, 2003 and future versions based on NT technology.
+
+
+
+
+ Macintosh Mac OSX
+
+
+
+
+ Immutable state that combines ScopeContext MDLC + NDLC for
+
+
+
+
+ Immutable state that combines ScopeContext MDLC + NDLC for
+
+
+
+
+ Immutable state for ScopeContext Mapped Context (MDLC)
+
+
+
+
+ Immutable state for ScopeContext Nested State (NDLC)
+
+
+
+
+ Immutable state for ScopeContext Single Property (MDLC)
+
+
+
+
+ Immutable state for ScopeContext Multiple Properties (MDLC)
+
+
+
+
+ Immutable state for ScopeContext handling legacy MDLC + NDLC operations
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Collection of targets that should be written to
+
+
+
+
+ Simple character tokenizer.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The text to be tokenized.
+
+
+
+ Current position in
+
+
+
+
+ Full text to be parsed
+
+
+
+
+ Check current char while not changing the position.
+
+
+
+
+
+ Read the current char and change position
+
+
+
+
+
+ Get the substring of the
+
+
+
+
+
+
+
+ Implements a single-call guard around given continuation function.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The asynchronous continuation.
+
+
+
+ Continuation function which implements the single-call guard.
+
+ The exception.
+
HashSet optimized for single item
@@ -8935,7 +8227,7 @@
Dictionary where keys are unique input keys, and values are lists of .
-
+
Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed.
@@ -8944,1563 +8236,28 @@
The type of the key.
The type of the value.
-
+
-
-
-
-
-
-
-
-
-
-
-
- Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown.
- Consider to use instead for better safety.
-
- Key value for lookup
- Mapped value found
-
-
+
Non-Allocating struct-enumerator
-
+
-
+
-
-
-
-
- Will always throw, as dictionary is readonly
-
-
- Will always throw, as dictionary is readonly
-
-
-
-
-
- Will always throw, as dictionary is readonly
-
-
- Will always throw, as dictionary is readonly
-
-
-
-
-
-
-
-
- Will always throw, as dictionary is readonly
-
-
-
- Internal configuration manager used to read .NET configuration files.
- Just a wrapper around the BCL ConfigurationManager, but used to enable
- unit testing.
-
-
-
-
- UTF-8 BOM 239, 187, 191
-
-
-
-
- Safe way to get environment variables.
-
-
-
-
- Helper class for dealing with exceptions.
-
-
-
-
- Mark this exception as logged to the .
-
-
-
-
-
-
- Is this exception logged to the ?
-
-
- trueif the has been logged to the .
-
-
-
- Determines whether the exception must be rethrown and logs the error to the if is false.
-
- Advised to log first the error to the before calling this method.
-
- The exception to check.
- Target Object context of the exception.
- Target Method context of the exception.
- trueif the must be rethrown, false otherwise.
-
-
-
- Determines whether the exception must be rethrown immediately, without logging the error to the .
-
- Only used this method in special cases.
-
- The exception to check.
- trueif the must be rethrown, false otherwise.
-
-
-
- FormatProvider that renders an exception-object as $"{ex.GetType()}: {ex.Message}"
-
-
-
-
- Object construction helper.
-
-
-
-
- Base class for optimized file appenders.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The create parameters.
-
-
-
- Gets the path of the file, including file extension.
-
- The name of the file.
-
-
-
- Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated
- Universal Time [UTC] standard.
-
- The creation time of the file.
-
-
-
- Gets or sets the creation time for a file associated with the appender. Synchronized by
- The time format is based on
-
-
-
-
- Gets the last time the file associated with the appender is opened. The time returned is in Coordinated
- Universal Time [UTC] standard.
-
- The time the file was last opened.
-
-
-
- Gets the file creation parameters.
-
- The file creation parameters.
-
-
-
- Writes the specified bytes.
-
- The bytes.
-
-
-
- Writes the specified bytes to a file.
-
- The bytes array.
- The bytes array offset.
- The number of bytes.
-
-
-
- Flushes this file-appender instance.
-
-
-
-
- Closes this file-appender instance.
-
-
-
-
- Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal
- Time [UTC] standard.
-
- The file creation time.
-
-
-
- Gets the length in bytes of the file associated with the appender.
-
- A long value representing the length of the file in bytes.
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- True to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Creates the file stream.
-
- If set to true sets the file stream to allow shared writing.
- If larger than 0 then it will be used instead of the default BufferSize for the FileStream.
- A object which can be used to write to the file.
-
-
-
- Base class for optimized file appenders which require the usage of a mutex.
-
- It is possible to use this class as replacement of BaseFileAppender and the mutex functionality
- is not enforced to the implementing subclasses.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The create parameters.
-
-
-
- Gets the mutually-exclusive lock for archiving files.
-
- The mutex for archiving.
-
-
-
-
-
-
- Creates a mutex that is sharable by more than one process.
-
- The prefix to use for the name of the mutex.
- A object which is sharable by multiple processes.
-
-
-
- Implementation of which caches
- file information.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory class which creates objects.
-
-
-
-
-
-
-
- Maintains a collection of file appenders usually associated with file targets.
-
-
-
-
- An "empty" instance of the class with zero size and empty list of appenders.
-
-
-
-
- Initializes a new "empty" instance of the class with zero size and empty
- list of appenders.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The size of the list should be positive. No validations are performed during initialization as it is an
- internal class.
-
- Total number of appenders allowed in list.
- Factory used to create each appender.
- Parameters used for creating a file.
-
-
-
- The archive file path pattern that is used to detect when archiving occurs.
-
-
-
-
- Invalidates appenders for all files that were archived.
-
-
-
-
- Gets the parameters which will be used for creating a file.
-
-
-
-
- Gets the file appender factory used by all the appenders in this list.
-
-
-
-
- Gets the number of appenders which the list can hold.
-
-
-
-
- Subscribe to background monitoring of active file appenders
-
-
-
-
- It allocates the first slot in the list when the file name does not already in the list and clean up any
- unused slots.
-
- File name associated with a single appender.
- The allocated appender.
-
-
-
- Close all the allocated appenders.
-
-
-
-
- Close the allocated appenders initialized before the supplied time.
-
- The time which prior the appenders considered expired
-
-
-
- Flush all the allocated appenders.
-
-
-
-
- File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file.
-
-
- NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender
-
-
-
-
- Closes the specified appender and removes it from the list.
-
- File name of the appender to be closed.
- File Appender that matched the filePath (null if none found)
-
-
-
- Interface that provides parameters for create file function.
-
-
-
-
- Gets or sets the delay in milliseconds to wait before attempting to write to the file again.
-
-
-
-
- Gets or sets the number of times the write is appended on the file before NLog
- discards the log message.
-
-
-
-
- Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host.
-
-
- This makes multi-process logging possible. NLog uses a special technique
- that lets it keep the files open for writing.
-
-
-
-
- Gets or sets a value indicating whether to create directories if they do not exist.
-
-
- Setting this to false may improve performance a bit, but you'll receive an error
- when attempting to write to a directory that's not present.
-
-
-
-
- Gets or sets a value indicating whether to enable log file(s) to be deleted.
-
-
-
-
- Gets or sets the log file buffer size in bytes.
-
-
-
-
- Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation.
-
-
-
-
- Gets or sets the file attributes (Windows only).
-
-
-
-
- Should archive mutex be created?
-
-
-
-
- Should manual simple detection of file deletion be enabled?
-
-
-
-
- Gets the parameters which will be used for creating a file.
-
-
-
-
- Gets the file appender factory used by all the appenders in this list.
-
-
-
-
- Gets the number of appenders which the list can hold.
-
-
-
-
- Subscribe to background monitoring of active file appenders
-
-
-
-
- It allocates the first slot in the list when the file name does not already in the list and clean up any
- unused slots.
-
- File name associated with a single appender.
- The allocated appender.
-
-
-
- Close all the allocated appenders.
-
-
-
-
- Close the allocated appenders initialized before the supplied time.
-
- The time which prior the appenders considered expired
-
-
-
- Flush all the allocated appenders.
-
-
-
-
- File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file.
-
-
- NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender
-
-
-
-
- Closes the specified appender and removes it from the list.
-
- File name of the appender to be closed.
- File Appender that matched the filePath (null if none found)
-
-
-
- The archive file path pattern that is used to detect when archiving occurs.
-
-
-
-
- Invalidates appenders for all files that were archived.
-
-
-
-
- Interface implemented by all factories capable of creating file appenders.
-
-
-
-
- Opens the appender for given file name and parameters.
-
- Name of the file.
- Creation parameters.
- Instance of which can be used to write to the file.
-
-
-
- Provides a multi process-safe atomic file appends while
- keeping the files open.
-
-
- On Unix you can get all the appends to be atomic, even when multiple
- processes are trying to write to the same file, because setting the file
- pointer to the end of the file and appending can be made one operation.
- On Win32 we need to maintain some synchronization between processes
- (global named mutex is used for this)
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory class.
-
-
-
-
-
-
-
- Appender used to discard data for the FileTarget.
- Used mostly for testing entire stack except the actual writing to disk.
- Throws away all data.
-
-
-
-
- Factory class.
-
-
-
-
-
-
-
- Multi-process and multi-host file appender which attempts
- to get exclusive write access and retries if it's not available.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory class.
-
-
-
-
-
-
-
- Optimized single-process file appender which keeps the file open for exclusive write.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory class.
-
-
-
-
-
-
-
- Provides a multi process-safe atomic file append while
- keeping the files open.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
- Creates or opens a file in a special mode, so that writes are automatically
- as atomic writes at the file end.
- See also "UnixMultiProcessFileAppender" which does a similar job on *nix platforms.
-
- File to create or open
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Factory class.
-
-
-
-
-
-
-
- A layout that represents a filePath.
-
-
-
-
- Cached directory separator char array to avoid memory allocation on each method call.
-
-
-
-
- Cached invalid file names char array to avoid memory allocation every time Path.GetInvalidFileNameChars() is called.
-
-
-
-
- not null when == false
-
-
-
-
- non null is fixed,
-
-
-
-
- is the cache-key, and when newly rendered filename matches the cache-key,
- then it reuses the cleaned cache-value .
-
-
-
-
- is the cache-value that is reused, when the newly rendered filename
- matches the cache-key
-
-
-
- Initializes a new instance of the class.
-
-
-
- Render the raw filename from Layout
-
- The log event.
- StringBuilder to minimize allocations [optional].
- String representation of a layout.
-
-
-
- Convert the raw filename to a correct filename
-
- The filename generated by Layout.
- String representation of a correct filename.
-
-
-
- Is this (templated/invalid) path an absolute, relative or unknown?
-
-
-
-
- Watches multiple files at the same time and raises an event whenever
- a single change is detected in any of those files.
-
-
-
-
- The types of changes to watch for.
-
-
-
-
- Occurs when a change is detected in one of the monitored files.
-
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Stops watching all files.
-
-
-
-
- Stops watching the specified file.
-
-
-
-
-
- Watches the specified files for changes.
-
- The file names.
-
-
-
- Combine paths
-
- basepath, not null
- optional dir
- optional file
-
-
-
-
- Cached directory separator char array to avoid memory allocation on each method call.
-
-
-
-
- Trims directory separators from the path
-
- path, could be null
- never null
-
-
-
- Convert object to string
-
- value
- format for conversion.
-
-
- If is null and isn't a already, then the will get a locked by
-
-
-
-
- Retrieve network interfaces
-
-
-
-
- Retrieve network interfaces
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
-
-
- Specifies how outgoing email messages will be handled.
-
-
-
-
- Gets or sets the name or IP address of the host used for SMTP transactions.
-
-
-
-
- Gets or sets the port used for SMTP transactions.
-
-
-
-
- Gets or sets a value that specifies the amount of time after which a synchronous Send call times out.
-
-
-
-
- Gets or sets the credentials used to authenticate the sender.
-
-
-
-
- Sends an e-mail message to an SMTP server for delivery. These methods block while the message is being transmitted.
-
-
- System.Net.Mail.MailMessage
- MailMessage
- A MailMessage that contains the message to send.
-
-
-
- Gets or sets the folder where applications save mail messages to be processed by the local SMTP server.
-
-
-
-
- The MessageFormatter delegate
-
-
-
-
- When true: Do not fallback to StringBuilder.Format for positional templates
-
-
-
-
- New formatter
-
-
- When true: Do not fallback to StringBuilder.Format for positional templates
-
-
-
-
- The MessageFormatter delegate
-
-
-
-
-
-
-
- Render a template to a string.
-
- The template.
- Culture.
- Parameters for the holes.
- The String Builder destination.
- Parameters for the holes.
-
-
-
- Detects the platform the NLog is running on.
-
-
-
-
- Gets a value indicating whether current runtime supports use of mutex
-
-
-
-
- Will creating a mutex succeed runtime?
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
- Disabled Error CS0618 'SmtpClient' is obsolete: 'SmtpClient and its network of types are poorly designed,
- we strongly recommend you use https://github.com/jstedfast/MailKit and https://github.com/jstedfast/MimeKit instead'
-
-
-
-
- Retrieve network interfaces
-
-
-
-
- Retrieve network interfaces
-
-
-
-
- Network sender which uses HTTP or HTTPS POST.
-
-
-
-
- Initializes a new instance of the class.
-
- The network URL.
-
-
-
- Creates instances of objects for given URLs.
-
-
-
-
- Creates a new instance of the network sender based on a network URL.
-
- URL that determines the network sender to be created.
- The maximum queue size.
- The overflow action when reaching maximum queue size.
- The maximum message size.
- SSL protocols for TCP
- KeepAliveTime for TCP
-
- A newly created network sender.
-
-
-
-
- Interface for mocking socket calls.
-
-
-
-
- A base class for all network senders. Supports one-way sending of messages
- over various protocols.
-
-
-
-
- Initializes a new instance of the class.
-
- The network URL.
-
-
-
- Gets the address of the network endpoint.
-
-
-
-
- Gets the last send time.
-
-
-
-
- Initializes this network sender.
-
-
-
-
- Closes the sender and releases any unmanaged resources.
-
- The continuation.
-
-
-
- Flushes any pending messages and invokes the on completion.
-
- The continuation.
-
-
-
- Send the given text over the specified protocol.
-
- Bytes to be sent.
- Offset in buffer.
- Number of bytes to send.
- The asynchronous continuation.
-
-
-
- Closes the sender and releases any unmanaged resources.
-
-
-
-
- Initializes resources for the protocol specific implementation.
-
-
-
-
- Closes resources for the protocol specific implementation.
-
- The continuation.
-
-
-
- Performs the flush and invokes the on completion.
-
- The continuation.
-
-
-
- Sends the payload using the protocol specific implementation.
-
- The bytes to be sent.
- Offset in buffer.
- Number of bytes to send.
- The async continuation to be invoked after the buffer has been sent.
-
-
-
- Parses the URI into an IP address.
-
- The URI to parse.
- The address family.
- Parsed endpoint.
-
-
-
- Default implementation of .
-
-
-
-
-
-
-
- A base class for network senders that can block or send out-of-order
-
-
-
-
- Initializes a new instance of the class.
-
- URL. Must start with tcp://.
-
-
-
- Socket proxy for mocking Socket code.
-
-
-
-
- Initializes a new instance of the class.
-
- The address family.
- Type of the socket.
- Type of the protocol.
-
-
-
- Gets underlying socket instance.
-
-
-
-
- Closes the wrapped socket.
-
-
-
-
- Invokes ConnectAsync method on the wrapped socket.
-
- The instance containing the event data.
- Result of original method.
-
-
-
- Invokes SendAsync method on the wrapped socket.
-
- The instance containing the event data.
- Result of original method.
-
-
-
- Invokes SendToAsync method on the wrapped socket.
-
- The instance containing the event data.
- Result of original method.
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Sends messages over a TCP network connection.
-
-
-
-
- Initializes a new instance of the class.
-
- URL. Must start with tcp://.
- The address family.
-
-
-
- Creates the socket with given parameters.
-
- The host address.
- The address family.
- Type of the socket.
- Type of the protocol.
- Instance of which represents the socket.
-
-
-
- Facilitates mocking of class.
-
-
-
-
- Raises the Completed event.
-
-
-
-
- Sends messages over the network as UDP datagrams.
-
-
-
-
- Initializes a new instance of the class.
-
- URL. Must start with udp://.
- The address family.
-
-
-
- Creates the socket.
-
- The IP address.
- Implementation of to use.
-
-
-
- Allocates new builder and appends to the provided target builder on dispose
-
-
-
-
- Access the new builder allocated
-
-
-
-
- Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user)
-
-
-
-
- Controls a single allocated char[]-buffer for reuse (only one active user)
-
-
-
-
- Controls a single allocated StringBuilder for reuse (only one active user)
-
-
-
-
- Controls a single allocated object for reuse (only one active user)
-
-
-
-
- Creates handle to the reusable char[]-buffer for active usage
-
- Handle to the reusable item, that can release it again
-
-
-
- Access the acquired reusable object
-
-
-
-
- Controls a single allocated MemoryStream for reuse (only one active user)
-
-
-
-
- Constructor
-
- Max number of items
- Initial StringBuilder Size
- Max StringBuilder Size
-
-
-
- Takes StringBuilder from pool
-
- Allow return to pool
-
-
-
- Releases StringBuilder back to pool at its right place
-
-
-
-
- Keeps track of acquired pool item
-
-
-
-
- Releases pool item back into pool
-
-
-
-
- Detects the platform the NLog is running on.
-
-
-
-
- Gets the current runtime OS.
-
-
-
-
- Gets a value indicating whether current OS is Win32-based (desktop or mobile).
-
-
-
-
- Gets a value indicating whether current OS is Unix-based.
-
-
-
-
- Gets a value indicating whether current runtime is Mono-based
-
-
-
-
- Scans (breadth-first) the object graph following all the edges whose are
- instances have attached and returns
- all objects implementing a specified interfaces.
-
-
-
-
- Finds the objects which have attached which are reachable
- from any of the given root objects when traversing the object graph over public properties.
-
- Type of the objects to return.
- Configuration Reflection Helper
- Also search the properties of the wanted objects.
- The root objects.
- Ordered list of objects implementing T.
-
-
-
- Object Path to check
-
-
-
-
- Converts object into a List of property-names and -values using reflection
-
-
-
-
- Try get value from , using , and set into
-
-
-
-
- Scans properties for name (Skips string-compare and value-lookup until finding match)
-
-
-
-
- Scans properties for name (Skips property value lookup until finding match)
-
-
-
-
- Scans properties for name
-
-
-
-
- Binder for retrieving value of
-
-
-
-
-
-
-
- Reflection helpers for accessing properties.
-
-
-
-
- Get property info
-
- Configuration Reflection Helper
- object which could have property
- property name on
- result when success.
- success.
-
-
-
- Try parse of string to (Generic) list, comma separated.
-
-
- If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape
-
-
-
-
- Attempt to reuse the HashSet.Comparer from the original HashSet-object (Ex. StringComparer.OrdinalIgnoreCase)
-
-
-
-
- Reflection helpers.
-
-
-
-
- Is this a static class?
-
-
-
- This is a work around, as Type doesn't have this property.
- From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static
-
-
-
-
- Optimized delegate for calling MethodInfo
-
- Object instance, use null for static methods.
- Complete list of parameters that matches the method, including optional/default parameters.
-
-
-
- Optimized delegate for calling a constructor
-
- Complete list of parameters that matches the constructor, including optional/default parameters. Could be null for no parameters.
-
-
-
- Creates an optimized delegate for calling the MethodInfo using Expression-Trees
-
- Method to optimize
- Optimized delegate for invoking the MethodInfo
-
-
-
- Creates an optimized delegate for calling the constructors using Expression-Trees
-
- Constructor to optimize
- Optimized delegate for invoking the constructor
-
-
-
- Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used.
-
-
-
-
- Gets or sets a value indicating whether to match whole words only.
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing texts.
-
-
-
-
- Supported operating systems.
-
-
- If you add anything here, make sure to add the appropriate detection
- code to
-
-
-
-
- Unknown operating system.
-
-
-
-
- Unix/Linux operating systems.
-
-
-
-
- Desktop versions of Windows (95,98,ME).
-
-
-
-
- Windows NT, 2000, 2003 and future versions based on NT technology.
-
-
-
-
- Macintosh Mac OSX
-
-
-
-
- Immutable state that combines ScopeContext MDLC + NDLC for
-
-
-
-
- Immutable state that combines ScopeContext MDLC + NDLC for
-
-
-
-
- Immutable state for ScopeContext Mapped Context (MDLC)
-
-
-
-
- Immutable state for ScopeContext Nested State (NDLC)
-
-
-
-
- Immutable state for ScopeContext Single Property (MDLC)
-
-
-
-
- Immutable state for ScopeContext Multiple Properties (MDLC)
-
-
-
-
- Immutable state for ScopeContext handling legacy MDLC + NDLC operations
-
-
-
-
-
-
-
-
-
-
-
-
-
- Collection of targets that should be written to
-
-
-
-
- Implements a single-call guard around given continuation function.
-
-
-
-
- Initializes a new instance of the class.
-
- The asynchronous continuation.
-
-
-
- Continuation function which implements the single-call guard.
-
- The exception.
-
Utilities for dealing with values.
-
-
- Gets the fully qualified name of the class invoking the calling method, including the
- namespace but not the assembly.
-
-
- Gets the fully qualified name of the class invoking the calling method, including the
+ Gets the fully qualified name of the class invoking the calling method, including the
namespace but not the assembly.
StackFrame from the calling method
@@ -10519,76 +8276,6 @@
Valid class name, or empty string if assembly was internal
-
-
- Stream helpers
-
-
-
-
- Copy to output stream and skip BOM if encoding is UTF8
-
-
-
-
-
-
-
- Copy stream input to output. Skip the first bytes
-
- stream to read from
- stream to write to
- .net35 doesn't have a .copyto
-
-
-
- Copy stream input to output. Skip the first bytes
-
- stream to read from
- stream to write to
- first bytes to skip (optional)
-
-
-
- Simple character tokenizer.
-
-
-
-
- Initializes a new instance of the class.
-
- The text to be tokenized.
-
-
-
- Current position in
-
-
-
-
- Full text to be parsed
-
-
-
-
- Check current char while not changing the position.
-
-
-
-
-
- Read the current char and change position
-
-
-
-
-
- Get the substring of the
-
-
-
-
-
Helpers for , which is used in e.g. layout renderers.
@@ -10612,15 +8299,15 @@
value to append
-
- Appends uint without using culture, and most importantly without garbage
+
+ Appends uint without using culture, and most importantly without garbage
- Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/
-
-
- value to append
+ Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/
+
+
+ value to append
-
+
Convert DateTime into UTC and format to yyyy-MM-ddTHH:mm:ss.fffffffZ - ISO 8601 Compliant Date Format (Round-Trip-Time)
@@ -10699,6 +8386,35 @@
Append a numeric type (byte, int, double, decimal) as string
+
+
+ Constructor
+
+ Max number of items
+ Initial StringBuilder Size
+ Max StringBuilder Size
+
+
+
+ Takes StringBuilder from pool
+
+ Allow return to pool
+
+
+
+ Releases StringBuilder back to pool at its right place
+
+
+
+
+ Keeps track of acquired pool item
+
+
+
+
+ Releases pool item back into pool
+
+
Helpers for .
@@ -10711,14 +8427,10 @@
-
+
Replace string with
-
-
-
-
The same reference of nothing has been replaced.
@@ -10892,24 +8604,6 @@
-
-
- Prevents the Xamarin linker from linking the target.
-
-
- By applying this attribute all of the members of the target will be kept as if they had been referenced by the code.
-
-
-
-
- Ensures that all members of this type are preserved
-
-
-
-
- Flags the method as a method to preserve during linking if the container class is pulled in.
-
-
Helper class for XML
@@ -10949,15 +8643,10 @@
Object value
Object value converted to string
-
+
- XML elements must follow these naming rules:
- - Element names are case-sensitive
- - Element names must start with a letter or underscore
- - Element names can contain letters, digits, hyphens, underscores, and periods
- - Element names cannot contain spaces
+ Converts DateTime to ISO 8601 format in UTC timezone.
-
@@ -10968,30 +8657,54 @@
Check and remove unusual unicode characters from the result string.
Object value converted to string
-
+
- Safe version of WriteAttributeString
+ XML elements must follow these naming rules:
+ - Element names are case-sensitive
+ - Element names must start with a letter or underscore
+ - Element names can contain letters, digits, hyphens, underscores, and periods
+ - Element names cannot contain spaces
-
-
-
+
-
+
- Safe version of WriteElementSafeString
+ A minimal XML reader, because .NET System.Xml.XmlReader doesn't work with AOT
-
-
-
-
-
-
+
- Safe version of WriteCData
+ Reads a start element.
-
-
+ True if start element was found.
+ Something unexpected has failed.
+
+
+
+ Skips an end element.
+
+ The name of the element to skip.
+ True if an end element was skipped; otherwise, false.
+ Something unexpected has failed.
+
+
+
+ Reads content of an element.
+
+ The content of the element.
+ Something unexpected has failed.
+
+
+ Something unexpected has failed.
+
+
+
+ Consumer of this method should handle safe position.
+
+ Something unexpected has failed.
+
+
+ Something unexpected has failed.
@@ -11006,6 +8719,171 @@
Null if unknown object, or object cannot be handled
+
+
+ Obsolete and replaced by with NLog v5.3.
+
+ Provides an interface to execute System.Actions without surfacing any exceptions raised for that action.
+
+
+
+
+ Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
+
+ Action to execute.
+
+
+
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Result returned by the provided function or the default value of type in case of exception.
+
+
+
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Fallback value to return in case of exception.
+ Result returned by the provided function or fallback value in case of exception.
+
+
+
+ Logs an exception is logged at Error level if the provided task does not run to completion.
+
+ The task for which to log an error if it does not run to completion.
+ This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations.
+
+
+
+ Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion.
+
+ The task for which to log an error if it does not run to completion.
+ A task that completes in the state when completes.
+
+
+
+ Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
+
+ Async action to execute.
+ A task that completes in the state when completes.
+
+
+
+ Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
+
+ Return type of the provided function.
+ Async function to run.
+ A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type .
+
+
+
+ Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
+
+ Return type of the provided function.
+ Async function to run.
+ Fallback value to return if the task does not end in the state.
+ A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value.
+
+
+
+ Render a message template property to a string
+
+
+
+
+ Serialization of an object, e.g. JSON and append to
+
+ The object to serialize to string.
+ Parameter Format
+ Parameter CaptureType
+ An object that supplies culture-specific formatting information.
+ Output destination.
+ Serialize succeeded (true/false)
+
+
+
+ Log event context data.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets string that will be used to separate key/value pairs.
+
+
+
+
+
+ Gets or sets whether empty property-values should be included in the output. Default = false
+
+ Empty value is either null or empty string
+
+
+
+
+ Gets or sets whether to include the contents of the properties-dictionary.
+
+
+
+
+
+ Gets or sets the keys to exclude from the output. If omitted, none are excluded.
+
+
+
+
+
+ Disables to capture ScopeContext-properties from active thread context
+
+
+
+
+ Gets or sets how key/value pairs will be formatted.
+
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+
+
+
+
+
+
+
+
+
+
+ Designates a property of the class as an ambient property.
+
+
+ non-ambient: ${uppercase:${level}}
+ ambient : ${level:uppercase}
+
+
+
+
+ Initializes a new instance of the class.
+
+ Ambient property name.
+
Used to render the application domain name.
@@ -11063,7 +8941,7 @@
Obsolete and replaced by with NLog v4.6.
-
+
The AppSetting item-name
@@ -11129,9 +9007,6 @@
-
-
-
@@ -11160,6 +9035,321 @@
Gets the product version, extracted from the additional version information.
+
+
+ The current application domain's base directory.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Use base dir of current process. Alternative one can just use ${processdir}
+
+
+
+
+
+ Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish)
+
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the name of the file to be Path.Combine()'d with the base directory.
+
+
+
+
+
+ Gets or sets the name of the directory to be Path.Combine()'d with the base directory.
+
+
+
+
+
+
+
+
+
+
+
+ The call site source file name. Full callsite
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating whether to include source file path.
+
+
+
+
+
+ Gets or sets the number of frames to skip.
+
+
+
+
+
+ Logger should capture StackTrace, if it was not provided manually
+
+
+
+
+
+
+
+
+
+
+
+ The call site (class name, method name and source information).
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating whether to render the class name.
+
+
+
+
+
+ Gets or sets a value indicating whether to render the include the namespace with .
+
+
+
+
+
+ Gets or sets a value indicating whether to render the method name.
+
+
+
+
+
+ Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate.
+
+
+
+
+
+ Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation
+ (everything after an await-statement inside of an async method).
+
+
+
+
+
+ Gets or sets the number of frames to skip.
+
+
+
+
+
+ Gets or sets a value indicating whether to render the source file name and line number.
+
+
+
+
+
+ Gets or sets a value indicating whether to include source file path.
+
+
+
+
+
+ Logger should capture StackTrace, if it was not provided manually
+
+
+
+
+
+
+
+
+
+
+
+ The call site source line number. Full callsite
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the number of frames to skip.
+
+
+
+
+
+ Logger should capture StackTrace, if it was not provided manually
+
+
+
+
+
+
+
+
+
+
+
+ A counter value (increases on each layout rendering).
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the initial value of the counter.
+
+
+
+
+
+ Gets or sets the value for incrementing the counter for every layout rendering.
+
+
+
+
+
+ Gets or sets the name of the sequence. Different named sequences can have individual values.
+
+
+
+
+
+
+
+
+ The current working directory of the application.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the file to be Path.Combine()'d with the current directory.
+
+
+
+
+
+ Gets or sets the name of the directory to be Path.Combine()'d with the current directory.
+
+
+
+
+
+
+
+
+ Current date and time.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+
+
+
+
+ Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format).
+
+
+
+
+
+ Gets or sets a value indicating whether to output UTC time instead of local time.
+
+
+
+
+
+
+
+
+ DB null for a database
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+
+
+
+ The OS dependent directory separator
+
+
+
+
+
+
+
+ The environment variable.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the environment variable.
+
+
+
+
+
+ Gets or sets the default value to be used when the environment variable is not set.
+
+
+
+
+
+
+
+
+
Thread identity information (username).
@@ -11196,6 +9386,315 @@
+
+
+ Log event context data. See .
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the item.
+
+
+
+
+
+ Format string for conversion from object to string.
+
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+
+
+
+
+ Gets or sets the object-property-navigation-path for lookup of nested property
+
+
+
+
+
+ Gets or sets whether to perform case-sensitive property-name lookup
+
+
+
+
+
+
+
+
+
+
+
+ Render information of
+ for the exception passed to the logger call
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the key to search the exception Data for
+
+
+
+
+
+ Gets or sets whether to render innermost Exception from
+
+
+
+
+
+ Format string for conversion from object to string.
+
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+
+
+
+
+
+
+
+
+
+
+ Exception information provided through
+ a call to one of the Logger.*Exception() methods.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the format of the output. Must be a comma-separated list of exception
+ properties: Message, Type, ShortType, ToString, Method, StackTrace.
+ This parameter value is case-insensitive.
+
+
+
+
+
+ Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception
+ properties: Message, Type, ShortType, ToString, Method, StackTrace.
+ This parameter value is case-insensitive.
+
+
+
+
+
+ Gets or sets the separator used to concatenate parts specified in the Format.
+
+
+
+
+
+ Gets or sets the separator used to concatenate exception data specified in the Format.
+
+
+
+
+
+ Gets or sets the maximum number of inner exceptions to include in the output.
+ By default inner exceptions are not enabled for compatibility with NLog 1.0.
+
+
+
+
+
+ Gets or sets the separator between inner exceptions.
+
+
+
+
+
+ Gets or sets whether to render innermost Exception from
+
+
+
+
+
+ Gets or sets whether to collapse exception tree using
+
+
+
+
+
+ Gets the formats of the output of inner exceptions to be rendered in target.
+
+
+
+
+
+
+
+
+
+
+
+ Appends the Message of an Exception to the specified .
+
+ The to append the rendered data to.
+ The exception containing the Message to append.
+
+
+
+ Appends the method name from Exception's stack trace to the specified .
+
+ The to append the rendered data to.
+ The Exception whose method name should be appended.
+
+
+
+ Appends the stack trace from an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose stack trace should be appended.
+
+
+
+ Appends the result of calling ToString() on an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose call to ToString() should be appended.
+
+
+
+ Appends the type of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose type should be appended.
+
+
+
+ Appends the short type of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose short type should be appended.
+
+
+
+ Appends the application source of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose source should be appended.
+
+
+
+ Appends the HResult of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose HResult should be appended.
+
+
+
+ Appends the contents of an Exception's Data property to the specified .
+
+ The to append the rendered data to.
+ The Exception whose Data property elements should be appended.
+
+
+
+ Appends all the serialized properties of an Exception into the specified .
+
+ The to append the rendered data to.
+ The Exception whose properties should be appended.
+
+
+
+ Appends all the additional properties of an Exception like Data key-value-pairs
+
+ The to append the rendered data to.
+ The Exception whose properties should be appended.
+
+
+
+ Split the string and then compile into list of Rendering formats.
+
+
+
+
+ A layout renderer which could have different behavior per instance by using a .
+
+
+
+
+ Initializes a new instance of the class.
+
+ Name without ${}.
+
+
+
+ Initializes a new instance of the class.
+
+ Name without ${}.
+ Method that renders the layout.
+
+
+
+ Name used in config without ${}. E.g. "test" could be used as "${test}".
+
+
+
+
+ Method that renders the layout.
+
+
+
+
+ Format string for conversion from object to string.
+
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+
+
+
+
+
+
+
+ Render the value for this log event
+
+ The logging event.
+ The value.
+
+
+
+ A layout renderer which could have different behavior per instance by using a .
+
+
+
+
+ Initializes a new instance of the class.
+
+ Name without ${}.
+ Method that renders the layout.
+
The information about the garbage collector.
@@ -11249,6 +9748,565 @@
Maximum generation number supported by GC.
+
+
+ Render a Global Diagnostics Context item. See
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the item.
+
+
+
+
+
+ Format string for conversion from object to string.
+
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+
+
+
+
+
+
+
+
+
+
+ Globally-unique identifier (GUID).
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the GUID format as accepted by Guid.ToString() method.
+
+
+
+
+
+ Generate the Guid from the NLog LogEvent (Will be the same for all targets)
+
+
+
+
+
+
+
+
+ The host name that the process is running on.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+
+
+
+ Resolves the hostname from environment-variables with fallback to
+
+
+
+
+ Tries the lookup value.
+
+ The lookup function.
+ Type of the lookup.
+
+
+
+
+
+
+
+ Thread identity information (name and authentication information).
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the separator to be used when concatenating
+ parts of identity information.
+
+
+
+
+
+ Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.Name.
+
+
+
+
+
+ Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.AuthenticationType.
+
+
+
+
+
+ Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.IsAuthenticated.
+
+
+
+
+
+
+
+
+ Lookup parameter value from
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the parameter.
+
+
+
+
+
+
+
+
+ Render environmental information related to logging events.
+
+
+
+
+ Gets the logging configuration this target is part of.
+
+
+
+
+ Value formatter
+
+
+
+
+
+
+
+ Renders the value of layout renderer in the context of the specified log event.
+
+ The log event.
+ String representation of a layout renderer.
+
+
+
+
+
+
+
+
+
+ Initializes this instance.
+
+ The configuration.
+
+
+
+ Closes this instance.
+
+
+
+
+ Renders the value of layout renderer in the context of the specified log event.
+
+ The log event.
+ The layout render output is appended to builder
+
+
+
+ Renders the value of layout renderer in the context of the specified log event into .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Initializes the layout renderer.
+
+
+
+
+ Closes the layout renderer.
+
+
+
+
+ Get the for rendering the messages to a
+
+ LogEvent with culture
+ Culture in on Layout level
+
+
+
+
+ Get the for rendering the messages to a
+
+ LogEvent with culture
+ Culture in on Layout level
+
+
+ is preferred
+
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Register a custom layout renderer.
+
+ Short-cut for registering to default
+ Type of the layout renderer.
+ The layout-renderer type-alias for use in NLog configuration - without '${ }'
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Register a custom layout renderer.
+
+ Short-cut for registering to default
+ Type of the layout renderer.
+ The layout-renderer type-alias for use in NLog configuration - without '${ }'
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Register a custom layout renderer with a callback function . The callback receives the logEvent.
+
+ The layout-renderer type-alias for use in NLog configuration - without '${ }'
+ Callback that returns the value for the layout renderer.
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration.
+
+ The layout-renderer type-alias for use in NLog configuration - without '${ }'
+ Callback that returns the value for the layout renderer.
+
+
+
+ Obsolete and replaced by with NLog v5.2.
+
+ Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration.
+
+ Renderer with callback func
+
+
+
+ Resolves the interface service-type from the service-repository
+
+
+
+
+ Marks class as layout-renderer and attaches a type-alias name for use in NLog configuration.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The layout-renderer type-alias for use in NLog configuration - without '${ }'
+
+
+
+ Format of the ${level} layout renderer output.
+
+
+
+
+ Render the LogLevel standard name.
+
+
+
+
+ Render the first character of the level.
+
+
+
+
+ Render the first character of the level.
+
+
+
+
+ Render the ordinal (aka number) for the level.
+
+
+
+
+ Render the LogLevel full name, expanding Warn / Info abbreviations
+
+
+
+
+ Render the LogLevel as 3 letter abbreviations (Trc, Dbg, Inf, Wrn, Err, Ftl)
+
+
+
+
+ The log level.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating the output format of the level.
+
+
+
+
+
+ Gets or sets a value indicating whether upper case conversion should be applied.
+
+ A value of true if upper case conversion should be applied otherwise, false.
+
+
+
+
+
+
+
+ A string literal.
+
+
+ This is used to escape '${' sequence
+ as ;${literal:text=${}'
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The literal text value.
+ This is used by the layout compiler.
+
+
+
+ Gets or sets the literal text.
+
+
+
+
+
+
+
+
+ A string literal with a fixed raw value
+
+
+
+
+ Initializes a new instance of the class.
+
+ The literal text value.
+
+ Fixed raw value
+ This is used by the layout compiler.
+
+
+
+ The logger name.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki///
+
+
+
+ Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character).
+
+
+
+
+
+ Gets or sets a value indicating whether to render prefix of logger name (the part before the trailing dot character).
+
+
+
+
+
+
+
+
+ The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating whether to output UTC time instead of local time.
+
+
+
+
+
+
+
+
+ The machine name that the process is running on.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+
+
+
+
+
+
+ The formatted log message.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets a value indicating whether to log exception along with message.
+
+
+
+
+
+ Gets or sets the string that separates message from the exception.
+
+
+
+
+
+ Gets or sets whether it should render the raw message without formatting parameters
+
+
+
+
+
+
+
+
+ A newline literal.
+
+
+
+
+
+
+
+ The directory where NLog.dll is located.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the file to be Path.Combine()'d with the directory name.
+
+
+
+
+
+ Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
+
+
+
+
+
+
+
+
+
+
+
+ The executable directory from the FileName,
+ using the current process
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the name of the file to be Path.Combine()'d with the process directory.
+
+
+
+
+
+ Gets or sets the name of the directory to be Path.Combine()'d with the process directory.
+
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+
+
+
+
The identifier of the current process.
@@ -11294,7 +10352,7 @@
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
@@ -11535,524 +10593,34 @@
-
+
- Designates a property of the class as an ambient property.
-
-
- non-ambient: ${uppercase:${level}}
- ambient : ${level:uppercase}
-
-
-
-
- Initializes a new instance of the class.
-
- Ambient property name.
-
-
-
- Marks class as layout-renderer and attaches a type-alias name for use in NLog configuration.
-
-
-
-
- Initializes a new instance of the class.
-
- The layout-renderer type-alias for use in NLog configuration - without '${ }'
-
-
-
- The call site source file name. Full callsite
+ The process time in format HH:mm:ss.mmm.
- See NLog Wiki
+ See NLog Wiki
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
-
+
- Gets or sets a value indicating whether to include source file path.
-
-
-
-
-
- Gets or sets the number of frames to skip.
-
-
-
-
-
- Logger should capture StackTrace, if it was not provided manually
-
-
-
-
-
-
-
-
-
-
-
- The call site (class name, method name and source information).
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating whether to render the class name.
-
-
-
-
-
- Gets or sets a value indicating whether to render the include the namespace with .
-
-
-
-
-
- Gets or sets a value indicating whether to render the method name.
-
-
-
-
-
- Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate.
-
-
-
-
-
- Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation
- (everything after an await-statement inside of an async method).
-
-
-
-
-
- Gets or sets the number of frames to skip.
-
-
-
-
-
- Gets or sets a value indicating whether to render the source file name and line number.
-
-
-
-
-
- Gets or sets a value indicating whether to include source file path.
-
-
-
-
-
- Logger should capture StackTrace, if it was not provided manually
-
-
-
-
-
-
-
-
-
-
-
- The call site source line number. Full callsite
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the number of frames to skip.
-
-
-
-
-
- Logger should capture StackTrace, if it was not provided manually
-
-
-
-
-
-
-
-
-
-
-
- Format of the ${stacktrace} layout renderer output.
-
-
-
-
- Raw format (multiline - as returned by StackFrame.ToString() method).
-
-
-
-
- Flat format (class and method names displayed in a single line).
-
-
-
-
- Detailed flat format (method signatures displayed in a single line).
-
-
-
-
- Stack trace renderer.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the output format of the stack trace.
-
-
-
-
-
- Gets or sets the number of top stack frames to be rendered.
-
-
-
-
-
- Gets or sets the number of frames to skip.
-
-
-
-
-
- Gets or sets the stack frame separator string.
-
-
-
-
-
- Logger should capture StackTrace, if it was not provided manually
-
-
-
-
-
- Gets or sets whether to render StackFrames in reverse order
-
-
-
-
-
-
-
-
-
-
-
- Log event context data.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets string that will be used to separate key/value pairs.
-
-
-
-
-
- Get or set if empty values should be included.
-
- A value is empty when null or in case of a string, null or empty string.
-
-
-
-
-
- Gets or sets whether to include the contents of the properties-dictionary.
-
-
-
-
-
- Gets or sets the keys to exclude from the output. If omitted, none are excluded.
-
-
-
-
-
- Enables capture of ScopeContext-properties from active thread context
-
-
-
-
- Gets or sets how key/value pairs will be formatted.
-
-
-
-
-
- Gets or sets the culture used for rendering.
+ Gets or sets a value indicating whether to output in culture invariant format
-
-
-
-
+
- Log event context data. See .
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
-
-
- Gets or sets the object-property-navigation-path for lookup of nested property
-
-
-
-
-
- Gets or sets whether to perform case-sensitive property-name lookup
-
-
-
+
-
+
- Render a Global Diagnostics Context item. See
+ Write timestamp to builder with format hh:mm:ss:fff
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
-
-
-
- Lookup parameter value from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the parameter.
-
-
-
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Render Mapped Diagnostics Logical (MDC) from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Render Mapped Diagnostics Logical Context (MDLC) from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Render Nested Diagnostic Context (NDC) from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the number of top stack frames to be rendered.
-
-
-
-
-
- Gets or sets the number of bottom stack frames to be rendered.
-
-
-
-
-
- Gets or sets the separator to be used for concatenating nested diagnostics context output.
-
-
-
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Render Nested Diagnostic Context (NDLC) from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the number of top stack frames to be rendered.
-
-
-
-
-
- Gets or sets the number of bottom stack frames to be rendered.
-
-
-
-
-
- Gets or sets the separator to be used for concatenating nested logical context output.
-
-
-
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Render Nested Diagnostic Context (NDLC) timings from
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets whether to only include the duration of the last scope created
-
-
-
-
-
- Gets or sets whether to just display the scope creation time, and not the duration
-
-
-
-
-
- Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format).
-
-
-
-
-
@@ -12107,10 +10675,13 @@
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
+
+
+
@@ -12137,10 +10708,13 @@
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
+
+
+
@@ -12165,183 +10739,43 @@
-
+
- Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format).
-
- When Format has not been specified, then it will render TimeSpan.TotalMilliseconds
+ Gets or sets whether to just display the scope creation time, and not the duration
+
+
+ Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format).
+
+ When Format has not been specified, then it will render TimeSpan.TotalMilliseconds
+
+
+
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
-
-
- A renderer that puts into log a System.Diagnostics trace correlation id.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
-
-
-
- A counter value (increases on each layout rendering).
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the initial value of the counter.
-
-
-
-
-
- Gets or sets the value to be added to the counter after each layout rendering.
-
-
-
-
-
- Gets or sets the name of the sequence. Different named sequences can have individual values.
-
-
-
-
-
-
-
-
- Globally-unique identifier (GUID).
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the GUID format as accepted by Guid.ToString() method.
-
-
-
-
-
- Generate the Guid from the NLog LogEvent (Will be the same for all targets)
-
-
-
-
-
-
-
- The sequence ID
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
+
+ The sequence ID
+
+ Marked obsolete with NLog 6.0, instead use ${counter}
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
-
-
- Current date and time.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
- Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format).
-
-
-
-
-
- Gets or sets a value indicating whether to output UTC time instead of local time.
-
-
-
-
-
-
-
-
- The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating whether to output UTC time instead of local time.
-
-
-
-
-
-
-
-
- The process time in format HH:mm:ss.mmm.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating whether to output in culture invariant format
-
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
-
-
-
- Write timestamp to builder with format hh:mm:ss:fff
-
-
The short date in a sortable format yyyy-MM-dd.
@@ -12360,200 +10794,6 @@
-
-
- The Ticks value of current date and time.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
-
-
-
- The time in a 24-hour, sortable format HH:mm:ss.mmmm.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating whether to output UTC time instead of local time.
-
-
-
-
-
- Gets or sets a value indicating whether to output in culture invariant format
-
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
-
-
-
- DB null for a database
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
-
-
-
- The current application domain's base directory.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- cached
-
-
-
-
- Use base dir of current process. Alternative one can just use ${processdir}
-
-
-
-
-
- Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish)
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the name of the file to be Path.Combine()'d with the base directory.
-
-
-
-
-
- Gets or sets the name of the directory to be Path.Combine()'d with the base directory.
-
-
-
-
-
-
-
-
- The current working directory of the application.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the file to be Path.Combine()'d with the current directory.
-
-
-
-
-
- Gets or sets the name of the directory to be Path.Combine()'d with the current directory.
-
-
-
-
-
-
-
-
- The directory where NLog.dll is located.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the file to be Path.Combine()'d with the directory name.
-
-
-
-
-
- Gets or sets the name of the directory to be Path.Combine()'d with the directory name.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The executable directory from the FileName,
- using the current process
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the file to be Path.Combine()'d with the process directory.
-
-
-
-
-
- Gets or sets the name of the directory to be Path.Combine()'d with the process directory.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
-
System special folder path from
@@ -12627,6 +10867,80 @@
Initializes a new instance of the class.
+
+
+ Format of the ${stacktrace} layout renderer output.
+
+
+
+
+ Raw format (multiline - as returned by StackFrame.ToString() method).
+
+
+
+
+ Flat format (class and method names displayed in a single line).
+
+
+
+
+ Detailed flat format (method signatures displayed in a single line).
+
+
+
+
+ Stack trace renderer.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the output format of the stack trace.
+
+
+
+
+
+ Gets or sets the number of top stack frames to be rendered.
+
+
+
+
+
+ Gets or sets the number of frames to skip.
+
+
+
+
+
+ Gets or sets the stack frame separator string.
+
+
+
+
+
+ Logger should capture StackTrace, if it was not provided manually
+
+
+
+
+
+ Gets or sets whether to render StackFrames in reverse order
+
+
+
+
+
+
+
+
+
+
+
+
A temporary directory.
@@ -12654,903 +10968,6 @@
-
-
- The OS dependent directory separator
-
-
-
-
-
-
-
- Render information of
- for the exception passed to the logger call
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the key to search the exception Data for
-
-
-
-
-
- Gets or sets whether to render innermost Exception from
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
-
-
-
- Exception information provided through
- a call to one of the Logger.*Exception() methods.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the format of the output. Must be a comma-separated list of exception
- properties: Message, Type, ShortType, ToString, Method, StackTrace.
- This parameter value is case-insensitive.
-
-
-
-
-
-
-
- Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception
- properties: Message, Type, ShortType, ToString, Method, StackTrace.
- This parameter value is case-insensitive.
-
-
-
-
-
- Gets or sets the separator used to concatenate parts specified in the Format.
-
-
-
-
-
- Gets or sets the separator used to concatenate exception data specified in the Format.
-
-
-
-
-
- Gets or sets the maximum number of inner exceptions to include in the output.
- By default inner exceptions are not enabled for compatibility with NLog 1.0.
-
-
-
-
-
- Gets or sets the separator between inner exceptions.
-
-
-
-
-
- Gets or sets whether to render innermost Exception from
-
-
-
-
-
- Gets or sets whether to collapse exception tree using
-
-
-
-
-
- Gets the formats of the output of inner exceptions to be rendered in target.
-
-
-
-
-
- Gets the formats of the output to be rendered in target.
-
-
-
-
-
-
-
-
- Appends the Message of an Exception to the specified .
-
- The to append the rendered data to.
- The exception containing the Message to append.
-
-
-
- Appends the method name from Exception's stack trace to the specified .
-
- The to append the rendered data to.
- The Exception whose method name should be appended.
-
-
-
- Appends the stack trace from an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose stack trace should be appended.
-
-
-
- Appends the result of calling ToString() on an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose call to ToString() should be appended.
-
-
-
- Appends the type of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose type should be appended.
-
-
-
- Appends the short type of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose short type should be appended.
-
-
-
- Appends the application source of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose source should be appended.
-
-
-
- Appends the HResult of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose HResult should be appended.
-
-
-
- Appends the contents of an Exception's Data property to the specified .
-
- The to append the rendered data to.
- The Exception whose Data property elements should be appended.
-
-
-
- Appends all the serialized properties of an Exception into the specified .
-
- The to append the rendered data to.
- The Exception whose properties should be appended.
-
-
-
- Appends all the additional properties of an Exception like Data key-value-pairs
-
- The to append the rendered data to.
- The Exception whose properties should be appended.
-
-
-
- Split the string and then compile into list of Rendering formats.
-
-
-
-
- Renders contents of the specified file.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the name of the file.
-
-
-
-
-
- Gets or sets the encoding used in the file.
-
- The encoding.
-
-
-
-
-
-
-
- A layout renderer which could have different behavior per instance by using a .
-
-
-
-
- Initializes a new instance of the class.
-
- Name without ${}.
-
-
-
- Initializes a new instance of the class.
-
- Name without ${}.
- Method that renders the layout.
-
-
-
- Name used in config without ${}. E.g. "test" could be used as "${test}".
-
-
-
-
- Method that renders the layout.
-
- This public property will be removed in NLog 5.
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
-
-
-
- Render the value for this log event
-
- The logging event.
- The value.
-
-
-
- A layout renderer which could have different behavior per instance by using a .
-
-
-
-
- Initializes a new instance of the class.
-
- Name without ${}.
- Method that renders the layout.
-
-
-
- Thread identity information (name and authentication information).
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the separator to be used when concatenating
- parts of identity information.
-
-
-
-
-
- Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.Name.
-
-
-
-
-
- Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.AuthenticationType.
-
-
-
-
-
- Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.IsAuthenticated.
-
-
-
-
-
-
-
-
- Render environmental information related to logging events.
-
-
-
-
- Gets the logging configuration this target is part of.
-
-
-
-
- Value formatter
-
-
-
-
-
-
-
- Renders the value of layout renderer in the context of the specified log event.
-
- The log event.
- String representation of a layout renderer.
-
-
-
-
-
-
-
-
-
- Initializes this instance.
-
- The configuration.
-
-
-
- Closes this instance.
-
-
-
-
- Renders the value of layout renderer in the context of the specified log event.
-
- The log event.
- The layout render output is appended to builder
-
-
-
- Renders the value of layout renderer in the context of the specified log event into .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Initializes the layout renderer.
-
-
-
-
- Closes the layout renderer.
-
-
-
-
- Get the for rendering the messages to a
-
- LogEvent with culture
- Culture in on Layout level
-
-
-
-
- Get the for rendering the messages to a
-
- LogEvent with culture
- Culture in on Layout level
-
-
- is preferred
-
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Register a custom layout renderer.
-
- Short-cut for registering to default
- Type of the layout renderer.
- The layout-renderer type-alias for use in NLog configuration - without '${ }'
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Register a custom layout renderer.
-
- Short-cut for registering to default
- Type of the layout renderer.
- The layout-renderer type-alias for use in NLog configuration - without '${ }'
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Register a custom layout renderer with a callback function . The callback receives the logEvent.
-
- The layout-renderer type-alias for use in NLog configuration - without '${ }'
- Callback that returns the value for the layout renderer.
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration.
-
- The layout-renderer type-alias for use in NLog configuration - without '${ }'
- Callback that returns the value for the layout renderer.
-
-
-
- Obsolete and replaced by with NLog v5.2.
-
- Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration.
-
- Renderer with callback func
-
-
-
- Resolves the interface service-type from the service-repository
-
-
-
-
- Format of the ${level} layout renderer output.
-
-
-
-
- Render the LogLevel standard name.
-
-
-
-
- Render the first character of the level.
-
-
-
-
- Render the first character of the level.
-
-
-
-
- Render the ordinal (aka number) for the level.
-
-
-
-
- Render the LogLevel full name, expanding Warn / Info abbreviations
-
-
-
-
- Render the LogLevel as 3 letter abbreviations (Trc, Dbg, Inf, Wrn, Err, Ftl)
-
-
-
-
- The log level.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating the output format of the level.
-
-
-
-
-
- Gets or sets a value indicating whether upper case conversion should be applied.
-
- A value of true if upper case conversion should be applied otherwise, false.
-
-
-
-
-
-
-
- A string literal.
-
-
- This is used to escape '${' sequence
- as ;${literal:text=${}'
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The literal text value.
- This is used by the layout compiler.
-
-
-
- Gets or sets the literal text.
-
-
-
-
-
-
-
-
- A string literal with a fixed raw value
-
-
-
-
- Initializes a new instance of the class.
-
- The literal text value.
-
- Fixed raw value
- This is used by the layout compiler.
-
-
-
- XML event description compatible with log4j, Chainsaw and NLogViewer.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
-
-
-
- Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema.
-
-
-
-
-
- Gets or sets a value indicating whether the XML should use spaces for indentation.
-
-
-
-
-
- Gets or sets the log4j:event logger-xml-attribute. Default: ${logger}
-
-
-
-
-
- Gets or sets the log4j:event message-xml-element. Default: ${message}
-
-
-
-
-
- Gets or sets the log4j:event log4japp-xml-element. By default it's the friendly name of the current AppDomain.
-
-
-
-
-
- Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network.
-
-
-
-
-
- Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the stack.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets whether to include the contents of the properties-dictionary.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets the stack separator for log4j:NDC in output from nested context.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets the stack separator for log4j:NDC in output from nested context.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets the stack separator for log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets whether the log4j:throwable xml-element should be written as CDATA
-
-
-
-
-
-
-
-
-
-
-
- The logger name.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki///
-
-
-
- Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character).
-
-
-
-
-
- Gets or sets a value indicating whether to render prefix of logger name (the part before the trailing dot character).
-
-
-
-
-
-
-
- The environment variable.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets the name of the environment variable.
-
-
-
-
-
- Gets or sets the default value to be used when the environment variable is not set.
-
-
-
-
-
-
-
-
- The host name that the process is running on.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
-
-
-
- Gets the host name and falls back to computer name if not available
-
-
-
-
- Tries the lookup value.
-
- The lookup function.
- Type of the lookup.
-
-
-
-
-
-
-
- The IP address from the network interface card (NIC) on the local machine
-
-
- Skips loopback-adapters and tunnel-interfaces. Skips devices without any MAC-address
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Get or set whether to prioritize IPv6 or IPv4 (default)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The machine name that the process is running on.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
-
-
-
-
-
-
- The formatted log message.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a value indicating whether to log exception along with message.
-
-
-
-
-
- Gets or sets the string that separates message from the exception.
-
-
-
-
-
- Gets or sets whether it should render the raw message without formatting parameters
-
-
-
-
-
-
-
-
- A newline literal.
-
-
-
-
-
The identifier of the current thread.
@@ -13575,6 +10992,48 @@
+
+
+ The Ticks value of current date and time.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+
+
+
+ The time in a 24-hour, sortable format HH:mm:ss.mmmm.
+
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets a value indicating whether to output UTC time instead of local time.
+
+
+
+
+
+ Gets or sets a value indicating whether to output in culture invariant format
+
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+
+
+
+
+
Render a NLog Configuration variable assigned from API or loaded from config-file
@@ -13615,15 +11074,15 @@
-
- Applies caching to another layout output.
-
-
- The value of the inner layout will be rendered only once and reused subsequently.
+
+ Applies caching to another layout output.
+
+
+ The value of the inner layout will be rendered only once and reused subsequently.
- See NLog Wiki
-
- Documentation on NLog Wiki
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -13720,7 +11179,7 @@
- Should forward slashes be escaped? If true, / will be converted to \/
+ Should forward slashes be escaped? If true, / will be converted to \/
If not set explicitly then the value of the parent will be used as default.
@@ -13744,7 +11203,7 @@
- Gets or sets the length in characters.
+ Gets or sets the length in characters.
@@ -13790,7 +11249,7 @@
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
@@ -13850,7 +11309,7 @@
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
@@ -13939,10 +11398,10 @@
- Gets or sets the number of characters to pad the output to.
+ Gets or sets the number of characters to pad the output to.
- Positive padding values cause left padding, negative values
+ Positive padding values cause left padding, negative values
cause right padding to the desired width.
@@ -13955,7 +11414,7 @@
- Gets or sets a value indicating whether to trim the
+ Gets or sets a value indicating whether to trim the
rendered text to the absolute value of the padding length.
@@ -13981,7 +11440,7 @@
Replaces a string in the output of another layout with another string.
- ${replace:searchFor=\\n+:replaceWith=-:regex=true:inner=${message}}
+ ${replace:searchFor=foo:replaceWith=bar:inner=${message}}
See NLog Wiki
@@ -13995,13 +11454,6 @@
The text search for.
-
-
- Gets or sets a value indicating whether regular expressions should be used.
-
- A value of true if regular expressions should be used otherwise, false.
-
-
Gets or sets the replacement string.
@@ -14009,14 +11461,6 @@
The replacement string.
-
-
- Gets or sets the group name to replace when using regular expressions.
- Leave null or empty to replace without using group name.
-
- The group name.
-
-
Gets or sets a value indicating whether to ignore case.
@@ -14026,38 +11470,17 @@
- Gets or sets a value indicating whether to search for whole words.
+ Gets or sets a value indicating whether to search for whole words
A value of true if whole words should be searched for; otherwise, false.
-
-
- Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used.
-
-
-
-
-
- This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass
-
-
-
-
- A match evaluator for Regular Expression based replacing
-
- Input string.
- Group name in the regex.
- Replace value.
- Match from regex.
- Groups replaced with .
-
Replaces newline characters from the result of another layout renderer with spaces.
@@ -14069,10 +11492,16 @@
- Gets or sets a value indicating the string that should be used for separating lines.
+ Gets or sets a value indicating the string that should be used to replace newlines.
+
+
+ Gets or sets a value indicating the string that should be used to replace newlines.
+
+
+
@@ -14090,7 +11519,7 @@
- Gets or sets the length in characters.
+ Gets or sets the length in characters.
@@ -14101,15 +11530,15 @@
-
- Decodes text "encrypted" with ROT-13.
-
-
- See https://en.wikipedia.org/wiki/ROT13.
+
+ Decodes text "encrypted" with ROT-13.
+
+
+ See https://en.wikipedia.org/wiki/ROT13.
- See NLog Wiki
-
- Documentation on NLog Wiki
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -14153,7 +11582,7 @@
- Gets or sets the start index.
+ Gets or sets the start index.
Index
@@ -14211,7 +11640,7 @@
${uppercase:${level}} //[DefaultParameter]
- ${uppercase:Inner=${level}}
+ ${uppercase:Inner=${level}}
${level:uppercase} // [AmbientProperty]
@@ -14237,7 +11666,7 @@
- Gets or sets the culture used for rendering.
+ Gets or sets the culture used for rendering.
@@ -14295,7 +11724,7 @@
- Gets or sets the layout to be rendered when original layout produced empty result.
+ Gets or sets the layout to be rendered when Inner-layout produces empty result.
@@ -14329,6 +11758,9 @@
+
+
+
@@ -14353,23 +11785,23 @@
-
- Base class for s which wrapping other s.
+
+ Base class for s which wrapping other s.
- This has the property (which is default) and can be used to wrap.
-
-
- ${uppercase:${level}} //[DefaultParameter]
- ${uppercase:Inner=${level}}
-
+ This has the property (which is default) and can be used to wrap.
+
+
+ ${uppercase:${level}} //[DefaultParameter]
+ ${uppercase:Inner=${level}}
+
-
- Gets or sets the wrapped layout.
+
+ Gets or sets the wrapped layout.
- [DefaultParameter] so Inner: is not required if it's the first
-
-
+ [DefaultParameter] so Inner: is not required if it's the first
+
+
@@ -14408,11 +11840,11 @@
Contents of inner layout.
-
- Base class for s which wrapping other s.
+
+ Base class for s which wrapping other s.
- This expects the transformation to work on a
-
+ This expects the transformation to work on a
+
@@ -14450,11 +11882,16 @@
- Gets or sets whether output should be encoded with Xml-string escaping.
+ Gets or sets whether output should be encoded with XML-string escaping.
Ensures always valid XML, but gives a performance hit
+
+
+ Gets or sets whether output should be wrapped using CDATA section instead of XML-string escaping
+
+
Gets or sets a value indicating whether to transform newlines (\r\n) into (
)
@@ -14506,6 +11943,10 @@
A column in the CSV.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -14527,7 +11968,7 @@
- Gets or sets the layout of the column.
+ Gets or sets the layout used for rendering the column value.
@@ -14712,7 +12153,7 @@
- Gets or sets the option to suppress the extra spaces in the output json
+ Gets or sets the option to suppress the extra spaces in the output json. Default: true
@@ -14741,6 +12182,10 @@
JSON attribute.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -14770,7 +12215,7 @@
- Gets or sets the layout that will be rendered as the attribute's value.
+ Gets or sets the layout used for rendering the attribute value.
@@ -14809,8 +12254,9 @@
- Gets or sets whether an attribute with empty value should be included in the output
+ Gets or sets whether empty attribute value should be included in the output. Default = false
+ Empty value is either null or empty string
@@ -14835,7 +12281,7 @@
- Gets or sets the option to suppress the extra spaces in the output json
+ Gets or sets the option to suppress the extra spaces in the output json. Default: true
@@ -14870,28 +12316,28 @@
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets the option to include all properties from the log event (as JSON)
-
-
+ Gets or sets the option to include all properties from the log event (as JSON)
+
+
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
+ Gets or sets a value indicating whether to include contents of the dictionary.
+
+
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
+ Gets or sets a value indicating whether to include contents of the dictionary.
+
+
@@ -14913,7 +12359,7 @@
- Should forward slashes be escaped? If true, / will be converted to \/
+ Should forward slashes be escaped? If true, / will be converted to \/
If not set explicitly then the value of the parent will be used as default.
@@ -14940,21 +12386,26 @@
Abstract interface that layouts must implement.
+
+
+ Default Layout-value that renders string.Empty
+
+
Is this layout initialized? See
-
- Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread).
-
-
- Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are
- like that as well.
+
+ Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread).
+
+
+ Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are
+ like that as well.
- Thread-agnostic layouts only use contents of for its output.
-
+ Thread-agnostic layouts only use contents of for its output.
+
@@ -14968,21 +12419,21 @@
- Converts a given text to a .
+ Implicitly converts the specified string as LayoutRenderer-expression into a .
Text to be converted.
object represented by the text.
- Implicitly converts the specified string to a .
+ Parses the specified string as LayoutRenderer-expression into a .
The layout string.
Instance of .'
- Implicitly converts the specified string to a .
+ Parses the specified string as LayoutRenderer-expression into a .
The layout string.
The NLog factories to use when resolving layout renderers.
@@ -14990,33 +12441,36 @@
- Implicitly converts the specified string to a .
+ Parses the specified string as LayoutRenderer-expression into a .
The layout string.
Whether should be thrown on parse errors (false = replace unrecognized tokens with a space).
Instance of .
+
+
+ Create a containing literal value
+
+
Create a from a lambda method.
Method that renders the layout.
- Tell if method is safe for concurrent threading.
+ Whether method is ThreadAgnostic and doesn't depend on context of the logging application thread.
Instance of .
-
- Precalculates the layout for the specified log event and stores the result
- in per-log event cache.
+
+ Precalculates the layout for the specified log event and stores the result
+ in per-log event cache.
- Only if the layout doesn't have [ThreadAgnostic] and doesn't contain layouts with [ThreadAgnostic].
-
- The log event.
-
- Calling this method enables you to store the log event in a buffer
- and/or potentially evaluate it in another thread even though the
- layout may contain thread-dependent renderer.
-
+ Skips context capture when Layout have [ThreadAgnostic], and only contains layouts with [ThreadAgnostic].
+
+ The log event.
+
+ Override this method to make it conditional whether to capture Layout output-value for
+
@@ -15034,15 +12488,6 @@
The logging event.
Appends the formatted output to target
-
-
- Optimized version of that works best when
- override of is available.
-
- The logging event.
- Appends the string representing log event to target
- Should rendering result be cached on LogEventInfo
-
Valid default implementation of , when having implemented the optimized
@@ -15097,24 +12542,24 @@
The formatted output.
-
- Obsolete and replaced by with NLog v5.2.
+
+ Obsolete and replaced by with NLog v5.2.
- Register a custom Layout.
-
- Short-cut for registering to default
- Type of the Layout.
- Name of the Layout.
+ Register a custom Layout.
+
+ Short-cut for registering to default
+ Type of the Layout.
+ Name of the Layout.
-
- Obsolete and replaced by with NLog v5.2.
+
+ Obsolete and replaced by with NLog v5.2.
- Register a custom Layout.
-
- Short-cut for registering to default
- Type of the Layout.
- Name of the Layout.
+ Register a custom Layout.
+
+ Short-cut for registering to default
+ Type of the Layout.
+ Name of the Layout.
@@ -15208,140 +12653,13 @@
-
-
- A specialized layout that renders Log4j-compatible XML events.
-
-
-
- This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer.
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the instance that renders log events.
-
-
-
-
- Gets the collection of parameters. Each parameter contains a mapping
- between NLog layout and a named parameter.
-
-
-
-
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets whether to include the contents of the properties-dictionary.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
-
- Gets or sets a value indicating whether to include contents of the stack.
-
-
-
-
-
- Gets or sets the log4j:event logger-xml-attribute. Default: ${logger}
-
-
-
-
-
- Gets or sets the log4j:event message-xml-element. Default: ${message}
-
-
-
-
-
- Gets or sets the log4j:event log4japp-xml-element. By default it's the friendly name of the current AppDomain.
-
-
-
-
-
- Gets or sets whether the log4j:throwable xml-element should be written as CDATA
-
-
-
-
-
- Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network.
-
-
-
-
-
- Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network.
-
-
-
-
-
-
-
-
-
Represents a string with embedded placeholders that can render contextual information.
- This layout is not meant to be used explicitly. Instead you can just use a string containing layout
+ This layout is not meant to be used explicitly. Instead you can just use a string containing layout
renderers everywhere the layout is required.
See NLog Wiki
@@ -15376,12 +12694,12 @@
- Original text before compile to Layout renderes
+ Original text before parsing as Layout renderes.
- Gets or sets the layout text.
+ Gets or sets the layout text that could be parsed.
@@ -15417,7 +12735,7 @@
- Converts a text to a simple layout.
+ Implicitly converts the specified string as LayoutRenderer-expression into a .
Text to be converted.
A object.
@@ -15536,6 +12854,14 @@
+
+
+ Create a typed layout from a lambda method.
+
+ Method that renders the layout.
+ Whether method is ThreadAgnostic and doesn't depend on context of the logging application thread.
+ Instance of typed layout.
+
@@ -15572,11 +12898,6 @@
Implements the operator != using
-
-
- Provides access to untyped value without knowing underlying generic type
-
-
Typed Value that is easily configured from NLog.config file
@@ -15589,7 +12910,7 @@
- Gets or sets the layout that will render the result value
+ Gets or sets the layout used for rendering the value.
@@ -15634,6 +12955,10 @@
XML attribute.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -15663,7 +12988,7 @@
- Gets or sets the layout that will be rendered as the attribute's value.
+ Gets or sets the layout used for rendering the attribute value.
@@ -15687,14 +13012,19 @@
- Gets or sets whether an attribute with empty value should be included in the output
+ Gets or sets whether empty attribute value should be included in the output. Default = false
+ Empty value is either null or empty string
A XML Element
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -15723,20 +13053,29 @@
- Value inside the element
+ Gets or sets the layout used for rendering the XML-element InnerText.
- Gets or sets whether output should be encoded with Xml-string escaping, or be treated as valid xml-element-value
+ Gets or sets whether output should be encoded with XML-string escaping, or be treated as valid xml-element-value
+
+
+ Gets or sets whether output should be wrapped using CDATA section instead of XML-string escaping
+
+
A specialized layout that renders XML-formatted events.
+
+ See NLog Wiki
+
+ Documentation on NLog Wiki
@@ -15749,7 +13088,6 @@
Name of the XML element
- Upgrade to private protected when using C# 7.2
@@ -15761,7 +13099,7 @@
Auto indent and create new lines
-
+
@@ -15775,11 +13113,17 @@
+
+
+ Gets the collection of context properties that should be included with the other properties.
+
+
+
- Gets or sets whether a ElementValue with empty value should be included in the output
+ Gets or sets whether empty XML-element should be included in the output. Default = false
-
+
@@ -15794,45 +13138,45 @@
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
+ Gets or sets a value indicating whether to include contents of the dictionary.
+
+
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
+ Gets or sets a value indicating whether to include contents of the dictionary.
+
+
-
- Obsolete and replaced by with NLog v5.
+
+ Obsolete and replaced by with NLog v5.
- Gets or sets the option to include all properties from the log event (as XML)
-
-
+ Gets or sets the option to include all properties from the log event (as XML)
+
+
- List of property names to exclude when is true
+ List of property names to exclude when is true
-
+
-
- XML element name to use when rendering properties
-
-
- Support string-format where {0} means property-key-name
+
+ XML element name to use when rendering properties
+
+
+ Support string-format where {0} means property-key-name
- Skips closing element tag when having configured
-
-
+ Skips closing element tag when having configured
+
+
@@ -15843,12 +13187,12 @@
Will replace newlines in attribute-value with
-
+
XML attribute name to use when rendering property-value
-
+
When null (or empty) then value-attribute is not included and
value is formatted as XML-element-value
@@ -15857,19 +13201,19 @@
Will replace newlines in attribute-value with
-
+
XML element name to use for rendering IList-collections items
-
+
How far should the XML serializer follow object references before backing off
-
+
@@ -16093,7 +13437,7 @@
- The formatted log message.
+ The formatted log message.
@@ -16164,10 +13508,11 @@
Exception information.
-
- Gets the unique identifier of log event which is automatically generated
- and monotonously increasing.
-
+
+ Gets the sequence number for this LogEvent, which monotonously increasing for each LogEvent until int-overflow
+
+ Marked obsolete with NLog 6.0, instead use ${counter:sequence=global} or ${guid:GeneratedFromLogEvent=true}
+
@@ -16185,11 +13530,11 @@
-
- Obsolete and replaced by or ${callsite} with NLog v5.3.
+
+ Obsolete and replaced by or ${callsite} with NLog v5.3.
- Gets the stack frame of the method that did the logging.
-
+ Gets the stack frame of the method that did the logging.
+
@@ -16269,14 +13614,11 @@
Gets the dictionary of per-event context properties.
-
+
- Gets the dictionary of per-event context properties.
- Internal helper for the PropertiesDictionary type.
+ Gets the dictionary of per-event context properties.
- Create the event-properties dictionary, even if no initial template parameters
Provided when having parsed the message template and capture template parameters (else null)
-
@@ -16355,6 +13697,12 @@
String representation of the log event.
+
+
+ Sets the stack trace for the event info.
+
+ The stack trace.
+
Sets the stack trace for the event info.
@@ -16390,7 +13738,7 @@
Gets a custom logger with the full name of the current class (so namespace and class name) and type .
An instance of .
- This is a slow-running method.
+ This is a slow-running method.
Make sure you're not doing this in a loop.
@@ -16405,7 +13753,7 @@
- Overwrite possible file paths (including filename) for possible NLog config files.
+ Overwrite possible file paths (including filename) for possible NLog config files.
When this property is null, the default file paths ( are used.
@@ -16417,15 +13765,9 @@
Note can be null when unloading configuration at shutdown.
-
+
- Obsolete and replaced by with NLog v5.2.
- Occurs when logging gets reloaded.
-
-
-
-
- Initializes static members of the LogManager class.
+ Event that is raised when the current Process / AppDomain terminates.
@@ -16434,12 +13776,12 @@
-
- Obsolete instead use default-constructor, and assign with NLog 5.0.
+
+ Obsolete instead use default-constructor, and assign with NLog 5.0.
- Initializes a new instance of the class.
-
- The config.
+ Initializes a new instance of the class.
+
+ The config.
@@ -16448,9 +13790,9 @@
The config loader
The custom AppEnvironmnet override
-
+
- Gets the current .
+ Repository of interfaces used by NLog to allow override for dependency injection
@@ -16461,16 +13803,16 @@
By default exceptions are not thrown under any circumstances.
-
- Gets or sets a value indicating whether should be thrown.
+
+ Gets or sets a value indicating whether should be thrown.
- If null then is used.
-
- A value of true if exception should be thrown; otherwise, false.
-
- This option is for backwards-compatibility.
- By default exceptions are not thrown under any circumstances.
-
+ If null then is used.
+
+ A value of true if exception should be thrown; otherwise, false.
+
+ This option is for backwards-compatibility.
+ By default exceptions are not thrown under any circumstances.
+
@@ -16491,11 +13833,6 @@
Setter will re-configure all -objects, so no need to also call
-
-
- Repository of interfaces used by NLog to allow override for dependency injection
-
-
Gets or sets the global log level threshold. Log events below this threshold are not logged.
@@ -16511,8 +13848,7 @@
- Performs application-defined tasks associated with freeing, releasing, or resetting
- unmanaged resources.
+ Shutdown logging
@@ -16567,7 +13903,7 @@
Gets the specified named logger.
Name of the logger.
- The logger reference. Multiple calls to GetLogger with the same argument
+ The logger reference. Multiple calls to GetLogger with the same argument
are not guaranteed to return the same logger reference.
@@ -16578,7 +13914,7 @@
Name of the logger.
Type of the logger
- The logger reference with type . Multiple calls to GetLogger with the same argument
+ The logger reference with type . Multiple calls to GetLogger with the same argument
are not guaranteed to return the same logger reference.
@@ -16590,19 +13926,19 @@
Name of the logger.
The type of the logger to create. The type must inherit from .
- The logger of type . Multiple calls to GetLogger with the
+ The logger of type . Multiple calls to GetLogger with the
same argument aren't guaranteed to return the same logger reference.
- Loops through all loggers previously returned by GetLogger and recalculates their
+ Loops through all loggers previously returned by GetLogger and recalculates their
target and filter list. Useful after modifying the configuration programmatically
to ensure that all loggers have been properly configured.
- Loops through all loggers previously returned by GetLogger and recalculates their
+ Loops through all loggers previously returned by GetLogger and recalculates their
target and filter list. Useful after modifying the configuration programmatically
to ensure that all loggers have been properly configured.
@@ -16617,14 +13953,14 @@
Flush any pending log messages (in case of asynchronous targets).
- Maximum time to allow for the flush. Any messages after that time
+ Maximum time to allow for the flush. Any messages after that time
will be discarded.
Flush any pending log messages (in case of asynchronous targets).
- Maximum time to allow for the flush. Any messages
+ Maximum time to allow for the flush. Any messages
after that time will be discarded.
@@ -16638,7 +13974,7 @@
Flush any pending log messages (in case of asynchronous targets).
The asynchronous continuation.
- Maximum time to allow for the flush. Any messages
+ Maximum time to allow for the flush. Any messages
after that time will be discarded.
@@ -16648,15 +13984,20 @@
The asynchronous continuation.
Maximum time to allow for the flush. Any messages after that time will be discarded.
+
+
+ Flush any pending log messages
+
+
Suspends the logging, and returns object for using-scope so scope-exit calls
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
- An object that implements IDisposable whose Dispose() method re-enables logging.
+ An object that implements IDisposable whose Dispose() method re-enables logging.
To be used with C# using () statement.
@@ -16664,7 +14005,7 @@
Resumes logging if having called .
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
@@ -16673,33 +14014,18 @@
Returns if logging is currently enabled.
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
- A value of if logging is currently enabled,
+ A value of if logging is currently enabled,
otherwise.
- Raises the event when the configuration is reloaded.
+ Raises the event when the configuration is reloaded.
Event arguments.
-
-
- Obsolete and replaced by with NLog 5.2.
-
- Raises the event when the configuration is reloaded.
-
- Event arguments
-
-
-
- Change this method with NLog v6 to completely disconnect LogFactory from Targets/Layouts
- - Remove LoggingRule-List-parameter
- - Return ITargetWithFilterChain[]
-
-
Currently this is disposing?
@@ -16707,7 +14033,7 @@
- Releases unmanaged and - optionally - managed resources.
+ Shutdown logging without flushing async
True to release both managed and unmanaged resources;
false to release only unmanaged resources.
@@ -16718,44 +14044,44 @@
-
- Obsolete and replaced by and with NLog v5.2.
+
+ Obsolete and replaced by and with NLog v5.2.
- Get file paths (including filename) for the possible NLog config files.
-
- The file paths to the possible config file
+ Get file paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
-
- Obsolete and replaced by and with NLog v5.2.
+
+ Obsolete and replaced by and with NLog v5.2.
- Get file paths (including filename) for the possible NLog config files.
-
- The file paths to the possible config file
+ Get file paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
-
- Obsolete and replaced by and with NLog v5.2.
+
+ Obsolete and replaced by and with NLog v5.2.
- Overwrite the candidates paths (including filename) for the possible NLog config files.
-
- The file paths to the possible config file
+ Overwrite the candidates paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
-
- Obsolete and replaced by and with NLog v5.2.
+
+ Obsolete and replaced by and with NLog v5.2.
- Clear the candidate file paths and return to the defaults.
-
+ Clear the candidate file paths and return to the defaults.
+
-
- Obsolete and replaced by and with NLog v5.2.
+
+ Obsolete and replaced by and with NLog v5.2.
- Loads logging configuration from file (Currently only XML configuration files supported)
-
- Configuration file to be read
- LogFactory instance for fluent interface
+ Loads logging configuration from file (Currently only XML configuration files supported)
+
+ Configuration file to be read
+ LogFactory instance for fluent interface
@@ -16788,7 +14114,7 @@
- Inserts or updates.
+ Inserts or updates.
@@ -16825,10 +14151,10 @@
Remarks:
The DEBUG conditional compilation symbol is default enabled (only) in a debug build.
-
- If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods.
- This could lead to better performance.
-
+
+ If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods.
+ This could lead to better performance.
+
See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx
@@ -19939,31 +17265,31 @@
A value of if logging is enabled for the specified level, otherwise it returns .
-
- Creates new logger that automatically appends the specified property to all log events (without changing current logger)
+
+ Creates new logger that automatically appends the specified property to all log events (without changing current logger)
- With property, all properties can be enumerated.
-
- Property Name
- Property Value
- New Logger object that automatically appends specified property
+ With property, all properties can be enumerated.
+
+ Property Name
+ Property Value
+ New Logger object that automatically appends specified property
-
- Creates new logger that automatically appends the specified properties to all log events (without changing current logger)
+
+ Creates new logger that automatically appends the specified properties to all log events (without changing current logger)
- With property, all properties can be enumerated.
-
- Collection of key-value pair properties
- New Logger object that automatically appends specified properties
+ With property, all properties can be enumerated.
+
+ Collection of key-value pair properties
+ New Logger object that automatically appends specified properties
Obsolete and replaced by that prevents unexpected side-effects in Logger-state.
-
+
Updates the specified context property for the current logger. The logger will append it for all log events.
- With property, all properties can be enumerated (or updated).
+ With property, all properties can be enumerated (or updated).
It is highly recommended to ONLY use for modifying context properties.
@@ -20239,7 +17565,7 @@
- Raises the event when the logger is reconfigured.
+ Raises the event when the logger is reconfigured.
Event arguments
@@ -20331,7 +17657,7 @@
- Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal)
+ Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal)
i.e LogLevel.Off is excluded.
@@ -20354,8 +17680,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is equal to the second one.
The first level.
@@ -20364,8 +17690,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is not equal to the second one.
The first level.
@@ -20374,8 +17700,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is greater than the second one.
The first level.
@@ -20384,8 +17710,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is greater than or equal to the second one.
The first level.
@@ -20394,8 +17720,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is less than the second one.
The first level.
@@ -20404,8 +17730,8 @@
- Compares two objects
- and returns a value indicating whether
+ Compares two objects
+ and returns a value indicating whether
the first one is less than or equal to the second one.
The first level.
@@ -20443,7 +17769,7 @@
Determines whether the specified instance is equal to this instance.
The to compare with this instance.
- Value of true if the specified is equal to
+ Value of true if the specified is equal to
this instance; otherwise, false.
@@ -20452,8 +17778,8 @@
The other object.
- A value less than zero when this logger's is
- less than the other logger's ordinal, 0 when they are equal and
+ A value less than zero when this logger's is
+ less than the other logger's ordinal, 0 when they are equal and
greater than zero when this ordinal is greater than the
other ordinal.
@@ -20464,12 +17790,29 @@
The other object.
- A value less than zero when this logger's is
- less than the other logger's ordinal, 0 when they are equal and
+ A value less than zero when this logger's is
+ less than the other logger's ordinal, 0 when they are equal and
greater than zero when this ordinal is greater than the
other ordinal.
+
+
+ Support implementation of
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Creates and manages instances of objects.
@@ -20482,7 +17825,6 @@
Gets the instance used in the .
- Could be used to pass the to other methods
@@ -20492,28 +17834,22 @@
Note can be null when unloading configuration at shutdown.
-
-
- Obsolete and replaced by with NLog v5.2.
- Occurs when logging gets reloaded.
-
-
- Gets or sets a value indicating whether NLog should throw exceptions.
+ Gets or sets a value indicating whether NLog should throw exceptions.
By default exceptions are not thrown under any circumstances.
-
- Gets or sets a value indicating whether should be thrown.
-
- A value of true if exception should be thrown; otherwise, false.
-
- This option is for backwards-compatibility.
- By default exceptions are not thrown under any circumstances.
+
+ Gets or sets a value indicating whether should be thrown.
+
+ A value of true if exception should be thrown; otherwise, false.
+
+ This option is for backwards-compatibility.
+ By default exceptions are not thrown under any circumstances.
-
+
@@ -20559,7 +17895,7 @@
- Adds the given assembly which will be skipped
+ Adds the given assembly which will be skipped
when NLog is trying to find the calling method on stack trace.
The assembly to skip.
@@ -20666,10 +18002,10 @@
Suspends the logging, and returns object for using-scope so scope-exit calls
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
- An object that implements IDisposable whose Dispose() method re-enables logging.
+ An object that implements IDisposable whose Dispose() method re-enables logging.
To be used with C# using () statement.
@@ -20678,7 +18014,7 @@
Resumes logging if having called .
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
@@ -20687,10 +18023,10 @@
Suspends the logging, and returns object for using-scope so scope-exit calls
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
- An object that implements IDisposable whose Dispose() method re-enables logging.
+ An object that implements IDisposable whose Dispose() method re-enables logging.
To be used with C# using () statement.
@@ -20698,7 +18034,7 @@
Resumes logging if having called .
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
@@ -20707,10 +18043,10 @@
Returns if logging is currently enabled.
- Logging is suspended when the number of calls are greater
+ Logging is suspended when the number of calls are greater
than the number of calls.
- A value of if logging is currently enabled,
+ A value of if logging is currently enabled,
otherwise.
@@ -20727,11 +18063,231 @@
- Returns a log message. Used to defer calculation of
+ Returns a log message. Used to defer calculation of
the log message until it's actually needed.
Log message.
+
+
+ Obsolete and replaced by with NLog v5.
+
+ Mapped Diagnostics Context (MDC) is a dictionary of keys and values.
+ Stores the dictionary in the thread-local static variable, and provides methods to output dictionary values in layouts.
+
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+ An that can be used to remove the item from the current thread MDC.
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current thread MDC.
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Gets the current thread MDC named item, as .
+
+ Item name.
+ The value of , if defined; otherwise .
+ If the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the current thread MDC named item, as .
+
+ Item name.
+ The to use when converting a value to a .
+ The value of , if defined; otherwise .
+ If is null and the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the current thread MDC named item, as .
+
+ Item name.
+ The value of , if defined; otherwise null.
+
+
+
+ Returns all item names
+
+ A set of the names of all items in current thread-MDC.
+
+
+
+ Checks whether the specified item exists in current thread MDC.
+
+ Item name.
+ A boolean indicating whether the specified exists in current thread MDC.
+
+
+
+ Removes the specified from current thread MDC.
+
+ Item name.
+
+
+
+ Clears the content of current thread MDC.
+
+
+
+
+ Obsolete and replaced by with NLog v5.
+
+ Mapped Diagnostics Logical Context (MDLC) is a dictionary of keys and values.
+ Stores the dictionary in the logical thread callcontext, and provides methods to output dictionary values in layouts.
+ Allows for maintaining state across asynchronous tasks and call contexts.
+
+
+ Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original
+ NLog library so that state can be maintained for multiple threads in asynchronous situations.
+
+
+
+
+ Gets the current logical context named item, as .
+
+ Item name.
+ The value of , if defined; otherwise .
+ If the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the current logical context named item, as .
+
+ Item name.
+ The to use when converting a value to a string.
+ The value of , if defined; otherwise .
+ If is null and the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the current logical context named item, as .
+
+ Item name.
+ The value of , if defined; otherwise null.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current logical context.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current logical context.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current logical context.
+
+
+
+ Updates the current logical context with multiple items in single operation
+
+ .
+ >An that can be used to remove the item from the current logical context (null if no items).
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Returns all item names
+
+ A collection of the names of all items in current logical context.
+
+
+
+ Checks whether the specified exists in current logical context.
+
+ Item name.
+ A boolean indicating whether the specified exists in current logical context.
+
+
+
+ Removes the specified from current logical context.
+
+ Item name.
+
+
+
+ Clears the content of current logical context.
+
+
+
+
+ Clears the content of current logical context.
+
+ Free the full slot.
+
+
+
+ Mark a parameter of a method for message templating
+
+
+
+
+ Specifies which parameter of an annotated method should be treated as message-template-string
+
+
+
+
+ The name of the parameter that should be as treated as message-template-string
+
+
The type of the captured hole
@@ -20754,7 +18310,7 @@
- stringification operator {$x}
+ stringification operator {$x}
@@ -20769,7 +18325,7 @@
Parameter name sent to structured loggers.
- This is everything between "{" and the first of ",:}".
+ This is everything between "{" and the first of ",:}".
Including surrounding spaces and names that are numbers.
@@ -20886,7 +18442,7 @@
- Indicates whether the template should be interpreted as positional
+ Indicates whether the template should be interpreted as positional
(all holes are numbers) or named.
@@ -21029,6 +18585,161 @@
Format provider for the value.
Append to this
+
+
+ Obsolete and replaced by with NLog v5.
+
+ Nested Diagnostics Context (NDC) is a stack of nested values.
+ Stores the stack in the thread-local static variable, and provides methods to output the values in layouts.
+
+
+
+
+ Gets the top NDC message but doesn't remove it.
+
+ The top message. .
+
+
+
+ Gets the top NDC object but doesn't remove it.
+
+ The object at the top of the NDC stack if defined; otherwise null.
+
+
+
+ Pushes the specified text on current thread NDC.
+
+ The text to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pushes the specified object on current thread NDC.
+
+ The object to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pops the top message off the NDC stack.
+
+ The top message which is no longer on the stack.
+
+
+
+ Pops the top message from the NDC stack.
+
+ The to use when converting the value to a string.
+ The top message, which is removed from the stack, as a string value.
+
+
+
+ Pops the top object off the NDC stack.
+
+ The object from the top of the NDC stack, if defined; otherwise null.
+
+
+
+ Peeks the first object on the NDC stack
+
+ The object from the top of the NDC stack, if defined; otherwise null.
+
+
+
+ Clears current thread NDC stack.
+
+
+
+
+ Gets all messages on the stack.
+
+ Array of strings on the stack.
+
+
+
+ Gets all messages from the stack, without removing them.
+
+ The to use when converting a value to a string.
+ Array of strings.
+
+
+
+ Gets all objects on the stack.
+
+ Array of objects on the stack.
+
+
+
+ Obsolete and replaced by with NLog v5.
+
+ Nested Diagnostics Logical Context (NDLC) is a stack of nested values.
+ Stores the stack in the logical thread callcontexte, and provides methods to output the values in layouts.
+
+
+
+
+ Pushes the specified value on current stack
+
+ The value to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pushes the specified value on current stack
+
+ The value to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pops the top message off the NDLC stack.
+
+ The top message which is no longer on the stack.
+ this methods returns a object instead of string, this because of backwards-compatibility
+
+
+
+ Pops the top message from the NDLC stack.
+
+ The to use when converting the value to a string.
+ The top message, which is removed from the stack, as a string value.
+
+
+
+ Pops the top message off the current NDLC stack
+
+ The object from the top of the NDLC stack, if defined; otherwise null.
+
+
+
+ Peeks the top object on the current NDLC stack
+
+ The object from the top of the NDLC stack, if defined; otherwise null.
+
+
+
+ Clears current stack.
+
+
+
+
+ Gets all messages on the stack.
+
+ Array of strings on the stack.
+
+
+
+ Gets all messages from the stack, without removing them.
+
+ The to use when converting a value to a string.
+ Array of strings.
+
+
+
+ Gets all objects on the stack. The objects are not removed from the stack.
+
+ Array of objects on the stack.
+
Exception thrown during NLog configuration.
@@ -21126,193 +18837,13 @@
The class name is null or is zero (0).
-
-
- TraceListener which routes all messages through NLog.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the log factory to use when outputting messages (null - use LogManager).
-
-
-
-
- Gets or sets the default log level.
-
-
-
-
- Gets or sets the log which should be always used regardless of source level.
-
-
-
-
- Gets or sets a value indicating whether flush calls from trace sources should be ignored.
-
-
-
-
- Gets a value indicating whether the trace listener is thread safe.
-
-
- true if the trace listener is thread safe; otherwise, false. The default is false.
-
-
-
- Gets or sets a value indicating whether to use auto logger name detected from the stack trace.
-
-
-
-
- When overridden in a derived class, writes the specified message to the listener you create in the derived class.
-
- A message to write.
-
-
-
- When overridden in a derived class, writes the specified message to the listener you create in the derived class.
-
- A message payload to write.
-
-
-
- When overridden in a derived class, writes a message to the listener you create in the derived class, followed by a line terminator.
-
- A message to write.
-
-
-
- When overridden in a derived class, writes the specified message to the listener you create in the derived class.
-
- A message payload to write.
-
-
-
- When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output.
-
-
-
-
- Emits an error message.
-
- A message to emit.
-
-
-
- Emits an error message and a detailed error message.
-
- A message to emit.
- A detailed message to emit.
-
-
-
- Flushes the output (if is not true) buffer with the default timeout of 15 seconds.
-
-
-
-
- Writes trace information, a data object and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- One of the values specifying the type of event that has caused the trace.
- A numeric identifier for the event.
- The trace data to emit.
-
-
-
- Writes trace information, an array of data objects and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- One of the values specifying the type of event that has caused the trace.
- A numeric identifier for the event.
- An array of objects to emit as data.
-
-
-
- Writes trace and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- One of the values specifying the type of event that has caused the trace.
- A numeric identifier for the event.
-
-
-
- Writes trace information, a formatted array of objects and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- One of the values specifying the type of event that has caused the trace.
- A numeric identifier for the event.
- A format string that contains zero or more format items, which correspond to objects in the array.
- An object array containing zero or more objects to format.
-
-
-
- Writes trace information, a message, and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- One of the values specifying the type of event that has caused the trace.
- A numeric identifier for the event.
- A message to write.
-
-
-
- Writes trace information, a message, a related activity identity and event information to the listener specific output.
-
- A object that contains the current process ID, thread ID, and stack trace information.
- A name used to identify the output, typically the name of the application that generated the trace event.
- A numeric identifier for the event.
- A message to write.
- A object identifying a related activity.
-
-
-
- Gets the custom attributes supported by the trace listener.
-
-
- A string array naming the custom attributes supported by the trace listener, or null if there are no custom attributes.
-
-
-
-
- Translates the event type to level from .
-
- Type of the event.
- Translated log level.
-
-
-
- Process the log event
- The log level.
- The name of the logger.
- The log message.
- The log parameters.
- The event id.
- The event type.
- The related activity id.
-
-
-
- It works as a normal but it discards all messages which an application requests
- to be logged.
+
+ It works as a normal but it discards all messages which an application requests
+ to be logged.
- It effectively implements the "Null Object" pattern for objects.
-
+ It effectively implements the "Null Object" pattern for objects.
+
@@ -21320,6 +18851,126 @@
The factory class to be used for the creation of this logger.
+
+
+ stores state in the async thread execution context. All LogEvents created
+ within a scope can include the scope state in the target output. The logical context scope supports
+ both scope-properties and scope-nested-state-stack (Similar to log4j2 ThreadContext)
+
+
+ (MDLC), (MDC), (NDLC)
+ and (NDC) have been deprecated and replaced by .
+
+ .NetCore (and .Net46) uses AsyncLocal for handling the thread execution context. Older .NetFramework uses System.Runtime.Remoting.CallContext
+
+
+
+
+ Pushes new state on the logical context scope stack together with provided properties
+
+ Value to added to the scope stack
+ Properties being added to the scope dictionary
+ A disposable object that pops the nested scope state on dispose (including properties).
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided properties
+
+ Properties being added to the scope dictionary
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided properties
+
+ Properties being added to the scope dictionary
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided property
+
+ Name of property
+ Value of property
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided property
+
+ Name of property
+ Value of property
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Pushes new state on the logical context scope stack
+
+ Value to added to the scope stack
+ A disposable object that pops the nested scope state on dispose.
+ Skips casting of to check for scope-properties
+
+
+
+ Pushes new state on the logical context scope stack
+
+ Value to added to the scope stack
+ A disposable object that pops the nested scope state on dispose.
+
+
+
+ Clears all the entire logical context scope, and removes any properties and nested-states
+
+
+
+
+ Retrieves all properties stored within the logical context scopes
+
+ Collection of all properties
+
+
+
+ Lookup single property stored within the logical context scopes
+
+ Name of property
+ When this method returns, contains the value associated with the specified key
+ Returns true when value is found with the specified key
+ Scope dictionary keys are case-insensitive
+
+
+
+ Retrieves all nested states inside the logical context scope stack
+
+ Array of nested state objects.
+
+
+
+ Peeks the top value from the logical context scope stack
+
+ Value from the top of the stack.
+
+
+
+ Peeks the inner state (newest) from the logical context scope stack, and returns its running duration
+
+ Scope Duration Time
+
+
+
+ Peeks the outer state (oldest) from the logical context scope stack, and returns its running duration
+
+ Scope Duration Time
+
+
+
+ Special bookmark that can restore original parent, after scopes has been collapsed
+
+
Extension methods to setup LogFactory options
@@ -21536,7 +19187,7 @@
Fluent interface parameter.
The layout-renderer type-alias for use in NLog configuration - without '${ }'
Callback that returns the value for the layout renderer.
- Options of the layout renderer.
+ Whether method is ThreadAgnostic and doesn't depend on context of the logging application thread.
@@ -21545,7 +19196,7 @@
Fluent interface parameter.
The layout-renderer type-alias for use in NLog configuration - without '${ }'
Callback that returns the value for the layout renderer.
- Options of the layout renderer.
+ Whether method is ThreadAgnostic and doesn't depend on context of the logging application thread.
@@ -21621,26 +19272,11 @@
Configures
-
-
- Configures
-
-
Configures
-
-
- Configures
-
-
-
-
- Configures
-
-
Configures
@@ -21651,29 +19287,32 @@
Configures
-
+
- Configure the InternalLogger properties from Environment-variables and App.config using
+ Resets the InternalLogger configuration without resolving default values from Environment-variables or App.config
-
- Recognizes the following environment-variables:
+
+
+
+ Configure the InternalLogger properties from Environment-variables and App.config using
+
+
+ Recognizes the following environment-variables:
- - NLOG_INTERNAL_LOG_LEVEL
- - NLOG_INTERNAL_LOG_FILE
- - NLOG_INTERNAL_LOG_TO_CONSOLE
- - NLOG_INTERNAL_LOG_TO_CONSOLE_ERROR
- - NLOG_INTERNAL_LOG_TO_TRACE
- - NLOG_INTERNAL_INCLUDE_TIMESTAMP
+ - NLOG_INTERNAL_LOG_LEVEL
+ - NLOG_INTERNAL_LOG_FILE
+ - NLOG_INTERNAL_LOG_TO_CONSOLE
+ - NLOG_INTERNAL_LOG_TO_CONSOLE_ERROR
+ - NLOG_INTERNAL_INCLUDE_TIMESTAMP
- Legacy .NetFramework platform will also recognizes the following app.config settings:
+ Legacy .NetFramework platform will also recognizes the following app.config settings:
- - nlog.internalLogLevel
- - nlog.internalLogFile
- - nlog.internalLogToConsole
- - nlog.internalLogToConsoleError
- - nlog.internalLogToTrace
- - nlog.internalLogIncludeTimestamp
-
+ - nlog.internalLogLevel
+ - nlog.internalLogFile
+ - nlog.internalLogToConsole
+ - nlog.internalLogToConsoleError
+ - nlog.internalLogIncludeTimestamp
+
@@ -21706,7 +19345,7 @@
Defines for redirecting output from matching to wanted targets.
Fluent interface parameter.
- Restrict minimum LogLevel for names that matches this rule
+ Restrict minimum LogLevel for names that matches this rule
Logger name pattern to check which names matches this rule
Rule identifier to allow rule lookup
@@ -21847,14 +19486,14 @@
- Write to
+ Write to
Fluent interface parameter.
Override the default Layout for output
Override the default Encoding for output (Ex. UTF8)
Write to stderr instead of standard output (stdout)
Skip overhead from writing to console, when not available (Ex. running as Windows Service)
- Enable batch writing of logevents, instead of Console.WriteLine for each logevent (Requires )
+ Force Console.WriteLine (slower) instead of Console.WriteBuffer (faster)
@@ -21868,17 +19507,9 @@
Skip overhead from writing to console, when not available (Ex. running as Windows Service)
Enables output using ANSI Color Codes (Windows console does not support this by default)
-
-
- Write to
-
-
- Override the default Layout for output
- Force use independent of
-
- Write to
+ Write to
Override the default Layout for output
@@ -21890,9 +19521,9 @@
Override the default Layout for output
-
+
- Write to
+ Write to
Fluent interface parameter.
@@ -21900,7 +19531,6 @@
Override the default Encoding for output (Default = UTF8)
Override the default line ending characters (Ex. without CR)
Keep log file open instead of opening and closing it on each logging event
- Activate multi-process synchronization using global mutex on the operating system
Size in bytes where log files will be automatically archived.
Maximum number of archive files that should be kept.
Maximum days of archive files that should be kept.
@@ -22036,6 +19666,16 @@
Overrides the active with a new custom implementation
+
+
+ Overrides the active to use legacy-mode string-quotes (Before NLog v6)
+
+
+
+
+ Registers object Type transformation so build trimming will keep public properties.
+
+
Registers object Type transformation from dangerous (massive) object to safe (reduced) object
@@ -22046,34 +19686,6 @@
Registers object Type transformation from dangerous (massive) object to safe (reduced) object
-
-
- Specifies the way archive numbering is performed.
-
-
-
-
- Sequence style numbering. The most recent archive has the highest number.
-
-
-
-
- Rolling style numbering (the most recent is always #0 then #1, ..., #N.
-
-
-
-
- Date style numbering. Archives will be stamped with the prior period
- (Year, Month, Day, Hour, Minute) datetime.
-
-
-
-
- Date and sequence style numbering.
- Archives will be stamped with the prior period (Year, Month, Day) datetime.
- The most recent archive has the highest number (in combination with the date).
-
-
Abstract Target with async Task support
@@ -22089,8 +19701,7 @@
{
this.Host = "localhost";
}
-
- [RequiredParameter]
+
public Layout Host { get; set; }
protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token)
@@ -22173,25 +19784,25 @@
-
- Override this to provide async task for writing a single logevent.
-
- Example of how to override this method, and call custom async method
-
- protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token)
- {
- return CustomWriteAsync(logEvent, token);
- }
+
+ Override this to provide async task for writing a single logevent.
+
+ Example of how to override this method, and call custom async method
+
+ protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token)
+ {
+ return CustomWriteAsync(logEvent, token);
+ }
- private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token)
- {
- await MyLogMethodAsync(logEvent, token).ConfigureAwait(false);
- }
-
-
- The log event.
- The cancellation token
-
+ private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token)
+ {
+ await MyLogMethodAsync(logEvent, token).ConfigureAwait(false);
+ }
+
+
+ The log event.
+ The cancellation token
+
@@ -22226,7 +19837,7 @@
- Write to queue without locking
+ Write to queue without locking
@@ -22236,11 +19847,11 @@
-
- LogEvent is written to target, but target failed to successfully initialize
+
+ LogEvent is written to target, but target failed to successfully initialize
- Enqueue logevent for later processing when target failed to initialize because of unresolved service dependency.
-
+ Enqueue logevent for later processing when target failed to initialize because of unresolved service dependency.
+
@@ -22250,7 +19861,7 @@
- Closes Target by updating CancellationToken
+ Closes Target by updating CancellationToken
@@ -22291,37 +19902,6 @@
-
-
- Sends log messages to the remote instance of Chainsaw application from log4j.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with a name.
-
- Name of the target.
-
Color formatting for using ANSI Color Codes
@@ -22363,7 +19943,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -22439,12 +20019,12 @@
| level == LogLevel.Error |
- Yellow |
+ Red |
NoChange |
| level == LogLevel.Warn |
- Magenta |
+ Yellow |
NoChange |
@@ -22503,6 +20083,12 @@
+
+
+ Support NO_COLOR=1 environment variable. See also
+
+
+
Gets the row highlighting rules.
@@ -22532,7 +20118,7 @@
Colored console output color.
- Note that this enumeration is defined to be binary compatible with
+ Note that this enumeration is defined to be binary compatible with
.NET 2.0 System.ConsoleColor + some additions
@@ -22666,13 +20252,6 @@
Checks whether the specified log event matches the condition (if any).
-
- Log event.
-
-
- A value of if the condition is not defined or
- if it matches, otherwise.
-
@@ -22684,7 +20263,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -22695,21 +20274,21 @@
-
- Should logging being paused/stopped because of the race condition bug in Console.Writeline?
-
-
- Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug.
- See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written
- and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service
-
- Full error:
- Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory.
- The I/ O package is not thread safe by default. In multi-threaded applications,
- a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or
- TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader.
+
+ Should logging being paused/stopped because of the race condition bug in Console.Writeline?
+
+
+ Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug.
+ See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written
+ and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service
-
+ Full error:
+ Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory.
+ The I/ O package is not thread safe by default. In multi-threaded applications,
+ a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or
+ TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader.
+
+
@@ -22748,11 +20327,17 @@
+
+
+ Gets or sets whether to force (slower) instead of the faster internal buffering.
+
+
+
Gets or sets whether to activate internal buffering to allow batch writing, instead of using
-
+
@@ -22763,14 +20348,14 @@
-
+
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
+ Initializes a new instance of the class.
+
+
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
+
+ Name of the target.
@@ -22805,24 +20390,12 @@
Color of the foreground.
Color of the background.
-
-
- Gets or sets the regular expression to be matched. You must specify either text or regex.
-
-
-
Gets or sets the condition that must be met before scanning the row for highlight of words
-
-
- Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used.
-
-
-
Gets or sets the text to be matched. You must specify either text or regex.
@@ -22853,41 +20426,15 @@
-
+
- Gets the compiled regular expression that matches either Text or Regex property. Only used when is true.
+ Scans the for words that should be highlighted.
+ List of words with start-position (Key) and word-length (Value)
-
+
- A descriptor for an archive created with the DateAndSequence numbering mode.
-
-
-
-
- The full name of the archive file.
-
-
-
-
- The parsed date contained in the file name.
-
-
-
-
- The parsed sequence number contained in the file name.
-
-
-
-
- Determines whether produces the same string as the current instance's date once formatted with the current instance's date format.
-
- The date to compare the current object's date to.
- True if the formatted dates are equal, otherwise False.
-
-
-
- Initializes a new instance of the class.
+ Checks whether the specified log event matches the condition (if any).
@@ -22900,7 +20447,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -22984,7 +20531,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -23106,14 +20653,14 @@
all options
JSON escaped string
-
+
Checks input string if it needs JSON escaping, and makes necessary conversion
Destination Builder
Input string
Should non-ASCII characters be encoded
-
+
JSON escaped string
@@ -23126,7 +20673,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -23201,7 +20748,6 @@
Gets or sets the message length limit to write to the Event Log.
- MaxMessageLength cannot be zero or negative
@@ -23358,142 +20904,60 @@
Discard of the message. It will not be written to the Event Log.
-
+
- Check if cleanup should be performed on initialize new file
-
- Skip cleanup when initializing new file, just after having performed archive operation
-
- Base archive file pattern
- Maximum number of archive files that should be kept
- Maximum days of archive files that should be kept
- True, when archive cleanup is needed
-
-
-
- Characters determining the start of the .
+ Handles the actual file-operations on disk
-
+
- Characters determining the end of the .
+ Writes the specified bytes to a file.
+
+ The bytes array.
+ The bytes array offset.
+ The number of bytes.
+
+
+
+ - Only strict scan for sequence-number (GetTodaysArchiveFiles) when having input "fileLastWriteTime"
+ - Expect optional DateTime-part to be "sortable" (when missing birthtime)
+ - Trim away sequencer-number, so not part of sorting
+ - Use DateTime part from FileSystem for ordering by Date-only, and sort by FileName
-
+
- File name which is used as template for matching and replacements.
- It is expected to contain a pattern to match.
+ Handles the actual file-operations on disk
-
+
- The beginning position of the
- within the . -1 is returned
- when no pattern can be found.
+ Called just before opening a new log-file
+ File-name of the new log-file
+ The first LogEvent for the new log-file
+ Previous file-write-time
+ File-path-suffix for the new log-file
+ Updated for the new file.
-
-
- The ending position of the
- within the . -1 is returned
- when no pattern can be found.
-
-
-
-
- Replace the pattern with the specified String.
-
-
-
-
-
-
- Archives the log-files using a date style numbering. Archives will be stamped with the
- prior period (Year, Month, Day, Hour, Minute) datetime.
-
- When the number of archive files exceed the obsolete archives are deleted.
- When the age of archive files exceed the obsolete archives are deleted.
-
-
-
-
- Archives the log-files using a date and sequence style numbering. Archives will be stamped
- with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in
- combination with the date).
-
- When the number of archive files exceed the obsolete archives are deleted.
- When the age of archive files exceed the obsolete archives are deleted.
-
-
-
-
- Parse filename with date and sequence pattern
-
-
- dateformat for archive
-
- the found pattern. When failed, then default
- the found pattern. When failed, then default
-
-
-
-
- Archives the log-files using the provided base-archive-filename. If the base-archive-filename causes
- duplicate archive filenames, then sequence-style is automatically enforced.
-
- Example:
- Base Filename trace.log
- Next Filename trace.0.log
-
- The most recent archive has the highest number.
-
- When the number of archive files exceed the obsolete archives are deleted.
- When the age of archive files exceed the obsolete archives are deleted.
-
-
-
-
- Dynamically converts a non-template archiveFilePath into a correct archiveFilePattern.
- Before called the original IFileArchiveMode, that has been wrapped by this
-
-
-
+
- Determines if the file name as contains a numeric pattern i.e. {#} in it.
-
- Example:
- trace{#}.log Contains the numeric pattern.
- trace{###}.log Contains the numeric pattern.
- trace{#X#}.log Contains the numeric pattern (See remarks).
- trace.log Does not contain the pattern.
+ Legacy archive logic with file-move of active-file to file-path specified by
- Occasionally, this method can identify the existence of the {#} pattern incorrectly.
- File name to be checked.
- when the pattern is found; otherwise.
-
-
-
- Archives the log-files using a rolling style numbering (the most recent is always #0 then
- #1, ..., #N.
+
+ Kept mostly for legacy reasons, because archive operation can fail because of file-locks by other applications (or by multi-process logging).
- When the number of archive files exceed the obsolete archives
- are deleted.
+ Avoid using when possible, and instead rely on only using and .
+
+
+
+
+ Rolls the active-file to the next sequence-number
-
+
- Replaces the numeric pattern i.e. {#} in a file name with the parameter value.
-
- File name which contains the numeric pattern.
- Value which will replace the numeric pattern.
- File name with the value of in the position of the numeric pattern.
-
-
-
- Archives the log-files using a sequence style numbering. The most recent archive has the highest number.
-
- When the number of archive files exceed the obsolete archives are deleted.
- When the age of archive files exceed the obsolete archives are deleted.
+ Deletes/truncates the active logging-file when archive-roll-event is triggered
@@ -23508,168 +20972,73 @@
- AddToArchive every year.
+ Archive every new year.
- AddToArchive every month.
+ Archive every new month.
- AddToArchive daily.
+ Archive every new day.
- AddToArchive every hour.
+ Archive every new hour.
- AddToArchive every minute.
+ Archive every new minute.
- AddToArchive every Sunday.
+ Archive every Sunday.
- AddToArchive every Monday.
+ Archive every Monday.
- AddToArchive every Tuesday.
+ Archive every Tuesday.
- AddToArchive every Wednesday.
+ Archive every Wednesday.
- AddToArchive every Thursday.
+ Archive every Thursday.
- AddToArchive every Friday.
+ Archive every Friday.
- AddToArchive every Saturday.
+ Archive every Saturday.
-
-
- Type of filepath
-
-
-
-
- Detect of relative or absolute
-
-
-
-
- Relative path
-
-
-
-
- Absolute path
-
- Best for performance
-
- Writes log messages to one or more files.
+ FileTarget for writing formatted messages to one or more log-files.
See NLog Wiki
Documentation on NLog Wiki
-
-
- Default clean up period of the initialized files. When a file exceeds the clean up period is removed from the list.
-
- Clean up period is defined in days.
-
-
-
- This value disables file archiving based on the size.
-
-
-
-
- Holds the initialized files each given time by the instance. Against each file, the last write time is stored.
-
- Last write time is store in local time (no UTC).
-
-
-
- List of the associated file appenders with the instance.
-
-
-
-
- The number of initialized files at any one time.
-
-
-
-
- The maximum number of archive files that should be kept.
-
-
-
-
- The maximum days of archive files that should be kept.
-
-
-
-
- The filename as target
-
-
-
-
- The archive file name as target
-
-
-
-
- The date of the previous log event.
-
-
-
-
- The file name of the previous log event.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
-
Gets or sets the name of the file to write to.
@@ -23687,19 +21056,6 @@
-
-
- Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes.
- If set to false, nothing gets written when the filename is wrong.
-
-
-
-
-
- Is the an absolute or relative path?
-
-
-
Gets or sets a value indicating whether to create directories if they do not exist.
@@ -23715,7 +21071,7 @@
Gets or sets a value indicating whether to delete old log file on startup.
- This option works only when the "FileName" parameter denotes a single file.
+ When current log-file exists, then it is deleted (and resetting sequence number)
@@ -23741,12 +21097,6 @@
-
-
- Gets or sets the file attributes (Windows only).
-
-
-
Gets or sets the line ending mode.
@@ -23768,7 +21118,7 @@
The files are managed on a LRU (least recently used) basis, which flushes
the files that have not been used for the longest period of time should the
- cache become full. As a rule of thumb, you shouldn't set this parameter to
+ cache become full. As a rule of thumb, you shouldn't set this parameter to
a very high value. A number like 10-15 shouldn't be exceeded, because you'd
be keeping a large number of files open which consumes system resources.
@@ -23803,27 +21153,7 @@
Gets or sets whether or not this target should just discard all data that its asked to write.
Mostly used for when testing NLog Stack except final write
-
-
-
-
- Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host.
-
-
- This makes multi-process logging possible. NLog uses a special technique
- that lets it keep the files open for writing.
-
-
-
-
-
- Obsolete and replaced by = false with NLog v5.3.
- Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts.
-
-
- This effectively prevents files from being kept open.
-
-
+
@@ -23833,40 +21163,12 @@
-
-
- Gets or sets the number of times the write is appended on the file before NLog
- discards the log message.
-
-
-
-
-
- Gets or sets the delay in milliseconds to wait before attempting to write to the file again.
-
-
- The actual delay is a random value between 0 and the value specified
- in this parameter. On each failed attempt the delay base is doubled
- up to times.
-
-
- Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:
- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...
- and so on.
-
-
-
Gets or sets a value indicating whether to archive old log file on startup.
- This option works only when the "FileName" parameter denotes a single file.
- After archiving the old file, the current log file will be empty.
+ When current log-file exists, then roll to the next sequence number
@@ -23878,65 +21180,46 @@
Alternative use to ensure each application session gets individual log-file.
-
-
-
- Gets or sets a value of the file size threshold to archive old log file on startup.
-
-
- This option won't work if is set to false
- Default value is 0 which means that the file is archived as soon as archival on
- startup is enabled.
-
- Gets or sets a value specifying the date format to use when archiving files.
+ Gets or sets a value specifying the date format when using .
+ Obsolete and only here for Legacy reasons, instead use .
-
- This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence.
-
Gets or sets the size in bytes above which log files will be automatically archived.
-
- Notice when combined with then it will attempt to append to any existing
- archive file if grown above size multiple times. New archive file will be created when using
-
-
- Gets or sets a value indicating whether to automatically archive log files every time the specified time passes.
-
-
- Files are moved to the archive as part of the write operation if the current period of time changes. For example
- if the current hour changes from 10 to 11, the first write that will occur
- on or after 11:00 will trigger the archiving.
-
-
-
-
-
- Is the an absolute or relative path?
-
-
+
+ Gets or sets a value indicating whether to trigger archive operation based on time-period, by moving active-file to file-path specified by
+
+
+ Archive move operation only works if is static in nature, and not rolling automatically because of ${date} or ${shortdate}
+
+ NLog FileTarget probes the file-birthtime to recognize when time-period has passed, but file-birthtime is not supported by all filesystems.
+
+
-
- Gets or sets the name of the file to be used for an archive.
-
-
- It may contain a special placeholder {#####}
- that will be replaced with a sequence of numbers depending on
- the archiving strategy. The number of hash characters used determines
- the number of numerical digits to be used for numbering files.
-
-
+
+ Legacy archive logic where file-archive-logic moves active file to path specified by , and then recreates the active file.
+
+ Use to control suffix format, instead of now obsolete token {#}
+
+
+ Archive file-move operation only works if is static in nature, and not rolling automatically because of ${date} or ${shortdate} .
+
+ Legacy archive file-move operation can fail because of file-locks, so file-archiving can stop working because of environment issues (Other applications locking files).
+
+ Avoid using when possible, and instead rely on only using and .
+
+
@@ -23952,36 +21235,21 @@
- Gets or sets the way file archives are numbered.
+ Gets or sets the way file archives are numbered.
+ Obsolete and only here for Legacy reasons, instead use .
-
-
- Used to compress log files during archiving.
- This may be used to provide your own implementation of a zip file compressor,
- on platforms other than .Net4.5.
- Defaults to ZipArchiveFileCompressor on .Net4.5 and to null otherwise.
-
-
-
-
-
- Gets or sets a value indicating whether to compress archive files into the zip archive format.
-
-
-
-
-
- Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation.
-
-
-
-
-
- Gets or sets a value indicating whether file creation calls should be synchronized by a system global mutex.
-
-
+
+
+ Gets or sets the format-string to convert archive sequence-number by using string.Format
+
+
+ Ex. to prefix with leading zero's then one can use _{0:000} .
+
+ Legacy archive-logic with uses default suffix _{1:yyyyMMdd}_{0:00} .
+
+
@@ -23989,125 +21257,40 @@
-
+
- Gets the characters that are appended after each line.
-
-
-
-
- Refresh the ArchiveFilePatternToWatch option of the .
- The log file must be watched for archiving when multiple processes are writing to the same
- open file.
-
-
-
-
- Removes records of initialized files that have not been
- accessed in the last two days.
+ Initializes a new instance of the class.
- Files are marked 'initialized' for the purpose of writing footers when the logging finishes.
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
+
- Removes records of initialized files that have not been
- accessed after the specified date.
+ Initializes a new instance of the class.
- The cleanup threshold.
- Files are marked 'initialized' for the purpose of writing footers when the logging finishes.
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
+ Name of the target.
Flushes all pending file operations.
The asynchronous continuation.
-
- The timeout parameter is ignored, because file APIs don't provide
- the needed functionality.
-
-
-
-
- Returns the suitable appender factory ( ) to be used to generate the file
- appenders associated with the instance.
-
- The type of the file appender factory returned depends on the values of various properties.
-
- suitable for this instance.
-
- Initializes file logging by creating data structures that
- enable efficient multi-file logging.
-
+
-
- Closes the file(s) opened for writing.
-
+
-
- Writes the specified logging event to a file specified in the FileName
- parameter.
-
- The logging event.
-
-
-
- Get full filename (=absolute) and cleaned if needed.
-
-
-
+
-
- Writes the specified array of logging events to a file specified in the FileName
- parameter.
-
- An array of objects.
-
- This function makes use of the fact that the events are batched by sorting
- the requests by filename. This optimizes the number of open/close calls
- and can help improve performance.
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Formats the log event for write.
-
- The log event to be formatted.
- A string representation of the log event.
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets the bytes to be written to the file.
-
- Log event.
- Array of bytes that are ready to be written.
-
-
-
- Obsolete and replaced by with NLog v5.
- Modifies the specified byte array before it gets sent to a file.
-
- The byte array.
- The modified byte array. The function can do the modification in-place.
-
-
-
- Gets the bytes to be written to the file.
-
- The log event to be formatted.
- to help format log event.
- Optional temporary char-array to help format log event.
- Destination for the encoded result.
+
@@ -24116,31 +21299,6 @@
The log event to be formatted.
for the result.
-
-
- Modifies the specified byte array before it gets sent to a file.
-
- The LogEvent being written
- The byte array.
-
-
-
- Archives fileName to archiveFileName.
-
- File name to be archived.
- Name of the archive file.
-
-
-
- Gets the correct formatting to be used based on the value of for converting values which will be inserting into file
- names during archiving.
-
- This value will be computed only when a empty value or is passed into
-
- Date format to used irrespectively of value.
- Formatting for dates.
-
Calculate the DateTime of the requested day of the week.
@@ -24151,152 +21309,6 @@
For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return
Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09.
-
-
- Invokes the archiving process after determining when and which type of archiving is required.
-
- File name to be checked and archived.
- Log event that the instance is currently processing.
- The DateTime of the previous log event for this file.
- File has just been opened.
-
-
-
- Gets the pattern that archive files will match
-
- Filename of the log file
- Log event that the instance is currently processing.
- A string with a pattern that will match the archive filenames
-
-
-
- Archives the file if it should be archived.
-
- The file name to check for.
- Log event that the instance is currently processing.
- The size in bytes of the next chunk of data to be written in the file.
- The DateTime of the previous log event for this file.
- File has just been opened.
- True when archive operation of the file was completed (by this target or a concurrent target)
-
-
-
- Closes any active file-appenders that matches the input filenames.
- File-appender is requested to invalidate/close its filehandle, but keeping its archive-mutex alive
-
-
-
-
- Indicates if the automatic archiving process should be executed.
-
- File name to be written.
- Log event that the instance is currently processing.
- The size in bytes of the next chunk of data to be written in the file.
- The DateTime of the previous log event for this file.
- File has just been opened.
- Filename to archive. If null, then nothing to archive.
-
-
-
- Returns the correct filename to archive
-
-
-
-
- Gets the file name for archiving, or null if archiving should not occur based on file size.
-
- File name to be written.
- The size in bytes of the next chunk of data to be written in the file.
- File has just been opened.
- Filename to archive. If null, then nothing to archive.
-
-
-
- Check if archive operation should check previous filename, because FileAppenderCache tells us current filename no longer exists
-
-
-
-
- Returns the file name for archiving, or null if archiving should not occur based on date/time.
-
- File name to be written.
- Log event that the instance is currently processing.
- The DateTime of the previous log event for this file.
- File has just been opened.
- Filename to archive. If null, then nothing to archive.
-
-
-
- Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks
-
- High resolution Time
- Time Resolution Level
- Truncated Low Resolution Time
-
-
-
- Evaluates which parts of a file should be written (header, content, footer) based on various properties of
- instance and writes them.
-
- File name to be written.
- Raw sequence of to be written into the content part of the file.
- File has just been opened.
-
-
-
- Initialize a file to be used by the instance. Based on the number of initialized
- files and the values of various instance properties clean up and/or archiving processes can be invoked.
-
- File name to be written.
- Log event that the instance is currently processing.
- The DateTime of the previous log event for this file (DateTime.MinValue if just initialized).
-
-
-
- Writes the file footer and finalizes the file in instance internal structures.
-
- File name to close.
- Indicates if the file is being finalized for archiving.
-
-
-
- Writes the footer information to a file.
-
- The file path to write to.
-
-
-
- Decision logic whether to archive logfile on startup.
- and properties.
-
- File name to be written.
- Decision whether to archive or not.
-
-
-
- Invokes the archiving and clean up of older archive file based on the values of
- and
- properties respectively.
-
- File name to be written.
- Log event that the instance is currently processing.
-
-
-
- Creates the file specified in and writes the file content in each entirety i.e.
- Header, Content and Footer.
-
- The name of the file to be written.
- Sequence of to be written in the content section of the file.
- First attempt to write?
- This method is used when the content of the log file is re-written on every write.
-
-
-
- Writes the header information and byte order mark to a file.
-
- File appender associated with the file.
-
The sequence of to be written in a file after applying any formatting and any
@@ -24306,19 +21318,13 @@
Sequence of to be written.
Usually it is used to render the header and hooter of the files.
-
+
- may be configured to compress archived files in a custom way
- by setting before logging your first event.
+ Creates stream for appending to the specified
-
-
-
- Create archiveFileName by compressing fileName.
-
- Absolute path to the log file to compress.
- Absolute path to the compressed archive file to create.
- The name of the file inside the archive.
+ Path of the file to be written
+ Wanted internal buffer size for the stream
+ Stream for appending to the file
@@ -24397,60 +21403,6 @@
Default row highlight rules for the console printer
-
-
- Check if cleanup should be performed on initialize new file
-
- Base archive file pattern
- Maximum number of archive files that should be kept
- Maximum days of archive files that should be kept
- True, when archive cleanup is needed
-
-
-
- Create a wildcard file-mask that allows one to find all files belonging to the same archive.
-
- Base archive file pattern
- Wildcard file-mask
-
-
-
- Search directory for all existing files that are part of the same archive.
-
- Base archive file pattern
-
-
-
-
- Generate the next archive filename for the archive.
-
- Base archive file pattern
- File date of archive
- Existing files in the same archive
-
-
-
-
- Return all files that should be removed from the provided archive.
-
- Base archive file pattern
- Existing files in the same archive
- Maximum number of archive files that should be kept
- Maximum days of archive files that should be kept
-
-
-
- may be configured to compress archived files in a custom way
- by setting before logging your first event.
-
-
-
-
- Create archiveFileName by compressing fileName.
-
- Absolute path to the log file to compress.
- Absolute path to the compressed archive file to create.
-
Options for JSON serialization
@@ -24473,25 +21425,30 @@
- Should non-ascii characters be encoded
+ Should non-ascii characters be encoded. Default: false
- Should forward slashes be escaped? If true, / will be converted to \/
+ Should forward slashes be escaped? If true, / will be converted to \/
- Serialize enum as string value
+ Serialize enum as string value. Default: false
+
+
+
+
+ Gets or sets the option to suppress the extra spaces in the output json. Default: true
-
- Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_).
+
+ Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_).
- Any other characters will be converted to underscore character (_)
-
+ Any other characters will be converted to underscore character (_)
+
@@ -24540,7 +21497,7 @@
- Gets the new line characters (value) of the LineEndingMode instance.
+ Gets the new line characters (value) of the LineEndingMode instance.
@@ -24563,7 +21520,7 @@
- Compares two objects and returns a
+ Compares two objects and returns a
value indicating whether the first one is equal to the second one.
The first level.
@@ -24572,7 +21529,7 @@
- Compares two objects and returns a
+ Compares two objects and returns a
value indicating whether the first one is not equal to the second one.
The first mode
@@ -24604,259 +21561,6 @@
-
-
- Sends log messages by email using SMTP protocol.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
- Mail target works best when used with BufferingWrapper target
- which lets you send multiple log messages in single mail
-
-
- To set up the buffered mail target in the configuration file,
- use the following syntax:
-
-
-
- To set up the buffered mail target programmatically use code like this:
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
-
-
-
- Gets the mailSettings/smtp configuration from app.config in cases when we need those configuration.
- E.g when UseSystemNetMailSettings is enabled and we need to read the From attribute from system.net/mailSettings/smtp
-
- Internal for mocking
-
-
-
- Gets or sets sender's email address (e.g. joe@domain.com).
-
-
-
-
-
- Gets or sets recipients' email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
-
-
-
-
-
- Gets or sets CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
-
-
-
-
-
- Gets or sets BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
-
-
-
-
-
- Gets or sets a value indicating whether to add new lines between log entries.
-
- A value of true if new lines should be added; otherwise, false.
-
-
-
-
- Gets or sets the mail subject.
-
-
-
-
-
- Gets or sets mail message body (repeated for each log message send in one mail).
-
- Alias for the Layout property.
-
-
-
-
- Gets or sets encoding to be used for sending e-mail.
-
-
-
-
-
- Gets or sets a value indicating whether to send message as HTML instead of plain text.
-
-
-
-
-
- Gets or sets SMTP Server to be used for sending.
-
-
-
-
-
- Gets or sets SMTP Authentication mode.
-
-
-
-
-
- Gets or sets the username used to connect to SMTP server (used when SmtpAuthentication is set to "basic").
-
-
-
-
-
- Gets or sets the password used to authenticate against SMTP server (used when SmtpAuthentication is set to "basic").
-
-
-
-
-
- Gets or sets a value indicating whether SSL (secure sockets layer) should be used when communicating with SMTP server.
-
- .
-
-
-
- Gets or sets the port number that SMTP Server is listening on.
-
-
-
-
-
- Gets or sets a value indicating whether the default Settings from System.Net.MailSettings should be used.
-
-
-
-
-
- Specifies how outgoing email messages will be handled.
-
-
-
-
-
- Gets or sets the folder where applications save mail messages to be processed by the local SMTP server.
-
-
-
-
-
- Gets or sets the priority used for sending mails.
-
-
-
-
-
- Gets or sets a value indicating whether NewLine characters in the body should be replaced with
tags.
-
- Only happens when is set to true.
-
-
-
-
- Gets or sets a value indicating the SMTP client timeout.
-
- Warning: zero is not infinite waiting
-
-
-
-
- Gets the array of email headers that are transmitted with this email message
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Create mail and send with SMTP
-
- event printed in the body of the event
-
-
-
- Create buffer for body
-
- all events
- first event for header
- last event for footer
-
-
-
-
- Set properties of
-
- last event for username/password
- client to set properties on
- Configure not at , as the properties could have layout renderers.
-
-
-
- Handle if it is a virtual directory.
-
-
-
-
-
-
- Create key for grouping. Needed for multiple events in one mail message
-
- event for rendering layouts
- string to group on
-
-
-
- Create the mail message with the addresses, properties and body.
-
-
-
-
- Render and add the addresses to
-
- Addresses appended to this list
- layout with addresses, ; separated
- event for rendering the
- added a address?
-
Writes log messages to in memory for programmatic retrieval.
@@ -24867,7 +21571,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -24959,7 +21663,7 @@
- Gets or sets the layout that should be use to calculate the value for the parameter.
+ Gets or sets the layout used for rendering the method-parameter value.
@@ -24972,7 +21676,7 @@
- Gets or sets the type of the parameter.
+ Gets or sets the type of the parameter.
@@ -24999,7 +21703,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -25016,13 +21720,13 @@
-
- Gets or sets the method name. The method must be public and static.
+
+ Gets or sets the method name. The method must be public and static.
- Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx
- e.g.
-
-
+ Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx
+ e.g.
+
+
@@ -25054,13 +21758,13 @@
- Calls the specified Method.
+ Calls the specified Method.
Method parameters.
- The base class for all targets which call methods (local or remote).
+ The base class for all targets which call methods (local or remote).
Manages parameters and type coercion.
@@ -25088,570 +21792,12 @@
Method call parameters.
The logging event.
-
-
- Calls the target DoInvoke method, and handles AsyncContinuation callback
-
- Method call parameters.
- The continuation.
-
Calls the target method. Must be implemented in concrete classes.
Method call parameters.
-
-
- Arguments for events.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Creates new instance of NetworkTargetLogEventDroppedEventArgs
-
-
-
-
- The reason why log was dropped
-
-
-
-
- The reason why log event was dropped by
-
-
-
-
- Discarded LogEvent because message is bigger than
-
-
-
-
- Discarded LogEvent because message queue was bigger than
-
-
-
-
- Discarded LogEvent because attempted to open more than connections
-
-
-
-
- Discarded LogEvent because of network communication error
-
-
-
-
- Sends log messages over the network.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
- To print the results, use any application that's able to receive messages over
- TCP or UDP. NetCat is
- a simple but very powerful command-line tool that can be used for that. This image
- demonstrates the NetCat tool receiving log messages from Network target.
-
-
-
- There are two specialized versions of the Network target: Chainsaw
- and NLogViewer which write to instances of Chainsaw log4j viewer
- or NLogViewer application respectively.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
-
-
-
- Gets or sets the network address.
-
-
- The network address can be:
-
- - tcp://host:port - TCP (auto select IPv4/IPv6)
- - tcp4://host:port - force TCP/IPv4
- - tcp6://host:port - force TCP/IPv6
- - udp://host:port - UDP (auto select IPv4/IPv6)
- - udp4://host:port - force UDP/IPv4
- - udp6://host:port - force UDP/IPv6
- - http://host:port/pageName - HTTP using POST verb
- - https://host:port/pageName - HTTPS using POST verb
-
- For SOAP-based webservice support over HTTP use WebService target.
-
-
-
-
-
- Gets or sets a value indicating whether to keep connection open whenever possible.
-
-
-
-
-
- Gets or sets a value indicating whether to append newline at the end of log message.
-
-
-
-
-
- Gets or sets the end of line value if a newline is appended at the end of log message .
-
-
-
-
-
- Gets or sets the maximum message size in bytes. On limit breach then action is activated.
-
-
-
-
-
- Gets or sets the maximum simultaneous connections. Requires = false
-
-
- When having reached the maximum limit, then action will apply.
-
-
-
-
-
- Gets or sets the action that should be taken, when more connections than .
-
-
-
-
-
- Gets or sets the maximum queue size for a single connection. Requires = true
-
-
- When having reached the maximum limit, then action will apply.
-
-
-
-
-
- Gets or sets the action that should be taken, when more pending messages than .
-
-
-
-
-
- Occurs when LogEvent has been dropped.
-
-
- - When internal queue is full and set to
- - When connection-list is full and set to
- - When message is too big and set to
-
-
-
-
- Gets or sets the size of the connection cache (number of connections which are kept alive). Requires = true
-
-
-
-
-
- Gets or sets the action that should be taken if the message is larger than
-
-
- For TCP sockets then means no-limit, as TCP sockets
- performs splitting automatically.
-
- For UDP Network sender then means splitting the message
- into smaller chunks. This can be useful on networks using DontFragment, which drops network packages
- larger than MTU-size (1472 bytes).
-
-
-
-
-
- Gets or sets the encoding to be used.
-
-
-
-
-
- Gets or sets the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP.
-
-
-
-
-
- The number of seconds a connection will remain idle before the first keep-alive probe is sent
-
-
-
-
-
- Type of compression for protocol payload. Useful for UDP where datagram max-size is 8192 bytes.
-
-
-
-
- Skip compression when protocol payload is below limit to reduce overhead in cpu-usage and additional headers
-
-
-
-
- Flush any pending log messages asynchronously (in case of asynchronous targets).
-
- The asynchronous continuation.
-
-
-
-
-
-
- Sends the
- rendered logging event over the network optionally concatenating it with a newline character.
-
- The logging event.
-
-
-
- Try to remove.
-
-
-
-
- removed something?
-
-
-
- Gets the bytes to be written.
-
- Log event.
- Byte array.
-
-
-
- Type of compression for protocol payload
-
-
-
-
- No compression
-
-
-
-
- GZip optimal compression
-
-
-
-
- GZip fastest compression
-
-
-
-
- The action to be taken when there are more connections then the max.
-
-
-
-
- Allow new connections when reaching max connection limit
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Just allow it.
-
-
-
-
- Discard new messages when reaching max connection limit
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Discard the connection item.
-
-
-
-
- Block until there's more room in the queue.
-
-
-
-
- Action that should be taken if the message overflows.
-
-
-
-
- Report an error.
-
-
-
-
- Split the message into smaller pieces. Only relevant for UDP sockets, as TCP sockets does it automatically.
-
-
- Udp-Network-Sender will split the message into smaller chunks that matches .
- This can avoid network-package-drop when network uses DontFragment and message is larger than MTU-size (1472 bytes).
-
-
-
-
- Discard the entire message.
-
-
-
-
- The action to be taken when the queue overflows.
-
-
-
-
- Grow the queue.
-
-
-
-
- Discard the overflowing item.
-
-
-
-
- Block until there's more room in the queue.
-
-
-
-
- Represents a parameter to a NLogViewer target.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets viewer parameter name.
-
-
-
-
-
- Gets or sets the layout that should be use to calculate the value for the parameter.
-
-
-
-
-
- Gets or sets whether an attribute with empty value should be included in the output
-
-
-
-
-
- Sends log messages to the remote instance of NLog Viewer.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
-
-
-
- Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema.
-
-
-
-
-
- Gets or sets the log4j:event logger-xml-attribute. Default: ${logger}
-
-
-
-
-
- Gets or sets the log4j:event message-xml-element. Default: ${message}
-
-
-
-
-
- Gets or sets the log4j:event log4japp-xml-element. By default it's the friendly name of the current AppDomain.
-
-
-
-
-
- Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network.
-
-
-
-
-
- Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include dictionary contents.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets whether to include the contents of the properties-dictionary.
-
-
-
-
-
- Gets or sets whether to include log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets the separator for operation-states-stack.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include dictionary contents.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets or sets a value indicating whether to include contents of the stack.
-
-
-
-
-
- Obsolete and replaced by with NLog v5.
- Gets or sets the stack separator for log4j:NDC in output from nested context.
-
-
-
-
-
- Gets or sets the stack separator for log4j:NDC in output from nested context.
-
-
-
-
-
- Gets the collection of parameters. Each parameter contains a mapping
- between NLog layout and a named parameter.
-
-
-
-
-
- Gets the layout renderer which produces Log4j-compatible XML events.
-
-
-
-
- Gets or sets the instance of that is used to format log messages.
-
-
-
Discards log messages. Used mainly for debugging and benchmarking.
@@ -25662,7 +21808,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -25696,26 +21842,6 @@
The logging event.
-
-
- SMTP authentication modes.
-
-
-
-
- No authentication.
-
-
-
-
- Basic - username and password.
-
-
-
-
- NTLM Authentication.
-
-
Represents logging target.
@@ -25743,16 +21869,16 @@
-
- NLog Layout are by default threadsafe, so multiple threads can be rendering logevents at the same time.
- This ensure high concurrency with no lock-congestion for the application-threads, especially when using
- or AsyncTaskTarget.
+
+ NLog Layout are by default threadsafe, so multiple threads can be rendering logevents at the same time.
+ This ensure high concurrency with no lock-congestion for the application-threads, especially when using
+ or AsyncTaskTarget.
- But if using custom or that are not
- threadsafe, then this option can enabled to protect against thread-concurrency-issues. Allowing one
- to update to NLog 5.0 without having to fix custom/external layout-dependencies.
-
-
+ But if using custom or that are not
+ threadsafe, then this option can enabled to protect against thread-concurrency-issues. Allowing one
+ to update to NLog 5.0 without having to fix custom/external layout-dependencies.
+
+
@@ -25874,15 +22000,15 @@
Async Log event to be written out.
-
- Writes a log event to the log target, in a thread safe manner.
- Any override of this method has to provide their own synchronization mechanism.
+
+ Writes a log event to the log target, in a thread safe manner.
+ Any override of this method has to provide their own synchronization mechanism.
- !WARNING! Custom targets should only override this method if able to provide their
- own synchronization mechanism. -objects are not guaranteed to be
- thread-safe, so using them without a SyncRoot-object can be dangerous.
-
- Log event to be written out.
+ !WARNING! Custom targets should only override this method if able to provide their
+ own synchronization mechanism. -objects are not guaranteed to be
+ thread-safe, so using them without a SyncRoot-object can be dangerous.
+
+ Log event to be written out.
@@ -25893,15 +22019,15 @@
Logging events to be written out.
-
- Writes an array of logging events to the log target, in a thread safe manner.
- Any override of this method has to provide their own synchronization mechanism.
+
+ Writes an array of logging events to the log target, in a thread safe manner.
+ Any override of this method has to provide their own synchronization mechanism.
- !WARNING! Custom targets should only override this method if able to provide their
- own synchronization mechanism. -objects are not guaranteed to be
- thread-safe, so using them without a SyncRoot-object can be dangerous.
-
- Logging events to be written out.
+ !WARNING! Custom targets should only override this method if able to provide their
+ own synchronization mechanism. -objects are not guaranteed to be
+ thread-safe, so using them without a SyncRoot-object can be dangerous.
+
+ Logging events to be written out.
@@ -25935,31 +22061,31 @@
Avoid calling this while handling a LogEvent, since random deadlocks can occur.
-
- Should the exception be rethrown?
-
- Upgrade to private protected when using C# 7.2
+
+ Should the exception be rethrown?
+
+ Upgrade to private protected when using C# 7.2
-
- Obsolete and replaced by with NLog v5.2.
+
+ Obsolete and replaced by with NLog v5.2.
- Register a custom Target.
-
- Short-cut for registering to default
- Type of the Target.
- The target type-alias for use in NLog configuration
+ Register a custom Target.
+
+ Short-cut for registering to default
+ Type of the Target.
+ The target type-alias for use in NLog configuration
-
- Obsolete and replaced by with NLog v5.2.
+
+ Obsolete and replaced by with NLog v5.2.
- Register a custom Target.
-
- Short-cut for registering to default
- Type of the Target.
- The target type-alias for use in NLog configuration
+ Register a custom Target.
+
+ Short-cut for registering to default
+ Type of the Target.
+ The target type-alias for use in NLog configuration
@@ -25984,7 +22110,7 @@
- Attribute details for
+ Attribute details for
@@ -26001,13 +22127,13 @@
- Gets or sets the name of the attribute.
+ Gets or sets the name of the property.
- Gets or sets the layout that will be rendered as the attribute's value.
+ Gets or sets the layout used for rendering the property value.
@@ -26025,8 +22151,9 @@
- Gets or sets when an empty value should cause the property to be included
+ Gets or sets whether empty property value should be included in the output. Default = false
+ Empty value is either null or empty string
@@ -26051,11 +22178,10 @@
{
this.Host = "localhost";
}
-
- [RequiredParameter]
+
public Layout Host { get; set; }
- protected override void Write(LogEventInfo logEvent)
+ protected override void Write(LogEventInfo logEvent)
{
string logMessage = this.RenderLogEvent(this.Layout, logEvent);
string hostName = this.RenderLogEvent(this.Host, logEvent);
@@ -26155,6 +22281,9 @@
Constructor
+
+
+
Check if logevent has properties (or context properties)
@@ -26174,7 +22303,7 @@
Checks if any context properties, and if any returns them as a single dictionary
- Optional prefilled dictionary
+ Optional pre-allocated dictionary for the snapshot
Dictionary with any context properties for the logEvent (Null if none found)
@@ -26202,14 +22331,6 @@
Dictionary of context values
New (unique) value (or null to skip value). If the same value is used then the item will be overwritten
-
-
- Obsolete and replaced by with NLog v5.
- Returns the captured snapshot of for the
-
-
- Dictionary with MDC context if any, else null
-
Returns the captured snapshot of dictionary for the
@@ -26217,22 +22338,6 @@
Dictionary with ScopeContext properties if any, else null
-
-
- Obsolete and replaced by with NLog v5.
- Returns the captured snapshot of for the
-
-
- Dictionary with MDLC context if any, else null
-
-
-
- Obsolete and replaced by with NLog v5.
- Returns the captured snapshot of for the
-
-
- Collection with NDC context if any, else null
-
Returns the captured snapshot of nested states from for the
@@ -26240,14 +22345,6 @@
Collection of nested state objects if any, else null
-
-
- Obsolete and replaced by with NLog v5.
- Returns the captured snapshot of for the
-
-
- Collection with NDLC context if any, else null
-
Takes snapshot of for the
@@ -26256,35 +22353,6 @@
Optional pre-allocated dictionary for the snapshot
Dictionary with GDC context if any, else null
-
-
- Obsolete and replaced by with NLog v5.
- Takes snapshot of for the
-
-
- Optional pre-allocated dictionary for the snapshot
- Dictionary with MDC context if any, else null
-
-
-
- Obsolete and replaced by with NLog v5.
- Take snapshot of a single object value from
-
- Log event
- MDC key
- MDC value
- Snapshot of MDC value
- Include object value in snapshot
-
-
-
- Obsolete and replaced by with NLog v5.
- Takes snapshot of for the
-
-
- Optional pre-allocated dictionary for the snapshot
- Dictionary with MDLC context if any, else null
-
Takes snapshot of dictionary for the
@@ -26293,17 +22361,6 @@
Optional pre-allocated dictionary for the snapshot
Dictionary with ScopeContext properties if any, else null
-
-
- Obsolete and replaced by with NLog v5.
- Take snapshot of a single object value from
-
- Log event
- MDLC key
- MDLC value
- Snapshot of MDLC value
- Include object value in snapshot
-
Take snapshot of a single object value from dictionary
@@ -26314,32 +22371,6 @@
Snapshot of ScopeContext property-value
Include object value in snapshot
-
-
- Obsolete and replaced by with NLog v5.
- Takes snapshot of for the
-
-
- Collection with NDC context if any, else null
-
-
-
- Obsolete and replaced by with NLog v5.
- Take snapshot of a single object value from
-
- Log event
- NDC value
- Snapshot of NDC value
- Include object value in snapshot
-
-
-
- Obsolete and replaced by with NLog v5.
- Takes snapshot of for the
-
-
- Collection with NDLC context if any, else null
-
Takes snapshot of nested states from for the
@@ -26347,16 +22378,6 @@
Collection with stack items if any, else null
-
-
- Obsolete and replaced by with NLog v5.
- Take snapshot of a single object value from
-
- Log event
- NDLC value
- Snapshot of NDLC value
- Include object value in snapshot
-
Take snapshot of a single object value from nested states
@@ -26376,6 +22397,20 @@
Snapshot of value
Include object value in snapshot
+
+
+ Returns the captured snapshot of for the
+
+
+ Collection with NDLC context if any, else null
+
+
+
+ Returns the captured snapshot of for the
+
+
+ Dictionary with MDLC context if any, else null
+
Internal Layout that allows capture of properties-dictionary
@@ -26442,432 +22477,6 @@
-
-
- Gets or sets the layout with header and footer.
-
- The layout with header and footer.
-
-
-
- Sends log messages through System.Diagnostics.Trace.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Force use independent of
-
-
-
-
-
- Forward to (Instead of )
-
-
- Trace.Fail can have special side-effects, and give fatal exceptions, message dialogs or Environment.FailFast
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
-
- Name of the target.
-
-
-
-
-
-
-
-
-
- Writes the specified logging event to the facility.
-
- Redirects the log message depending on and .
- When is false:
- - writes to
- - writes to
- - writes to
- - writes to
- - writes to
- - writes to
-
- The logging event.
-
-
-
- Web service protocol.
-
-
-
-
- Use SOAP 1.1 Protocol.
-
-
-
-
- Use SOAP 1.2 Protocol.
-
-
-
-
- Use HTTP POST Protocol.
-
-
-
-
- Use HTTP GET Protocol.
-
-
-
-
- Do an HTTP POST of a JSON document.
-
-
-
-
- Do an HTTP POST of an XML document.
-
-
-
-
- Web Service Proxy Configuration Type
-
-
-
-
- Default proxy configuration from app.config (System.Net.WebRequest.DefaultWebProxy)
-
-
- Example of how to configure default proxy using app.config
-
- <system.net>
- <defaultProxy enabled = "true" useDefaultCredentials = "true" >
- <proxy usesystemdefault = "True" />
- </defaultProxy>
- </system.net>
-
-
-
-
-
- Automatic use of proxy with authentication (cached)
-
-
-
-
- Disables use of proxy (fast)
-
-
-
-
- Custom proxy address (cached)
-
-
-
-
- Calls the specified web service on each log message.
-
-
- See NLog Wiki
-
- Documentation on NLog Wiki
-
- The web service must implement a method that accepts a number of string parameters.
-
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- To set up the log target programmatically use code like this:
-
-
- The example web service that works with this example is shown below
-
-
-
-
-
- dictionary that maps a concrete implementation
- to a specific -value.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the target
-
-
-
- Gets or sets the web service URL.
-
-
-
-
-
- Gets or sets the value of the User-agent HTTP header.
-
-
-
-
-
- Gets or sets the Web service method name. Only used with Soap.
-
-
-
-
-
- Gets or sets the Web service namespace. Only used with Soap.
-
-
-
-
-
- Gets or sets the protocol to be used when calling web service.
-
-
-
-
-
- Gets or sets the proxy configuration when calling web service
-
-
- Changing ProxyType on Net5 (or newer) will turn off Http-connection-pooling
-
-
-
-
-
- Gets or sets the custom proxy address, include port separated by a colon
-
-
-
-
-
- Should we include the BOM (Byte-order-mark) for UTF? Influences the property.
-
- This will only work for UTF-8.
-
-
-
-
-
- Gets or sets the encoding.
-
-
-
-
-
- Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs)
-
- A value of true if Rfc3986; otherwise, false for legacy Rfc2396.
-
-
-
-
- Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard)
-
- A value of true if legacy encoding; otherwise, false for standard UTF8 encoding.
-
-
-
-
- Gets or sets the name of the root XML element,
- if POST of XML document chosen.
- If so, this property must not be null.
- (see and ).
-
-
-
-
-
- Gets or sets the (optional) root namespace of the XML document,
- if POST of XML document chosen.
- (see and ).
-
-
-
-
-
- Gets the array of parameters to be passed.
-
-
-
-
-
- Indicates whether to pre-authenticate the HttpWebRequest (Requires 'Authorization' in parameters)
-
-
-
-
-
- Calls the target method. Must be implemented in concrete classes.
-
- Method call parameters.
-
-
-
- Calls the target DoInvoke method, and handles AsyncContinuation callback
-
- Method call parameters.
- The continuation.
-
-
-
- Invokes the web service method.
-
- Parameters to be passed.
- The logging event.
-
-
-
-
-
-
-
-
-
- Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol.
-
-
-
-
- Write from input to output. Fix the UTF-8 bom
-
-
-
-
- base class for POST formatters, that
- implement former PrepareRequest() method,
- that creates the content for
- the requested kind of HTTP request
-
-
-
-
- Win32 file attributes.
-
-
- For more information see https://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp.
-
-
-
-
- Read-only file.
-
-
-
-
- Hidden file.
-
-
-
-
- System file.
-
-
-
-
- File should be archived.
-
-
-
-
- Device file.
-
-
-
-
- Normal file.
-
-
-
-
- File is temporary (should be kept in cache and not
- written to disk if possible).
-
-
-
-
- Sparse file.
-
-
-
-
- Reparse point.
-
-
-
-
- Compress file contents.
-
-
-
-
- File should not be indexed by the content indexing service.
-
-
-
-
- Encrypted file.
-
-
-
-
- The system writes through any intermediate cache and goes directly to disk.
-
-
-
-
- The system opens a file with no system caching.
-
-
-
-
- Delete file after it is closed.
-
-
-
-
- A file is accessed according to POSIX rules.
-
-
Asynchronous request queue.
@@ -26877,7 +22486,7 @@
Initializes a new instance of the AsyncRequestQueue class.
- Request limit.
+ Queue max size.
The overflow action.
@@ -26913,9 +22522,9 @@
Clears the queue.
-
+
- Gets or sets the request limit.
+ Gets or sets the queue max-size
@@ -26942,7 +22551,7 @@
- Raise event when RequestCount overflow
+ Raise event when RequestCount overflow
current requests count
@@ -26975,7 +22584,7 @@
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27117,7 +22726,7 @@
- Write to queue without locking
+ Write to queue without locking
@@ -27152,7 +22761,7 @@
Documentation on NLog Wiki
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27280,7 +22889,7 @@
- Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed
+ Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed
if there's no write in the specified period of time. Use -1 to disable timed flushes.
@@ -27291,8 +22900,8 @@
This value determines how the inactivity period is determined. If sliding timeout is enabled,
- the inactivity timer is reset after each write, if it is disabled - inactivity timer will
- count from the first event written to the buffer.
+ the inactivity timer is reset after each write, if it is disabled - inactivity timer will
+ count from the first event written to the buffer.
@@ -27382,7 +22991,7 @@
Initializes a new instance of the AsyncRequestQueue class.
- Request limit.
+ Queue max size.
The overflow action.
@@ -27430,10 +23039,10 @@
Documentation on NLog Wiki
- This example causes the messages to be written to server1,
+
This example causes the messages to be written to server1,
and if it fails, messages go to server2.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27527,7 +23136,7 @@
This example causes the messages not contains the string '1' to be ignored.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27559,7 +23168,7 @@
- Gets or sets the condition expression. Log events who meet this condition will be forwarded
+ Gets or sets the condition expression. Log events who meet this condition will be forwarded
to the wrapped target.
@@ -27570,6 +23179,9 @@
+
+
+
Checks the condition against the passed log event.
@@ -27621,6 +23233,9 @@
The wrapped target.
Group by identifier.
+
+
+
@@ -27632,7 +23247,7 @@
Limits the number of messages written per timespan to the wrapped target.
- See NLog Wiki
+ See NLog Wiki
Documentation on NLog Wiki
@@ -27716,8 +23331,8 @@
-
- Raises by when
+
+ Raises by when
queue is full
and set to
By default queue doubles it size.
@@ -27751,11 +23366,11 @@
This example works like this. If there are no Warn,Error or Fatal messages in the buffer
- only Info messages are written to the file, but if there are any warnings or errors,
+ only Info messages are written to the file, but if there are any warnings or errors,
the output includes detailed trace (levels >= Debug).
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27796,6 +23411,9 @@
+
+
+
@@ -27824,11 +23442,11 @@
Documentation on NLog Wiki
- This example causes the messages to be written to either file1.txt or file2.txt
+
This example causes the messages to be written to either file1.txt or file2.txt
chosen randomly on a per-message basis.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27874,7 +23492,7 @@
This example causes each log message to be repeated 3 times.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -27925,10 +23543,10 @@
Documentation on NLog Wiki
- This example causes each write attempt to be repeated 3 times,
+
This example causes each write attempt to be repeated 3 times,
sleeping 1 second between attempts if first one fails.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -28014,7 +23632,7 @@
Each odd message is written to file2.txt, each even message goes to file1.txt.
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -28071,10 +23689,10 @@
Documentation on NLog Wiki
- This example causes the messages to be written to both file1.txt or file2.txt
+
This example causes the messages to be written to both file1.txt or file2.txt
- To set up the target in the configuration file,
+ To set up the target in the configuration file,
use the following syntax:
@@ -28133,6 +23751,9 @@
+
+
+
Writes logging event to the log target. Must be overridden in inheriting
@@ -28140,19 +23761,6 @@
Logging event to be written out.
-
-
- Builtin IFileCompressor implementation utilizing the .Net4.5 specific
- and is used as the default value for on .Net4.5.
- So log files created via can be zipped when archived
- w/o 3rd party zip library when run on .Net4.5 or higher.
-
-
-
-
- Implements using the .Net4.5 specific
-
-
Current local time retrieved directly from DateTime.Now.
@@ -28276,21 +23884,21 @@
The system originated time value to convert.
- The value of converted to the same form
+ The value of converted to the same form
as time values originated from this source.
- There are situations when NLog have to compare the time originated from TimeSource
+ There are situations when NLog have to compare the time originated from TimeSource
to the time originated externally in the system.
- To be able to provide meaningful result of such comparisons the system time must be expressed in
+ To be able to provide meaningful result of such comparisons the system time must be expressed in
the same form as TimeSource time.
Examples:
- - If the TimeSource provides time values of local time, it should also convert the provided
+ - If the TimeSource provides time values of local time, it should also convert the provided
to the local time.
- - If the TimeSource shifts or skews its time values, it should also apply
+ - If the TimeSource shifts or skews its time values, it should also apply
the same transform to the given .
@@ -28306,676 +23914,6 @@
The Time type-alias for use in NLog configuration.
-
-
- Indicates that the value of the marked element could be null sometimes,
- so checking for null is required before its usage.
-
-
- [CanBeNull] object Test() => null;
-
- void UseTest() {
- var p = Test();
- var s = p.ToString(); // Warning: Possible 'System.NullReferenceException'
- }
-
-
-
-
- Indicates that the value of the marked element can never be null.
-
-
- [NotNull] object Foo() {
- return null; // Warning: Possible 'null' assignment
- }
-
-
-
-
- Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task
- and Lazy classes to indicate that the value of a collection item, of the Task.Result property
- or of the Lazy.Value property can never be null.
-
-
- public void Foo([ItemNotNull]List<string> books)
- {
- foreach (var book in books) {
- if (book != null) // Warning: Expression is always true
- Console.WriteLine(book.ToUpper());
- }
- }
-
-
-
-
- Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task
- and Lazy classes to indicate that the value of a collection item, of the Task.Result property
- or of the Lazy.Value property can be null.
-
-
- public void Foo([ItemCanBeNull]List<string> books)
- {
- foreach (var book in books)
- {
- // Warning: Possible 'System.NullReferenceException'
- Console.WriteLine(book.ToUpper());
- }
- }
-
-
-
-
- Indicates that the marked method builds string by the format pattern and (optional) arguments.
- The parameter, which contains the format string, should be given in the constructor. The format string
- should be in -like form.
-
-
- [StringFormatMethod("message")]
- void ShowError(string message, params object[] args) { /* do something */ }
-
- void Foo() {
- ShowError("Failed: {0}"); // Warning: Non-existing argument in format string
- }
-
-
-
-
- Specifies which parameter of an annotated method should be treated as the format string
-
-
-
-
- Indicates that the marked parameter is a message template where placeholders are to be replaced by the following arguments
- in the order in which they appear
-
-
- void LogInfo([StructuredMessageTemplate]string message, params object[] args) { /* do something */ }
-
- void Foo() {
- LogInfo("User created: {username}"); // Warning: Non-existing argument in format string
- }
-
-
-
-
- Use this annotation to specify a type that contains static or const fields
- with values for the annotated property/field/parameter.
- The specified type will be used to improve completion suggestions.
-
-
- namespace TestNamespace
- {
- public class Constants
- {
- public static int INT_CONST = 1;
- public const string STRING_CONST = "1";
- }
-
- public class Class1
- {
- [ValueProvider("TestNamespace.Constants")] public int myField;
- public void Foo([ValueProvider("TestNamespace.Constants")] string str) { }
-
- public void Test()
- {
- Foo(/*try completion here*/);//
- myField = /*try completion here*/
- }
- }
- }
-
-
-
-
- Indicates that the integral value falls into the specified interval.
- It's allowed to specify multiple non-intersecting intervals.
- Values of interval boundaries are inclusive.
-
-
- void Foo([ValueRange(0, 100)] int value) {
- if (value == -1) { // Warning: Expression is always 'false'
- ...
- }
- }
-
-
-
-
- Indicates that the integral value never falls below zero.
-
-
- void Foo([NonNegativeValue] int value) {
- if (value == -1) { // Warning: Expression is always 'false'
- ...
- }
- }
-
-
-
-
- Indicates that the function argument should be a string literal and match
- one of the parameters of the caller function. This annotation is used for parameters
- like 'string paramName' parameter of the constructor.
-
-
- void Foo(string param) {
- if (param == null)
- throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol
- }
-
-
-
-
- Indicates that the method is contained in a type that implements
- System.ComponentModel.INotifyPropertyChanged interface and this method
- is used to notify that some property value changed.
-
-
- The method should be non-static and conform to one of the supported signatures:
-
- - NotifyChanged(string)
- - NotifyChanged(params string[])
- - NotifyChanged{T}(Expression{Func{T}})
- - NotifyChanged{T,U}(Expression{Func{T,U}})
- - SetProperty{T}(ref T, T, string)
-
-
-
- public class Foo : INotifyPropertyChanged {
- public event PropertyChangedEventHandler PropertyChanged;
-
- [NotifyPropertyChangedInvocator]
- protected virtual void NotifyChanged(string propertyName) { ... }
-
- string _name;
-
- public string Name {
- get { return _name; }
- set { _name = value; NotifyChanged("LastName"); /* Warning */ }
- }
- }
-
- Examples of generated notifications:
-
- - NotifyChanged("Property")
- - NotifyChanged(() => Property)
- - NotifyChanged((VM x) => x.Property)
- - SetProperty(ref myField, value, "Property")
-
-
-
-
-
- Describes dependency between method input and output.
-
-
- Function Definition Table syntax:
-
- - FDT ::= FDTRow [;FDTRow]*
- - FDTRow ::= Input => Output | Output <= Input
- - Input ::= ParameterName: Value [, Input]*
- - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value}
- - Value ::= true | false | null | notnull | canbenull
-
- If the method has a single input parameter, its name could be omitted.
- Using halt (or void/nothing, which is the same) for the method output
- means that the method doesn't return normally (throws or terminates the process).
- Value canbenull is only applicable for output parameters.
- You can use multiple [ContractAnnotation] for each FDT row, or use single attribute
- with rows separated by the semicolon. There is no notion of order rows, all rows are checked
- for applicability and applied per each program state tracked by the analysis engine.
-
-
-
- [ContractAnnotation("=> halt")]
- public void TerminationMethod()
-
-
- [ContractAnnotation("null <= param:null")] // reverse condition syntax
- public string GetName(string surname)
-
-
- [ContractAnnotation("s:null => true")]
- public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty()
-
-
- // A method that returns null if the parameter is null,
- // and not null if the parameter is not null
- [ContractAnnotation("null => null; notnull => notnull")]
- public object Transform(object data)
-
-
- [ContractAnnotation("=> true, result: notnull; => false, result: null")]
- public bool TryParse(string s, out Person result)
-
-
-
-
-
- Indicates whether the marked element should be localized.
-
-
- [LocalizationRequiredAttribute(true)]
- class Foo {
- string str = "my string"; // Warning: Localizable string
- }
-
-
-
-
- Indicates that the value of the marked type (or its derivatives)
- cannot be compared using '==' or '!=' operators and Equals()
- should be used instead. However, using '==' or '!=' for comparison
- with null is always permitted.
-
-
- [CannotApplyEqualityOperator]
- class NoEquality { }
-
- class UsesNoEquality {
- void Test() {
- var ca1 = new NoEquality();
- var ca2 = new NoEquality();
- if (ca1 != null) { // OK
- bool condition = ca1 == ca2; // Warning
- }
- }
- }
-
-
-
-
- When applied to a target attribute, specifies a requirement for any type marked
- with the target attribute to implement or inherit specific type or types.
-
-
- [BaseTypeRequired(typeof(IComponent)] // Specify requirement
- class ComponentAttribute : Attribute { }
-
- [Component] // ComponentAttribute requires implementing IComponent interface
- class MyComponent : IComponent { }
-
-
-
-
- Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library),
- so this symbol will be ignored by usage-checking inspections.
- You can use and
- to configure how this attribute is applied.
-
-
- [UsedImplicitly]
- public class TypeConverter {}
-
- public class SummaryData
- {
- [UsedImplicitly(ImplicitUseKindFlags.InstantiatedWithFixedConstructorSignature)]
- public SummaryData() {}
- }
-
- [UsedImplicitly(ImplicitUseTargetFlags.WithInheritors | ImplicitUseTargetFlags.Default)]
- public interface IService {}
-
-
-
-
- Can be applied to attributes, type parameters, and parameters of a type assignable from .
- When applied to an attribute, the decorated attribute behaves the same as .
- When applied to a type parameter or to a parameter of type ,
- indicates that the corresponding type is used implicitly.
-
-
-
-
- Specifies the details of implicitly used symbol when it is marked
- with or .
-
-
-
- Only entity marked with attribute considered used.
-
-
- Indicates implicit assignment to a member.
-
-
-
- Indicates implicit instantiation of a type with fixed constructor signature.
- That means any unused constructor parameters won't be reported as such.
-
-
-
- Indicates implicit instantiation of a type.
-
-
-
- Specifies what is considered to be used implicitly when marked
- with or .
-
-
-
- Members of the type marked with the attribute are considered used.
-
-
- Inherited entities are considered used.
-
-
- Entity marked with the attribute and all its members considered used.
-
-
-
- This attribute is intended to mark publicly available API,
- which should not be removed and so is treated as used.
-
-
-
-
- Tells the code analysis engine if the parameter is completely handled when the invoked method is on stack.
- If the parameter is a delegate, indicates that delegate can only be invoked during method execution
- (the delegate can be invoked zero or multiple times, but not stored to some field and invoked later,
- when the containing method is no longer on the execution stack).
- If the parameter is an enumerable, indicates that it is enumerated while the method is executed.
- If is true, the attribute will only takes effect if the method invocation is located under the 'await' expression.
-
-
-
-
- Require the method invocation to be used under the 'await' expression for this attribute to take effect on code analysis engine.
- Can be used for delegate/enumerable parameters of 'async' methods.
-
-
-
-
- Indicates that a method does not make any observable state changes.
- The same as System.Diagnostics.Contracts.PureAttribute.
-
-
- [Pure] int Multiply(int x, int y) => x * y;
-
- void M() {
- Multiply(123, 42); // Warning: Return value of pure method is not used
- }
-
-
-
-
- Indicates that the return value of the method invocation must be used.
-
-
- Methods decorated with this attribute (in contrast to pure methods) might change state,
- but make no sense without using their return value.
- Similarly to , this attribute
- will help to detect usages of the method when the return value is not used.
- Optionally, you can specify a message to use when showing warnings, e.g.
- [MustUseReturnValue("Use the return value to...")].
-
-
-
-
- This annotation allows to enforce allocation-less usage patterns of delegates for performance-critical APIs.
- When this annotation is applied to the parameter of delegate type, IDE checks the input argument of this parameter:
- * When lambda expression or anonymous method is passed as an argument, IDE verifies that the passed closure
- has no captures of the containing local variables and the compiler is able to cache the delegate instance
- to avoid heap allocations. Otherwise the warning is produced.
- * IDE warns when method name or local function name is passed as an argument as this always results
- in heap allocation of the delegate instance.
-
-
- In C# 9.0 code IDE would also suggest to annotate the anonymous function with 'static' modifier
- to make use of the similar analysis provided by the language/compiler.
-
-
-
-
- Indicates the type member or parameter of some type, that should be used instead of all other ways
- to get the value of that type. This annotation is useful when you have some "context" value evaluated
- and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one.
-
-
- class Foo {
- [ProvidesContext] IBarService _barService = ...;
-
- void ProcessNode(INode node) {
- DoSomething(node, node.GetGlobalServices().Bar);
- // ^ Warning: use value of '_barService' field
- }
- }
-
-
-
-
- Indicates that a parameter is a path to a file or a folder within a web project.
- Path can be relative or absolute, starting from web root (~).
-
-
-
-
- An extension method marked with this attribute is processed by code completion
- as a 'Source Template'. When the extension method is completed over some expression, its source code
- is automatically expanded like a template at call site.
-
-
- Template method body can contain valid source code and/or special comments starting with '$'.
- Text inside these comments is added as source code when the template is applied. Template parameters
- can be used either as additional method parameters or as identifiers wrapped in two '$' signs.
- Use the attribute to specify macros for parameters.
-
-
- In this example, the 'forEach' method is a source template available over all values
- of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block:
-
- [SourceTemplate]
- public static void forEach<T>(this IEnumerable<T> xs) {
- foreach (var x in xs) {
- //$ $END$
- }
- }
-
-
-
-
-
- Allows specifying a macro for a parameter of a source template.
-
-
- You can apply the attribute on the whole method or on any of its additional parameters. The macro expression
- is defined in the property. When applied on a method, the target
- template parameter is defined in the property. To apply the macro silently
- for the parameter, set the property value = -1.
-
-
- Applying the attribute on a source template method:
-
- [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")]
- public static void forEach<T>(this IEnumerable<T> collection) {
- foreach (var item in collection) {
- //$ $END$
- }
- }
-
- Applying the attribute on a template method parameter:
-
- [SourceTemplate]
- public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) {
- /*$ var $x$Id = "$newguid$" + x.ToString();
- x.DoSomething($x$Id); */
- }
-
-
-
-
-
- Allows specifying a macro that will be executed for a source template
- parameter when the template is expanded.
-
-
-
-
- Allows specifying which occurrence of the target parameter becomes editable when the template is deployed.
-
-
- If the target parameter is used several times in the template, only one occurrence becomes editable;
- other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence,
- use values >= 0. To make the parameter non-editable when the template is expanded, use -1.
-
-
-
-
- Identifies the target parameter of a source template if the
- is applied on a template method.
-
-
-
-
- Indicates how method, constructor invocation, or property access
- over collection type affects the contents of the collection.
- When applied to a return value of a method indicates if the returned collection
- is created exclusively for the caller (CollectionAccessType.UpdatedContent) or
- can be read/updated from outside (CollectionAccessType.Read | CollectionAccessType.UpdatedContent)
- Use to specify the access type.
-
-
- Using this attribute only makes sense if all collection methods are marked with this attribute.
-
-
- public class MyStringCollection : List<string>
- {
- [CollectionAccess(CollectionAccessType.Read)]
- public string GetFirstString()
- {
- return this.ElementAt(0);
- }
- }
- class Test
- {
- public void Foo()
- {
- // Warning: Contents of the collection is never updated
- var col = new MyStringCollection();
- string x = col.GetFirstString();
- }
- }
-
-
-
-
- Provides a value for the to define
- how the collection method invocation affects the contents of the collection.
-
-
-
- Method does not use or modify content of the collection.
-
-
- Method only reads content of the collection but does not modify it.
-
-
- Method can change content of the collection but does not add new elements.
-
-
- Method can add new elements to the collection.
-
-
-
- Indicates that the marked method is assertion method, i.e. it halts the control flow if
- one of the conditions is satisfied. To set the condition, mark one of the parameters with
- attribute.
-
-
-
-
- Indicates the condition parameter of the assertion method. The method itself should be
- marked by attribute. The mandatory argument of
- the attribute is the assertion type.
-
-
-
-
- Specifies assertion type. If the assertion method argument satisfies the condition,
- then the execution continues. Otherwise, execution is assumed to be halted.
-
-
-
- Marked parameter should be evaluated to true.
-
-
- Marked parameter should be evaluated to false.
-
-
- Marked parameter should be evaluated to null value.
-
-
- Marked parameter should be evaluated to not null value.
-
-
-
- Indicates that the marked method unconditionally terminates control flow execution.
- For example, it could unconditionally throw exception.
-
-
-
-
- Indicates that the method is a pure LINQ method, with postponed enumeration (like Enumerable.Select,
- .Where). This annotation allows inference of [InstantHandle] annotation for parameters
- of delegate type by analyzing LINQ method chains.
-
-
-
-
- Indicates that IEnumerable passed as a parameter is not enumerated.
- Use this annotation to suppress the 'Possible multiple enumeration of IEnumerable' inspection.
-
-
- static void ThrowIfNull<T>([NoEnumeration] T v, string n) where T : class
- {
- // custom check for null but no enumeration
- }
-
- void Foo(IEnumerable<string> values)
- {
- ThrowIfNull(values, nameof(values));
- var x = values.ToList(); // No warnings about multiple enumeration
- }
-
-
-
-
- Indicates that the marked parameter, field, or property is a regular expression pattern.
-
-
-
-
- Language of injected code fragment inside marked by string literal.
-
-
-
-
- Indicates that the marked parameter, field, or property is accepting a string literal
- containing code fragment in a language specified by the .
-
-
- void Foo([LanguageInjection(InjectedLanguage.CSS, Prefix = "body{", Suffix = "}")] string cssProps)
- {
- // cssProps should only contains a list of CSS properties
- }
-
-
-
- Specify a language of injected code fragment.
-
-
- Specify a string that "precedes" injected string literal.
-
-
- Specify a string that "follows" injected string literal.
-
-
-
- Prevents the Member Reordering feature from tossing members of the marked class.
-
-
- The attribute must be mentioned in your member reordering patterns.
-
-
Initializes a new instance of the class
diff --git a/ZZ_BarcpdeFromFont/bin/Debug/ZZ_BarcpdeFromFont.exe.config b/ZZ_BarcpdeFromFont/bin/Debug/ZZ_BarcpdeFromFont.exe.config
index 193aecc67..ac374055d 100644
--- a/ZZ_BarcpdeFromFont/bin/Debug/ZZ_BarcpdeFromFont.exe.config
+++ b/ZZ_BarcpdeFromFont/bin/Debug/ZZ_BarcpdeFromFont.exe.config
@@ -1,6 +1,20 @@
-
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ZZ_BarcpdeFromFont/bin/Debug/vbBarcodes.xml b/ZZ_BarcpdeFromFont/bin/Debug/vbBarcodes.xml
new file mode 100644
index 000000000..498c9a48b
--- /dev/null
+++ b/ZZ_BarcpdeFromFont/bin/Debug/vbBarcodes.xml
@@ -0,0 +1,26 @@
+
+
+
+
+vbBarcodes
+
+
+
+
+
+ A strongly-typed resource class, for looking up localized strings, etc.
+
+
+
+
+ Returns the cached ResourceManager instance used by this class.
+
+
+
+
+ Overrides the current thread's CurrentUICulture property for all
+ resource lookups using this strongly typed resource class.
+
+
+
+
diff --git a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.AssemblyReference.cache b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.AssemblyReference.cache
index b10212b8c..3dfbe04f0 100644
Binary files a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.AssemblyReference.cache and b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.AssemblyReference.cache differ
diff --git a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.CoreCompileInputs.cache b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.CoreCompileInputs.cache
index a7996969b..faa8184d1 100644
--- a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.CoreCompileInputs.cache
+++ b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-178d6a6354869d8cf7f9c627bf441e59c1c43aed288772763358de69240bb2a6
+529947434ad2c9cd2facb8230b38ca3b91bbcfe8cdfd688edacb228f819e1605
diff --git a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.FileListAbsolute.txt b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.FileListAbsolute.txt
index 2edf297cf..2736512c0 100644
--- a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.FileListAbsolute.txt
+++ b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.FileListAbsolute.txt
@@ -43,3 +43,8 @@ E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\Syncfusion.OfficeC
E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\Syncfusion.DocIO.Base.xml
E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\Syncfusion.Compression.Base.xml
E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\Syncfusion.OfficeChart.Base.xml
+E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\vbBarcodes.xml
+E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\Database.dll.config
+E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\Logging.dll.config
+E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\obj\Debug\ZZ_BarcpdeFromFont.csproj.SuggestedBindingRedirects.cache
+E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\obj\Debug\ZZ_BarcpdeFromFont.exe.config
diff --git a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.SuggestedBindingRedirects.cache b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.SuggestedBindingRedirects.cache
new file mode 100644
index 000000000..c29dde78d
--- /dev/null
+++ b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.SuggestedBindingRedirects.cache
@@ -0,0 +1 @@
+6d76e7a2caa84cc541daed57fe5afac7bb9484f5c33350578418a0d84207e06f
diff --git a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.exe.config b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.exe.config
new file mode 100644
index 000000000..ac374055d
--- /dev/null
+++ b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.exe.config
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ZZ_Signature_C/bin/Debug/DOCGEN.dll b/ZZ_Signature_C/bin/Debug/DOCGEN.dll
index e35cbe804..2ad6cfc6b 100644
Binary files a/ZZ_Signature_C/bin/Debug/DOCGEN.dll and b/ZZ_Signature_C/bin/Debug/DOCGEN.dll differ
diff --git a/ZZ_Signature_C/bin/Debug/DOCGEN.dll.config b/ZZ_Signature_C/bin/Debug/DOCGEN.dll.config
index 3751d1f0a..93babec67 100644
--- a/ZZ_Signature_C/bin/Debug/DOCGEN.dll.config
+++ b/ZZ_Signature_C/bin/Debug/DOCGEN.dll.config
@@ -38,6 +38,14 @@
+
+
+
+
+
+
+
+
diff --git a/ZZ_Signature_C/bin/Debug/DOCGEN.pdb b/ZZ_Signature_C/bin/Debug/DOCGEN.pdb
index feaecc3d2..2d2fa1abe 100644
Binary files a/ZZ_Signature_C/bin/Debug/DOCGEN.pdb and b/ZZ_Signature_C/bin/Debug/DOCGEN.pdb differ
diff --git a/ZZ_Signature_C/bin/Debug/Database.dll.config b/ZZ_Signature_C/bin/Debug/Database.dll.config
new file mode 100644
index 000000000..221bbe71f
--- /dev/null
+++ b/ZZ_Signature_C/bin/Debug/Database.dll.config
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ZZ_Signature_C/bin/Debug/Logging.dll b/ZZ_Signature_C/bin/Debug/Logging.dll
index 637453a90..980d7597b 100644
Binary files a/ZZ_Signature_C/bin/Debug/Logging.dll and b/ZZ_Signature_C/bin/Debug/Logging.dll differ
diff --git a/ZZ_Signature_C/bin/Debug/Logging.dll.config b/ZZ_Signature_C/bin/Debug/Logging.dll.config
new file mode 100644
index 000000000..3df69c5a5
--- /dev/null
+++ b/ZZ_Signature_C/bin/Debug/Logging.dll.config
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ZZ_Signature_C/bin/Debug/Logging.pdb b/ZZ_Signature_C/bin/Debug/Logging.pdb
index 8834ecd5f..75ce3d64b 100644
Binary files a/ZZ_Signature_C/bin/Debug/Logging.pdb and b/ZZ_Signature_C/bin/Debug/Logging.pdb differ
diff --git a/ZZ_Signature_C/bin/Debug/Model.dll b/ZZ_Signature_C/bin/Debug/Model.dll
index 74d2710ed..b2007c3c5 100644
Binary files a/ZZ_Signature_C/bin/Debug/Model.dll and b/ZZ_Signature_C/bin/Debug/Model.dll differ
diff --git a/ZZ_Signature_C/bin/Debug/Model.pdb b/ZZ_Signature_C/bin/Debug/Model.pdb
index 1f7611581..244081632 100644
Binary files a/ZZ_Signature_C/bin/Debug/Model.pdb and b/ZZ_Signature_C/bin/Debug/Model.pdb differ
diff --git a/ZZ_Signature_C/bin/Debug/OnDocOffice.dll b/ZZ_Signature_C/bin/Debug/OnDocOffice.dll
index 261b6a36a..776ea6b17 100644
Binary files a/ZZ_Signature_C/bin/Debug/OnDocOffice.dll and b/ZZ_Signature_C/bin/Debug/OnDocOffice.dll differ
diff --git a/ZZ_Signature_C/bin/Debug/OnDocOffice.pdb b/ZZ_Signature_C/bin/Debug/OnDocOffice.pdb
index 67c3a3d94..30c0f059f 100644
Binary files a/ZZ_Signature_C/bin/Debug/OnDocOffice.pdb and b/ZZ_Signature_C/bin/Debug/OnDocOffice.pdb differ
diff --git a/ZZ_Signature_C/bin/Debug/ZZ_Signature_C.exe b/ZZ_Signature_C/bin/Debug/ZZ_Signature_C.exe
index b77e28165..aa472315d 100644
Binary files a/ZZ_Signature_C/bin/Debug/ZZ_Signature_C.exe and b/ZZ_Signature_C/bin/Debug/ZZ_Signature_C.exe differ
diff --git a/ZZ_Signature_C/bin/Debug/ZZ_Signature_C.exe.config b/ZZ_Signature_C/bin/Debug/ZZ_Signature_C.exe.config
index 95bdff3d5..ac374055d 100644
--- a/ZZ_Signature_C/bin/Debug/ZZ_Signature_C.exe.config
+++ b/ZZ_Signature_C/bin/Debug/ZZ_Signature_C.exe.config
@@ -6,25 +6,13 @@
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/ZZ_Signature_C/bin/Debug/ZZ_Signature_C.pdb b/ZZ_Signature_C/bin/Debug/ZZ_Signature_C.pdb
index 884512eb7..018086de6 100644
Binary files a/ZZ_Signature_C/bin/Debug/ZZ_Signature_C.pdb and b/ZZ_Signature_C/bin/Debug/ZZ_Signature_C.pdb differ
diff --git a/ZZ_Signature_C/bin/Debug/vbBarcodes.xml b/ZZ_Signature_C/bin/Debug/vbBarcodes.xml
new file mode 100644
index 000000000..498c9a48b
--- /dev/null
+++ b/ZZ_Signature_C/bin/Debug/vbBarcodes.xml
@@ -0,0 +1,26 @@
+
+
+
+
+vbBarcodes
+
+
+
+
+
+ A strongly-typed resource class, for looking up localized strings, etc.
+
+
+
+
+ Returns the cached ResourceManager instance used by this class.
+
+
+
+
+ Overrides the current thread's CurrentUICulture property for all
+ resource lookups using this strongly typed resource class.
+
+
+
+
diff --git a/ZZ_Signature_C/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/ZZ_Signature_C/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index 8027ff703..2517a9f32 100644
Binary files a/ZZ_Signature_C/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/ZZ_Signature_C/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.AssemblyReference.cache b/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.AssemblyReference.cache
index 19459919a..40d4501fe 100644
Binary files a/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.AssemblyReference.cache and b/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.AssemblyReference.cache differ
diff --git a/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.CoreCompileInputs.cache b/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.CoreCompileInputs.cache
index 17e4afaf0..3e513fe5a 100644
--- a/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.CoreCompileInputs.cache
+++ b/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-292e2471de2572ea173c4c1508ba4d9c64f86805fcc79ba33de09eacaa73549b
+bfb8bb109eaf03729289acfdf4e178032a54e3ab2a80b243af10a99b3f658214
diff --git a/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.FileListAbsolute.txt b/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.FileListAbsolute.txt
index 41795ef67..81919c4a7 100644
--- a/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.FileListAbsolute.txt
+++ b/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.FileListAbsolute.txt
@@ -198,3 +198,8 @@ E:\Software-Projekte\OnDoc\OnDoc\ZZ_Signature_C\bin\Debug\Syncfusion.Spreadsheet
E:\Software-Projekte\OnDoc\OnDoc\ZZ_Signature_C\bin\Debug\Syncfusion.Tools.Base.xml
E:\Software-Projekte\OnDoc\OnDoc\ZZ_Signature_C\bin\Debug\Syncfusion.Tools.Windows.xml
E:\Software-Projekte\OnDoc\OnDoc\ZZ_Signature_C\bin\Debug\Syncfusion.TreeMap.Windows.xml
+E:\Software-Projekte\OnDoc\OnDoc\ZZ_Signature_C\bin\Debug\Database.dll.config
+E:\Software-Projekte\OnDoc\OnDoc\ZZ_Signature_C\bin\Debug\vbBarcodes.xml
+E:\Software-Projekte\OnDoc\OnDoc\ZZ_Signature_C\bin\Debug\Logging.dll.config
+E:\Software-Projekte\OnDoc\OnDoc\ZZ_Signature_C\obj\Debug\ZZ_Signature_C.csproj.SuggestedBindingRedirects.cache
+E:\Software-Projekte\OnDoc\OnDoc\ZZ_Signature_C\obj\Debug\ZZ_Signature_C.exe.config
diff --git a/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.SuggestedBindingRedirects.cache b/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.SuggestedBindingRedirects.cache
index 46b60025d..c29dde78d 100644
--- a/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.SuggestedBindingRedirects.cache
+++ b/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.csproj.SuggestedBindingRedirects.cache
@@ -1 +1 @@
-ad5a4f1c983a88f15e6e88b0e707c86692ebc918ce7f63dd6fdb102a6f0ceb64
+6d76e7a2caa84cc541daed57fe5afac7bb9484f5c33350578418a0d84207e06f
diff --git a/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.exe b/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.exe
index b77e28165..aa472315d 100644
Binary files a/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.exe and b/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.exe differ
diff --git a/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.exe.config b/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.exe.config
index 95bdff3d5..ac374055d 100644
--- a/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.exe.config
+++ b/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.exe.config
@@ -6,25 +6,13 @@
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.pdb b/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.pdb
index 884512eb7..018086de6 100644
Binary files a/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.pdb and b/ZZ_Signature_C/obj/Debug/ZZ_Signature_C.pdb differ
diff --git a/ZZ_Signature_C/obj/Debug/build.force b/ZZ_Signature_C/obj/Debug/build.force
new file mode 100644
index 000000000..e69de29bb
diff --git a/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/.signature.p7s b/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/.signature.p7s
new file mode 100644
index 000000000..1e45824c7
Binary files /dev/null and b/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/.signature.p7s differ
diff --git a/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/Microsoft.AspNet.WebApi.Tracing.5.3.0.nupkg b/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/Microsoft.AspNet.WebApi.Tracing.5.3.0.nupkg
new file mode 100644
index 000000000..30fa15f8a
Binary files /dev/null and b/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/Microsoft.AspNet.WebApi.Tracing.5.3.0.nupkg differ
diff --git a/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/NET.icon.png b/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/NET.icon.png
new file mode 100644
index 000000000..a3b74d1de
Binary files /dev/null and b/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/NET.icon.png differ
diff --git a/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/NET_Library_EULA_ENU.txt b/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/NET_Library_EULA_ENU.txt
new file mode 100644
index 000000000..fa2d068be
--- /dev/null
+++ b/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/NET_Library_EULA_ENU.txt
@@ -0,0 +1,125 @@
+MICROSOFT SOFTWARE LICENSE TERMS
+MICROSOFT .NET LIBRARY
+These license terms are an agreement between Microsoft Corporation (or based on where you live, one
+of its affiliates) and you. They apply to the software named above. The terms also apply to any Microsoft
+services or updates for the software, except to the extent those have different terms.
+IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW.
+1. INSTALLATION AND USE RIGHTS.
+You may install and use any number of copies of the software to design, develop and test you’re
+applications. You may modify, copy, distribute or deploy any .js files contained in the software as
+part of your applications.
+2. THIRD PARTY COMPONENTS. The software may include third party components with separate legal
+notices or governed by other agreements, as may be described in the ThirdPartyNotices file(s)
+accompanying the software.
+3. ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.
+a. DISTRIBUTABLE CODE. In addition to the .js files described above, the software is comprised
+of Distributable Code. “Distributable Code” is code that you are permitted to distribute in
+programs you develop if you comply with the terms below.
+i. Right to Use and Distribute.
+• You may copy and distribute the object code form of the software.
+• Third Party Distribution. You may permit distributors of your programs to copy and
+distribute the Distributable Code as part of those programs.
+ii. Distribution Requirements. For any Distributable Code you distribute, you must
+• use the Distributable Code in your programs and not as a standalone distribution;
+• require distributors and external end users to agree to terms that protect it at least as
+much as this agreement;
+• display your valid copyright notice on your programs; and
+• indemnify, defend, and hold harmless Microsoft from any claims, including attorneys’
+fees, related to the distribution or use of your applications, except to the extent that any
+claim is based solely on the Distributable Code.
+iii. Distribution Restrictions. You may not
+• alter any copyright, trademark or patent notice in the Distributable Code;
+• use Microsoft’s trademarks in your programs’ names or in a way that suggests your
+programs come from or are endorsed by Microsoft;
+• include Distributable Code in malicious, deceptive or unlawful programs; or
+• modify or distribute the source code of any Distributable Code so that any part of it
+becomes subject to an Excluded License. An Excluded License is one that requires, as a
+condition of use, modification or distribution, that
+• the code be disclosed or distributed in source code form; or
+• others have the right to modify it.
+
+
+4. DATA.
+a. Data Collection. The software may collect information about you and your use of the software,
+and send that to Microsoft. Microsoft may use this information to provide services and improve
+our products and services. You may opt-out of many of these scenarios, but not all, as described
+in the product documentation. There are also some features in the software that may enable
+you and Microsoft to collect data from users of your applications. If you use these features, you
+must comply with applicable law, including providing appropriate notices to users of your
+applications together with a copy of Microsoft’s privacy statement. Our privacy statement is
+located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data
+collection and use in the help documentation and our privacy statement. Your use of the software
+operates as your consent to these practices.
+b. Processing of Personal Data. To the extent Microsoft is a processor or subprocessor of
+personal data in connection with the software, Microsoft makes the commitments in the
+European Union General Data Protection Regulation Terms of the Online Services Terms to all
+customers effective May 25, 2018, at https://aka.ms/aspnet/gdpr.
+5. SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights
+to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights
+despite this limitation, you may use the software only as expressly permitted in this agreement. In
+doing so, you must comply with any technical limitations in the software that only allow you to use it
+in certain ways. You may not
+• work around any technical limitations in the software;
+• reverse engineer, decompile or disassemble the software, or otherwise attempt to derive the
+source code for the software, except and to the extent required by third party licensing terms
+governing use of certain open source components that may be included in the software;
+• remove, minimize, block or modify any notices of Microsoft or its suppliers in the software;
+• use the software in any way that is against the law; or
+• share, publish, rent or lease the software, provide the software as a stand-alone offering for
+others to use, or transfer the software or this agreement to any third party.
+6. BACKUP COPY. You may make one backup copy of the software. You may use it only to reinstall
+the software.
+7. DOCUMENTATION. Any person that has valid access to your computer or internal network may
+copy and use the documentation for your internal, reference purposes.
+8. EXPORT RESTRICTIONS. You must comply with all domestic and international export laws and
+regulations that apply to the software, which include restrictions on destinations, end users, and end
+use. For further information on export restrictions, visit www.microsoft.com/exporting.
+9. SUPPORT SERVICES. Because this software is “as is,” we may not provide support services for it.
+10. ENTIRE AGREEMENT. This agreement, and the terms for supplements, updates, Internet-based
+services and support services that you use, are the entire agreement for the software and support
+services.
+11. APPLICABLE LAW. If you acquired the software in the United States, Washington law applies to
+interpretation of and claims for breach of this agreement, and the laws of the state where you live
+apply to all other claims. If you acquired the software in any other country, its laws apply.
+12. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain legal rights.
+You may have other rights, including consumer rights, under the laws of your state or country.
+Separate and apart from your relationship with Microsoft, you may also have rights with respect to
+the party from which you acquired the software. This agreement does not change those other rights
+if the laws of your state or country do not permit it to do so. For example, if you acquired the
+software in one of the below regions, or mandatory country law applies, then the following provisions
+apply to you:
+a) Australia. You have statutory guarantees under the Australian Consumer Law and nothing in
+this agreement is intended to affect those rights.
+b) Canada. If you acquired this software in Canada, you may stop receiving updates by turning off
+the automatic update feature, disconnecting your device from the Internet (if and when you re-
+connect to the Internet, however, the software will resume checking for and installing updates),
+or uninstalling the software. The product documentation, if any, may also specify how to turn off
+updates for your specific device or software.
+c) Germany and Austria.
+(i) Warranty. The software will perform substantially as described in any Microsoft
+materials that accompany it. However, Microsoft gives no contractual guarantee in relation to the
+software.
+(ii) Limitation of Liability. In case of intentional conduct, gross negligence, claims based
+on the Product Liability Act, as well as in case of death or personal or physical injury, Microsoft is
+liable according to the statutory law.
+Subject to the foregoing clause (ii), Microsoft will only be liable for slight negligence if Microsoft is in
+breach of such material contractual obligations, the fulfillment of which facilitate the due
+performance of this agreement, the breach of which would endanger the purpose of this agreement
+and the compliance with which a party may constantly trust in (so-called "cardinal obligations"). In
+other cases of slight negligence, Microsoft will not be liable for slight negligence
+13. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS-IS.” YOU BEAR THE RISK
+OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR
+CONDITIONS. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT
+EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+PARTICULAR PURPOSE AND NON-INFRINGEMENT.
+14. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER
+FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU
+CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS,
+SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.
+This limitation applies to (a) anything related to the software, services, content (including code) on
+third party Internet sites, or third party applications; and (b) claims for breach of contract, breach of
+warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by
+applicable law.
+It also applies even if Microsoft knew or should have known about the possibility of the damages.
+The above limitation or exclusion may not apply to you because your state or country may not allow
+the exclusion or limitation of incidental, consequential or other damages.
diff --git a/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/ReadMe.txt b/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/ReadMe.txt
new file mode 100644
index 000000000..4ba7a4771
--- /dev/null
+++ b/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/ReadMe.txt
@@ -0,0 +1,18 @@
+Microsoft ASP.NET Web API Tracing
+=================================
+
+This package allows the ASP.NET Web API framework to trace to System.Diagnostics.Trace.
+
+To enable tracing in your application please add the following line of code
+to your startup code.
+
+If using C#, add the following line to WebApiConfig.cs (Global.asax.cs in an MVC 5 project):
+ config.EnableSystemDiagnosticsTracing();
+
+If using Visual Basic, add the following line to WebApiConfig.vb (Global.asax.vb in an MVC 5 project):
+ config.EnableSystemDiagnosticsTracing()
+
+where 'config' is the HttpConfiguration instance for your application.
+
+For additional information on debugging and tracing in ASP.NET Web API, refer to:
+ http://go.microsoft.com/fwlink/?LinkId=269874
diff --git a/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/lib/net45/System.Web.Http.Tracing.dll b/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/lib/net45/System.Web.Http.Tracing.dll
new file mode 100644
index 000000000..131784f09
Binary files /dev/null and b/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/lib/net45/System.Web.Http.Tracing.dll differ
diff --git a/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/lib/net45/System.Web.Http.Tracing.xml b/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/lib/net45/System.Web.Http.Tracing.xml
new file mode 100644
index 000000000..e7be271d1
--- /dev/null
+++ b/packages/Microsoft.AspNet.WebApi.Tracing.5.3.0/lib/net45/System.Web.Http.Tracing.xml
@@ -0,0 +1,58 @@
+
+
+
+ System.Web.Http.Tracing
+
+
+
+ This static class contains helper methods related to the registration of instances.
+
+
+ Creates and registers an implementation to use for this application.
+ The which was created and registered.
+ The for which to register the created trace writer.
+
+
+ Implementation of that traces to
+
+
+
+ Formats the contents of the given into a single string containing comma-separated name-value pairs for each property.
+ A string containing comma-separated name-value pairs.
+ The from which to produce the result.
+
+
+ Formats a for the trace.
+ The formatted as a string
+ The
+
+
+ Formats the given into a string describing either the initial receipt of the incoming request or the final send of the response, depending on .
+ A string containing comma-separated name-value pairs.
+ The from which to produce the result.
+
+
+ Gets or sets a value indicating whether the formatted message should be the verbose format, meaning it displays all fields of the .
+ true means all fields will be traced, false means only minimal information will be traced. The default value is false.
+
+
+ Gets or sets the minimum trace level.
+ Any below this level will be ignored. The default for this property is .
+
+
+ Writes a trace to if the is greater than or equal .
+ The associated with this trace. It may be null but the resulting trace will contain no correlation ID.
+ The category for the trace. This can be any user-defined value. It is not interpreted by this implementation but is written to the trace.
+ The of this trace. If it is less than , this trace request will be ignored.
+ The user callback to invoke to fill in a with additional information to add to the trace.
+
+
+ Gets or sets the to which the traces will be sent.
+ This property allows a custom to be used when writing the traces. This allows an application to configure and use its own other than the default . If the value is null, this trace writer will send traces to .
+
+
+ Examines the given to determine whether it contains an and if so, modifies the to capture more detailed information.
+ The to examine and modify.
+
+
+
\ No newline at end of file
diff --git a/vbBarcodes/bin/Debug/Database.dll.config b/vbBarcodes/bin/Debug/Database.dll.config
new file mode 100644
index 000000000..221bbe71f
--- /dev/null
+++ b/vbBarcodes/bin/Debug/Database.dll.config
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vbBarcodes/bin/Debug/Logging.dll b/vbBarcodes/bin/Debug/Logging.dll
index 2d6fd3221..980d7597b 100644
Binary files a/vbBarcodes/bin/Debug/Logging.dll and b/vbBarcodes/bin/Debug/Logging.dll differ
diff --git a/vbBarcodes/bin/Debug/Logging.dll.config b/vbBarcodes/bin/Debug/Logging.dll.config
new file mode 100644
index 000000000..3df69c5a5
--- /dev/null
+++ b/vbBarcodes/bin/Debug/Logging.dll.config
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vbBarcodes/bin/Debug/Logging.pdb b/vbBarcodes/bin/Debug/Logging.pdb
index 8834ecd5f..75ce3d64b 100644
Binary files a/vbBarcodes/bin/Debug/Logging.pdb and b/vbBarcodes/bin/Debug/Logging.pdb differ
diff --git a/vbBarcodes/bin/Debug/Model.dll b/vbBarcodes/bin/Debug/Model.dll
index 74d2710ed..b2007c3c5 100644
Binary files a/vbBarcodes/bin/Debug/Model.dll and b/vbBarcodes/bin/Debug/Model.dll differ
diff --git a/vbBarcodes/bin/Debug/Model.pdb b/vbBarcodes/bin/Debug/Model.pdb
index 1f7611581..244081632 100644
Binary files a/vbBarcodes/bin/Debug/Model.pdb and b/vbBarcodes/bin/Debug/Model.pdb differ
diff --git a/vbBarcodes/bin/Debug/NLog.Database.dll b/vbBarcodes/bin/Debug/NLog.Database.dll
index 432bb42ad..1d7524049 100644
Binary files a/vbBarcodes/bin/Debug/NLog.Database.dll and b/vbBarcodes/bin/Debug/NLog.Database.dll differ
diff --git a/vbBarcodes/bin/Debug/NLog.dll b/vbBarcodes/bin/Debug/NLog.dll
index bc10e37b6..fefd19e77 100644
Binary files a/vbBarcodes/bin/Debug/NLog.dll and b/vbBarcodes/bin/Debug/NLog.dll differ
diff --git a/vbBarcodes/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/vbBarcodes/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index fe654694a..48fc0c905 100644
Binary files a/vbBarcodes/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/vbBarcodes/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/vbBarcodes/obj/Debug/build.force b/vbBarcodes/obj/Debug/build.force
new file mode 100644
index 000000000..e69de29bb
diff --git a/vbBarcodes/obj/Debug/vbBarcodes.vbproj.AssemblyReference.cache b/vbBarcodes/obj/Debug/vbBarcodes.vbproj.AssemblyReference.cache
index cb329c461..0ee48d9a7 100644
Binary files a/vbBarcodes/obj/Debug/vbBarcodes.vbproj.AssemblyReference.cache and b/vbBarcodes/obj/Debug/vbBarcodes.vbproj.AssemblyReference.cache differ
diff --git a/vbBarcodes/obj/Debug/vbBarcodes.vbproj.CoreCompileInputs.cache b/vbBarcodes/obj/Debug/vbBarcodes.vbproj.CoreCompileInputs.cache
index aad78c49b..61d29a383 100644
--- a/vbBarcodes/obj/Debug/vbBarcodes.vbproj.CoreCompileInputs.cache
+++ b/vbBarcodes/obj/Debug/vbBarcodes.vbproj.CoreCompileInputs.cache
@@ -1 +1 @@
-75971f8adf5489ea475f3bcef42885347d08df8d5c150741162bd2e0971449e9
+f1377181416bab04684673d46931f495ab6650d9f3342ed9cb29a95e69d3c94b
diff --git a/vbBarcodes/obj/Debug/vbBarcodes.vbproj.FileListAbsolute.txt b/vbBarcodes/obj/Debug/vbBarcodes.vbproj.FileListAbsolute.txt
index f1c866501..57f58f9ba 100644
--- a/vbBarcodes/obj/Debug/vbBarcodes.vbproj.FileListAbsolute.txt
+++ b/vbBarcodes/obj/Debug/vbBarcodes.vbproj.FileListAbsolute.txt
@@ -32,3 +32,5 @@ E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\FastReport.DataVisualizati
E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\FastReport.Editor.dll
E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\BarcodeLib.pdb
E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\FastReport.xml
+E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\Database.dll.config
+E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\Logging.dll.config
diff --git a/zz_api_doccreate_demo/obj/Debug/zz_api_doccreate_demo.csproj.AssemblyReference.cache b/zz_api_doccreate_demo/obj/Debug/zz_api_doccreate_demo.csproj.AssemblyReference.cache
index 5da894a31..58eda550a 100644
Binary files a/zz_api_doccreate_demo/obj/Debug/zz_api_doccreate_demo.csproj.AssemblyReference.cache and b/zz_api_doccreate_demo/obj/Debug/zz_api_doccreate_demo.csproj.AssemblyReference.cache differ