Make it possible to disable the logo by subclassing Config
This commit is contained in:
parent
ef9d8710f5
commit
a73a7d1e7b
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user