fbchat icon indicating copy to clipboard operation
fbchat copied to clipboard

Stop printing stuff in the console

Open binarioGH opened this issue 5 years ago • 1 comments

I don't want to get output

Is there a way I can configure my Client object to not print stuff like "login into ..." or the big chunk of text that it appears when you send a message with client.send(Message(message), user.uid)?

binarioGH avatar Sep 20 '20 03:09 binarioGH

You can import the logging module and pass logging_level=logging.ERROR when creating your fbchat.Client() instance

atbuy avatar Oct 21 '20 22:10 atbuy