mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 15:35:05 +02:00
Add warn_contd
This commit is contained in:
parent
05ad06fbc1
commit
463f8830d7
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue