I am recently using Nlog in an ASP.Net project for a client with good success. I need to connect to an existing application that has its own event log management and provide them with a copy of my log information.
Is there any way to get the strings that I provided to Nlog using any of the log functions?
Example:
logger.Info("My info");
logger.Debug("My debug");
logger.Error("My error");
logger.Warn("My warn");
List<string> messages = logger.getStrings() <-- this is what I need
How I can get strings "My info", "My debug", "My error" and "My warn" as an array or List<>?