Add basic logging support