add logger feature