brintos

brintos / linux-shallow public Read only

0
0
Text · 585 B · 0bc00c1 Raw
23 lines · python
1# SPDX-License-Identifier: GPL-2.02#3# Sphinx has deprecated its older logging interface, but the replacement4# only goes back to 1.6.  So here's a wrapper layer to keep around for5# as long as we support 1.4.6#7# We don't support 1.4 anymore, but we'll keep the wrappers around until8# we change all the code to not use them anymore :)9#10import sphinx11from sphinx.util import logging12 13logger = logging.getLogger('kerneldoc')14 15def warn(app, message):16    logger.warning(message)17 18def verbose(app, message):19    logger.verbose(message)20 21def info(app, message):22    logger.info(message)23