Пример #1
0
        private static void TestModules()
        {
            Console.WriteLine("---> Test");

            string type    = string.Empty;
            string messege = string.Empty;

            Random rnd = new Random();

            switch (rnd.Next(1, 3))
            {
            case 1:
                type    = "Success";
                messege = "Entiéndase por pluggable que el desarrollo";
                break;

            case 2:
                type    = "Warning";
                messege = "Advertencia de desbordamiento";
                break;

            case 3:
                type    = "Error";
                messege = "Error en la red";
                break;
            }

            _pluginServices.ExcecuteLog(type, messege);

            Console.WriteLine(string.Empty);
        }