static void Main(string[] args)
        {
            ExceptionLogEntry exlogEntry = new ExceptionLogEntry();
            SimpleLogEntry simpleLogEntry = new SimpleLogEntry();

            var dbsaver = new DatabaseLogSaver();
            dbsaver.SaveLogEntry(simpleLogEntry);
            dbsaver.SaveLogEntry(exlogEntry);
            Console.ReadLine();
        }
 private void SaveException(ExceptionLogEntry logEntry)
 {
     Console.WriteLine("Exception was saved");
 }
 void ILogEntryVisitor.Visit(ExceptionLogEntry exceptionLogEntry)
 {
     SaveException(exceptionLogEntry);
 }