Task: Insert Newline Before Log Prefix in Python Logging
Task: Insert Newline Before Log Prefix in Python Logging: a task in Terminal-Lego-15k (Harbor dataset). Create a Python logging solution that allows inserting a newline before the log prefix (i.e., before asctime and levelname ) for specific log messages, without modifying the format string passed…
The task
Create a Python logging solution that allows inserting a newline **before** the log prefix (i.e., before `asctime` and `levelname`) for specific log messages, **without modifying the `format` string** passed to `basicConfig` or the `Formatter`.
Part of PrimeIntellect/Terminal-Lego-15k.