mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 19:48:21 +08:00
Opt: Change HR0 character
This commit is contained in:
@@ -138,7 +138,7 @@ WEB_THEME = Theme({
|
|||||||
|
|
||||||
|
|
||||||
# Logger init
|
# Logger init
|
||||||
logger_debug = True
|
logger_debug = False
|
||||||
logger = logging.getLogger('alas')
|
logger = logging.getLogger('alas')
|
||||||
logger.setLevel(logging.DEBUG if logger_debug else logging.INFO)
|
logger.setLevel(logging.DEBUG if logger_debug else logging.INFO)
|
||||||
file_formatter = logging.Formatter(
|
file_formatter = logging.Formatter(
|
||||||
@@ -300,9 +300,9 @@ def hr(title, level=3):
|
|||||||
if level == 3:
|
if level == 3:
|
||||||
logger.info(f"[bold]<<< {title} >>>[/bold]", extra={"markup": True})
|
logger.info(f"[bold]<<< {title} >>>[/bold]", extra={"markup": True})
|
||||||
if level == 0:
|
if level == 0:
|
||||||
logger.rule(characters='─')
|
logger.rule(characters='═')
|
||||||
logger.rule(title, characters=' ')
|
logger.rule(title, characters=' ')
|
||||||
logger.rule(characters='─')
|
logger.rule(characters='═')
|
||||||
|
|
||||||
|
|
||||||
def attr(name, text):
|
def attr(name, text):
|
||||||
|
|||||||
Reference in New Issue
Block a user