mirror of
https://github.com/Garmelon/PFERD.git
synced 2025-08-16 12:32:27 +02:00
Add warn_contd
This commit is contained in:
@@ -130,6 +130,13 @@ class Log:
|
|||||||
|
|
||||||
self.print(f"[bold bright_red]Warning[/] {escape(text)}")
|
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:
|
def error(self, text: str) -> None:
|
||||||
"""
|
"""
|
||||||
Print an error message. Allows no markup.
|
Print an error message. Allows no markup.
|
||||||
|
Reference in New Issue
Block a user