Skip to content

Commit

Permalink
ENH: align error and warning log format
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolodi committed Mar 11, 2023
1 parent 0eff929 commit 8060e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def _showwarning(
line: Optional[str] = None,
) -> None: # pragma: no cover
"""Callable to override the default warning handler, to have colored output."""
print('{yellow}WARNING{reset} {}'.format(message, **_STYLES))
print('{yellow}meson-python: warning:{reset} {}'.format(message, **_STYLES))


def _setup_cli() -> None:
Expand Down

0 comments on commit 8060e82

Please sign in to comment.