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