Add basic logging support.