Updated logging example and docs