1 # SPDX-License-Identifier: GPL-2.0
3 # Sphinx has deprecated its older logging interface, but the replacement
4 # only goes back to 1.6. So here's a wrapper layer to keep around for
5 # as long as we support 1.4.
7 # We don't support 1.4 anymore, but we'll keep the wrappers around until
8 # we change all the code to not use them anymore :)
11 from sphinx
.util
import logging
13 logger
= logging
.getLogger('kerneldoc')
15 def warn(app
, message
):
16 logger
.warning(message
)
18 def verbose(app
, message
):
19 logger
.verbose(message
)
21 def info(app
, message
):