Add #write and #log methods to Logger