Commits

Anonymous committed ba6c559

Emit info messages using logbook at least those not requiring no newlines

  • Participants
  • Parent commits d2ae88b

Comments (0)

Files changed (1)

File sphinx/application.py

 
         # say hello to the world
         self.info(bold('Running Sphinx v%s' % sphinx.__version__))
+        self.log.info(bold('Running Sphinx v%s' % sphinx.__version__))
 
         # status code for command-line application
         self.statuscode = 0
         if not hasattr(mod, 'setup'):
             self.warn('extension %r has no setup() function; is it really '
                       'a Sphinx extension module?' % extension)
+            self.log.warn('extension %r has no setup() function; is it really '
+                          'a Sphinx extension module?' % extension)
         else:
             try:
                 mod.setup(self)