added the old enableLog interface and helper types