config: Fix review comments
This commit is contained in:
parent
5c833e106b
commit
3b41b26880
@ -128,16 +128,16 @@ Logging configuration
|
|||||||
The ``loglevels`` config section can be used to change the log level for
|
The ``loglevels`` config section can be used to change the log level for
|
||||||
specific parts of Mopidy during development or debugging. Each key in the
|
specific parts of Mopidy during development or debugging. Each key in the
|
||||||
config section should match the name of a logger. The value is the log
|
config section should match the name of a logger. The value is the log
|
||||||
level to use for that logger, one of ``black``, ``red``, ``green``,
|
level to use for that logger, one of ``debug``, ``info``, ``warning``,
|
||||||
``yellow``, ``blue``, ``magenta``, ``cyan`` or ``white``.
|
``error``, or ``critical``.
|
||||||
|
|
||||||
.. confval:: logcolors/*
|
.. confval:: logcolors/*
|
||||||
|
|
||||||
The ``logcolors`` config section can be used to change the log color for
|
The ``logcolors`` config section can be used to change the log color for
|
||||||
specific parts of Mopidy during development or debugging. Each key in the
|
specific parts of Mopidy during development or debugging. Each key in the
|
||||||
config section should match the name of a logger. The value is the log
|
config section should match the name of a logger. The value is the color
|
||||||
level to use for that logger, one of ``debug``, ``info``, ``warning``,
|
to use for that logger, one of ``black``, ``red``, ``green``, ``yellow``,
|
||||||
``error``, or ``critical``.
|
``blue``, ``magenta``, ``cyan`` or ``white``.
|
||||||
|
|
||||||
.. _the Python logging docs: http://docs.python.org/2/library/logging.config.html
|
.. _the Python logging docs: http://docs.python.org/2/library/logging.config.html
|
||||||
|
|
||||||
|
|||||||
@ -95,7 +95,7 @@ class ConfigSchema(collections.OrderedDict):
|
|||||||
|
|
||||||
|
|
||||||
class MapConfigSchema(object):
|
class MapConfigSchema(object):
|
||||||
"""Special cased schema for handling mulitple keys with the same type.
|
"""Schema for handling multiple unknown keys with the same type.
|
||||||
|
|
||||||
Does not sub-class :class:`ConfigSchema`, but implements the same
|
Does not sub-class :class:`ConfigSchema`, but implements the same
|
||||||
serialize/deserialize interface.
|
serialize/deserialize interface.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user