allow disabling of a logger