Make it possible to disable the logo by subclassing Config
This commit is contained in:
@@ -294,7 +294,8 @@ class Sanic:
|
|||||||
|
|
||||||
if debug:
|
if debug:
|
||||||
log.setLevel(logging.DEBUG)
|
log.setLevel(logging.DEBUG)
|
||||||
log.debug(self.config.LOGO)
|
if self.config.LOGO is not None:
|
||||||
|
log.debug(self.config.LOGO)
|
||||||
|
|
||||||
# Serve
|
# Serve
|
||||||
log.info('Goin\' Fast @ http://{}:{}'.format(host, port))
|
log.info('Goin\' Fast @ http://{}:{}'.format(host, port))
|
||||||
|
|||||||
Reference in New Issue
Block a user