MDL-34055 add bulk DB->insert_records() method
MDL-43759 logging: Add a abstract class for readers