This function sets the global logging format and level. It will be called when import verl
(level)
| 18 | |
| 19 | |
| 20 | def set_basic_config(level): |
| 21 | """ |
| 22 | This function sets the global logging format and level. It will be called when import verl |
| 23 | """ |
| 24 | logging.basicConfig(format='%(levelname)s:%(asctime)s:%(message)s', level=level) |
| 25 | |
| 26 | |
| 27 | def log_to_file(string): |