(level: str, message: str, exception: Exception | None = None)
| 409 | """ |
| 410 | |
| 411 | def log(level: str, message: str, exception: Exception | None = None): |
| 412 | logger.opt(colors=True, exception=exception).log( |
| 413 | level, f"<m>{escape_tag(logger_name)}</m> | {message}" |
| 414 | ) |
| 415 | |
| 416 | return log |
nothing calls this directly
no test coverage detected