Make it possible to disable the logo by subclassing Config

This commit is contained in:
Stefano Palazzo 2016-12-23 11:42:00 +01:00
parent ef9d8710f5
commit a73a7d1e7b

View File

@ -294,6 +294,7 @@ class Sanic:
if debug: if debug:
log.setLevel(logging.DEBUG) log.setLevel(logging.DEBUG)
if self.config.LOGO is not None:
log.debug(self.config.LOGO) log.debug(self.config.LOGO)
# Serve # Serve