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
"""Simple script to generate test logs"""importrandomimporttimeimportloggingdeffirst():
RANDINT=random.randint(1, 100)
ifRANDINT%3==0:
logging.warning('I am a first log! %s\x00', RANDINT)
defsecond():
RANDINT=random.randint(1, 100)
ifRANDINT%5==0:
logging.error('I am a second log! %s\x00', RANDINT)
defthird():
RANDINT=random.randint(1, 100)
ifRANDINT%7==0:
logging.info('I am a third log! %s\x00', RANDINT)
logging.info('\x00I am the first log in the list! %s\x00', 0)
whileTrue:
first()
second()
third()
RANDINT=random.randint(1, 100)
print(f'I am standard output, {RANDINT}')
time.sleep(0.001)
The text was updated successfully, but these errors were encountered:
Example to reproduce:
The text was updated successfully, but these errors were encountered: