summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorStanislaw Pitucha <stanislaw.pitucha@hp.com>2014-05-27 16:33:15 +0100
committerStanislaw Pitucha <stanislaw.pitucha@hp.com>2014-05-27 16:36:01 +0100
commit8bfb403b2bce37f5eb41855053b600403b1538b8 (patch)
tree8f9924af214497faa180849d9ecd1cccef2b61cf /docs
parent9cea1bb00943c89a6fc1e83434c39493a31ace9d (diff)
downloadpecan-8bfb403b2bce37f5eb41855053b600403b1538b8.tar.gz
Missing import in example
`import logging` is required in the example. Change-Id: I92777da13b64592d4fb064c3ee0fc9507360ca0f
Diffstat (limited to 'docs')
-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__)