MDL-43759 logging: Add some abstract classes to the traits to force their implementation by the store