console_username in logger_settings

This commit is contained in:
rdavydov
2022-10-21 18:45:25 +03:00
parent 4eeaae3187
commit bf8d0dcbf1

View File

@@ -23,6 +23,7 @@ twitch_miner = TwitchChannelPointsMiner(
logger_settings=LoggerSettings(
save=True, # If you want to save logs in a file (suggested)
console_level=logging.INFO, # Level of logs - use logging.DEBUG for more info
console_username=False, # Adds a username to every console log line if True. Useful when you have many open consoles with different accounts
file_level=logging.DEBUG, # Level of logs - If you think the log file it's too big, use logging.INFO
emoji=True, # On Windows, we have a problem printing emoji. Set to false if you have a problem
less=False, # If you think that the logs are too verbose, set this to True