Missing import in example
`import logging` is required in the example. Change-Id: I92777da13b64592d4fb064c3ee0fc9507360ca0f
This commit is contained in:
@@ -72,6 +72,7 @@ code. Using the logging framework is very simple.
|
|||||||
|
|
||||||
# myapp/myapp/controllers/root.py
|
# myapp/myapp/controllers/root.py
|
||||||
from pecan import expose
|
from pecan import expose
|
||||||
|
import logging
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user