8 lines
151 B
Python
Raw Normal View History

def log(level: str, title: str, *var):
print('--------- ', title, ' ---------')
for i in var:
print('[%r]' % level, i)
log("test")