Adds logging into the extension