Read a log line with named groups

Your task In the code box, write a function parse_log(line) that gives back a dict with the keys date, time, level, source and message, or None when the line doesn't fit that format. Then press Run my code.

Getting the editor ready