summaryrefslogtreecommitdiff
path: root/docs/source/logging.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/logging.rst')
-rw-r--r--docs/source/logging.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/source/logging.rst b/docs/source/logging.rst
index 7494a2e..940c7af 100644
--- a/docs/source/logging.rst
+++ b/docs/source/logging.rst
@@ -72,6 +72,7 @@ code. Using the logging framework is very simple.
# myapp/myapp/controllers/root.py
from pecan import expose
+ import logging
logger = logging.getLogger(__name__)