public void OpenHost() { LoggingEvent.Debug("Open host"); thread = new Thread(ThreadMethod); thread.IsBackground = true; thread.Start(); }
private void ThreadMethod() { LoggingEvent.Debug("Create cooperation thread"); //FunctionCache functionCache = new FunctionCache(); while (true) { Thread.Sleep(10000); } }
public static void LogDebug(string message) { LoggingEvent.Debug(message); }
public static void LogDebug(string message, Exception exception) { LoggingEvent.Debug(message, exception); }
public string SomeOperation(string input) { LoggingEvent.Debug("Polecenie restowe"); return("Testinho"); }