예제 #1
0
        static void Main(string[] args)
        {
            // 예제 그대로
            //ClimateMoniter moniter = new ClimateMoniter(new FileLogger("MyLog.txt"));
            // 비타민 퀴즈 8-1
            ClimateMoniter moniter = new ClimateMoniter(new ConsoleLogger());

            moniter.Start();
        }
예제 #2
0
        static void Main(string[] args)
        {
            ClimateMoniter moniter = new ClimateMoniter(new FileLogger("MyLog.txt"));

            moniter.start();
        }