Most classes uses both the logger and the rconf. In general, I have not seen a good way of handling these "global objects" elegantly.