15 lines
429 B
Python
15 lines
429 B
Python
|
|
"""Debug context placeholders."""
|
||
|
|
|
||
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
from placeholder_registry import PlaceholderRegistration, register_placeholder
|
||
|
|
|
||
|
|
_CTX = "kairo.debug_context"
|
||
|
|
|
||
|
|
register_placeholder(
|
||
|
|
PlaceholderRegistration("debug_message", _CTX, "string", "Freier Debug-Text", required=True)
|
||
|
|
)
|
||
|
|
register_placeholder(
|
||
|
|
PlaceholderRegistration("debug_level", _CTX, "string", "Log-Level oder Kategorie", required=False)
|
||
|
|
)
|