Add warn_contd

This commit is contained in:
I-Al-Istannen 2021-05-23 18:12:34 +02:00
parent 05ad06fbc1
commit 463f8830d7

View File

@ -130,6 +130,13 @@ class Log:
self.print(f"[bold bright_red]Warning[/] {escape(text)}")
def warn_contd(self, text: str) -> None:
"""
Print further lines of a warning message. Allows no markup.
"""
self.print(f"{escape(text)}")
def error(self, text: str) -> None:
"""
Print an error message. Allows no markup.