-
Notifications
You must be signed in to change notification settings - Fork 178
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
Disable verbose logs #24
Comments
@mirismaili You can set your own logger using the |
@watzon Thanks a lot. Referring to: gramjs/gramjs/extensions/Logger.js Line 4 in 3605db8
new TelegramClient(session, API_ID, API_HASH, {baseLogger: new Logger('warn')}) // Logger = require('telegram/gramjs/extensions').Logger and the majority of the issue was solved. Although |
the rnd thing is probably some debug console log that I forgot to remove. if you can find it please PR 😄 |
I can even add it to my PR, I'll do some looking. Edit: may have already removed it, I can't find it. |
it should be working fine now with the latest update. Reopen if it's not |
Thank good library.
How to disable below useful logs to be outputted in the console:
I know these are useful information that help debug purposes, but I don't want to see them between my own logs, in the general states (or see my own logs between them!).
The text was updated successfully, but these errors were encountered: