mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 20:25:12 +00:00
7 lines
250 B
Python
7 lines
250 B
Python
from loguru import logger
|
|
import sys
|
|
|
|
logger.remove() #remove the old handler. Else, the old one will work along with the new one you've added below'
|
|
logger.add(sys.stdout, format="{time:YYYY-MM-DD at HH:mm:ss} | {level} | {message}", level="INFO")
|
|
|