MCPcopy Index your code
hub / github.com/archlinux/archinstall / warn

Function warn

archinstall/lib/log.py:197–205  ·  view source on GitHub ↗
(
	*msgs: str,
	level: int = logging.WARNING,
	fg: str = 'yellow',
	bg: str | None = None,
	reset: bool = False,
	font: list[Font] = [],
)

Source from the content-addressed store, hash-verified

195
196
197def warn(
198 *msgs: str,
199 level: int = logging.WARNING,
200 fg: str = 'yellow',
201 bg: str | None = None,
202 reset: bool = False,
203 font: list[Font] = [],
204) -> None:
205 log(*msgs, level=level, fg=fg, bg=bg, reset=reset, font=font)
206
207
208def log(

Callers 15

_error_messageFunction · 0.90
__exit__Method · 0.90
_verify_service_stopMethod · 0.90
set_timezoneMethod · 0.90
add_bootloaderMethod · 0.90
_create_userMethod · 0.90
saveMethod · 0.90
__init__Method · 0.90
_parse_argsMethod · 0.90
load_pluginFunction · 0.90
runMethod · 0.90
syncMethod · 0.90

Calls 1

logFunction · 0.85

Tested by

no test coverage detected