From c8134ea8852d6f1207c2eca5059d9df5794bf8fc Mon Sep 17 00:00:00 2001 From: Faisal Shahzad <84210709+seowings@users.noreply.github.com> Date: Fri, 6 Oct 2023 23:52:47 +0200 Subject: [PATCH] Update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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/).