mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Explain config file loading
This commit is contained in:
@ -101,6 +101,15 @@ class Log:
|
||||
else:
|
||||
self.console.print(text)
|
||||
|
||||
def warn(self, text: str) -> None:
|
||||
self.print(f"[bold bright_red]Warning[/] {escape(text)}")
|
||||
|
||||
def error(self, text: str) -> None:
|
||||
self.print(f"[bold bright_red]Error[/] [red]{escape(text)}")
|
||||
|
||||
def error_contd(self, text: str) -> None:
|
||||
self.print(f"[red]{escape(text)}")
|
||||
|
||||
def explain_topic(self, text: str) -> None:
|
||||
if self.output_explain:
|
||||
self.print(f"[cyan]{escape(text)}")
|
||||
|
Reference in New Issue
Block a user