Add logging support for operators