private static void testGetEntries(ISuperLoggingConnection conn, bool printEntries)
        {
            int counter = 0;
            ISuperLoggingCookie cookie = new SuperLoggingCookie();
            uint pageSize = 100;
            ISuperLogEntryList list;

            do
            {
                list = conn.getPagedEntries(cookie, pageSize);
                counter += list.getCount();
            } while (list.getCount() == pageSize);

            list = conn.getAllEntries();

            if (printEntries)
            {
                foreach (ISuperLogEntry e in list)
                {
                    Console.WriteLine(e);
                }
            }

            Console.WriteLine("GetPagedEntries: " + counter + ", GetAllEntries: " + list.getCount());
            return;
        }
        private static void testClear(ISuperLoggingConnection conn)
        {
            conn.clear();
            ISuperLogEntryList list = conn.getAllEntries();
            Console.WriteLine("GetAllEntries after clear: " + list.getCount());

            conn.clear();
            ISuperLoggingCookie cookie = new SuperLoggingCookie();
            uint pageSize = 100;
            list = conn.getPagedEntries(cookie, pageSize);
            Console.WriteLine("GetPagedEntries after clear: " + list.getCount());

            return;
        }