Merge branch 'master' into v3.1
大石头 authored at 2024-07-13 19:03:18
422.00 B
Stardust
using System;
using NewLife.Log;

namespace StarGateway
{
    class Program
    {
        public static void Main(String[] args)
        {
            XTrace.UseConsole();

#if DEBUG
            //DefaultTracer.Instance = new DefaultTracer { Log = XTrace.Log };
#endif

            var host = new Host();
            host.Add<InitService>();
            host.Add<MyService>();

            host.Run();
        }
    }
}