private void Log(LogNode node) { try { dataBase.ExecuteCommand(node.ToDataBaseCommand()); Console.WriteLine("LogManaget log successful " + node.ToDataBaseCommand()); } catch (Exception ex) { Console.WriteLine("LogManager Exception: \n" + node.ToDataBaseCommand() + "\n" + ex.ToString()); } }
protected string ExecuteCommand(string sqlCommand) { return(dataBase.ExecuteCommand(sqlCommand)); }