mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Add warn_contd
This commit is contained in:
parent
05ad06fbc1
commit
463f8830d7
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user