Exemplo n.º 1
0
        private static void Main(string[] args)
        {
            ILogTarget dbLog = new DatabaseLogAdapter();
            dbLog.Write();

            ILogTarget fileLog = new FileLogAdapter();
            fileLog.Write();

            Console.ReadLine();
        }
Exemplo n.º 2
0
        private static void Main(string[] args)
        {
            ILogTarget dbLog = new DatabaseLogAdapter();

            dbLog.Write();

            ILogTarget fileLog = new FileLogAdapter();

            fileLog.Write();

            Console.ReadLine();
        }