diff options
Diffstat (limited to 'sphinx/application.py')
-rw-r--r-- | sphinx/application.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/application.py b/sphinx/application.py index 307d63073..d6b781f59 100644 --- a/sphinx/application.py +++ b/sphinx/application.py @@ -425,9 +425,9 @@ class Sphinx(object): def debug2(self, message, *args, **kwargs): # type: (unicode, Any, Any) -> None """Emit a lowlevel debug-level informational message.""" - warnings.warn('app.debug2() is now deprecated. Use sphinx.util.logging instead.', + warnings.warn('app.debug2() is now deprecated. Use debug() instead.', RemovedInSphinx20Warning) - logger.debug2(message, *args, **kwargs) + logger.debug(message, *args, **kwargs) def _display_chunk(chunk): # type: (Any) -> unicode |