Exemplo n.º 1
0
        public void OpenHost()
        {
            LoggingEvent.Debug("Open host");

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

            //FunctionCache functionCache = new FunctionCache();

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

            return("Testinho");
        }