diff --git a/README.md b/README.md index e821758..2278269 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,18 @@ This package is available at ``pypi`` and you can install it with ``pip install Once installed, you can implement customized workflows. Here is an example of post processing simply-static-zip file. ```python +import logging + from staticwordpress.core.workflow import Workflow from staticwordpress.core.constants import SOURCE, HOST +# enable logging for all functions. +logging.basicConfig( + format="%(asctime)s - %(levelname)s - %(message)s", + level=logging.DEBUG, + stream=sys.stdout, +) + swp = Workflow() swp.create_project( project_name_="simply-static-zip-deploy", @@ -66,4 +75,4 @@ Icons used in this project are obtained from Google [Fonts Material Symbols](htt ## About Us -This work is a collaborative effort of [seowings](https://www.seowings.org/), and [serpwings](https://serpwings.com/). \ No newline at end of file +This work is a collaborative effort of [seowings](https://www.seowings.org/), and [serpwings](https://serpwings.com/).