Missing import in example

`import logging` is required in the example.

Change-Id: I92777da13b64592d4fb064c3ee0fc9507360ca0f
This commit is contained in:
Stanislaw Pitucha
2014-05-27 16:33:15 +01:00
parent 9cea1bb009
commit 8bfb403b2b

View File

@@ -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__)