Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include acc name in logs + more log options #602

Open
Guliveer opened this issue Sep 19, 2022 · 1 comment · Fixed by rdavydov/Twitch-Channel-Points-Miner-v2#7
Open

Include acc name in logs + more log options #602

Guliveer opened this issue Sep 19, 2022 · 1 comment · Fixed by rdavydov/Twitch-Channel-Points-Miner-v2#7
Labels
enhancement New feature or request

Comments

@Guliveer
Copy link

Is your feature request related to a problem? Please describe.
Since there is a possibility to use multiple accounts at once, I thought it would be cool if you could differentiate which is which.
Also, I thought about adding more options to the log system (Events), like START, LOAD, and END.

Describe the solution you'd like
Just check the bottom of the issue.

Describe alternatives you've considered
At the moment I don't think there are any alternatives

Additional context
Screenshot_215

e.g.

TwitchChannelPointsMiner.py:
f"[{self.username}] Start session: '{self.session_id}'", extra={"emoji": ":bomb:", "event": Events.START,}

Anything more that is to do is just edit Settings.py file and you're good to go!

@rdavydov
Copy link

TwitchChannelPointsMiner.py doesn't produce all the log messages, for example +50 --> ... REASON: CLAIM is handled by another module. I decided to add the username to logger.py, so it will appear on EVERY message in the console.

It works and looks cool. Added an option to toggle it.

See PR #635 or my release https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/releases/tag/1.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants