You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some print statements are useful, some can be spamming console output with unnecessary information (that is why gid() print statements were commented out.
I suggest using python logging functionality such as:
import logging
logging.basicConfig(
format='%(levelname) 10s %(asctime)s %(message)s',
level=logging.ERROR
)
log = logging.getLogger('error_log')
log.error('something is wrong man.')
log.warning('something is funny man')
Code snippet above will print only "error" messages
The text was updated successfully, but these errors were encountered:
Some print statements are useful, some can be spamming console output with unnecessary information (that is why
gid()
print statements were commented out.I suggest using python logging functionality such as:
Code snippet above will print only "error" messages
The text was updated successfully, but these errors were encountered: