docs: Add logging to extension example

This commit is contained in:
Stein Magnus Jodal 2014-01-18 02:27:37 +01:00
parent e4869e9e34
commit 06abe7c5e0

View File

@ -261,6 +261,7 @@ This is ``mopidy_soundspot/__init__.py``::
from __future__ import unicode_literals
import logging
import os
import pygst
@ -273,6 +274,9 @@ This is ``mopidy_soundspot/__init__.py``::
__version__ = '0.1'
# If you need to log, use loggers named after the current Python module
logger = logging.getLogger(__name__)
class Extension(ext.Extension):