Example #1
0
        public void OpenHost()
        {
            LoggingEvent.Debug("Open host");

            thread = new Thread(ThreadMethod);
            thread.IsBackground = true;
            thread.Start();
        }
Example #2
0
        private void ThreadMethod()
        {
            LoggingEvent.Debug("Create cooperation thread");

            //FunctionCache functionCache = new FunctionCache();

            while (true)
            {
                Thread.Sleep(10000);
            }
        }
Example #3
0
 public static void LogDebug(string message)
 {
     LoggingEvent.Debug(message);
 }
Example #4
0
 public static void LogDebug(string message, Exception exception)
 {
     LoggingEvent.Debug(message, exception);
 }
Example #5
0
        public string SomeOperation(string input)
        {
            LoggingEvent.Debug("Polecenie restowe");

            return("Testinho");
        }