private void LogNConsole(string logText) { NLogConsole nc = new NLogConsole(); nc.SetConfigFile(); nc.WriteLog(logText); }
public static void LogNTest() { // Class1.Log(); string fileLogPath = @"D:\hata\110.log"; NLogFile nf = new NLogFile(); nf.LogFilePath(fileLogPath); nf.SetConfigFile(); nf.WriteLog("Hello World 12 !"); NLogConsole nc = new NLogConsole(); nc.SetConfigFile(); nc.WriteLog("Hello World !"); }