![]() Logger.Fatal("Fatal: You are run over by the bus.") Logger.Error("Error: You get on the wrong bus.") Logger.Warn("Warn: You're playing on the phone and not looking up for your bus") Logger.Info("Info: What bus station you're at.") Logger.Debug("Debug: Where are you going and why?") ![]() Logger.Trace("Trace: The chatter of people on the street") Logger logger = LogManager.GetLogger("f") ![]() = new (assemblyFolder + " fig", true) ![]() String assemblyFolder = Path.GetDirectoryName(currentAssembly.Location) You could load the configuration file programmatically with this code snippet: Assembly currentAssembly = Assembly.GetExecutingAssembly() The problem is that NLog cannot find the configuration file for VSPackage. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |