launch.actions.log module
Module for the Log action.
- class launch.actions.log.Log[source]
Bases:
LogInterfaceAction that logs a message when executed.
- class launch.actions.log.LogDebug[source]
Bases:
SharedLogSpecificParse,LogInterfaceAction that logs a message with level DEBUG when executed.
- __init__(*, msg: str | Path | Substitution | Iterable[str | Path | Substitution], **kwargs)[source]
Create a LogDebug action.
- class launch.actions.log.LogError[source]
Bases:
SharedLogSpecificParse,LogInterfaceAction that logs a message with level ERROR when executed.
- __init__(*, msg: str | Path | Substitution | Iterable[str | Path | Substitution], **kwargs)[source]
Create a LogError action.
- class launch.actions.log.LogInfo[source]
Bases:
SharedLogSpecificParse,LogInterfaceAction that logs a message with level INFO when executed.
- __init__(*, msg: str | Path | Substitution | Iterable[str | Path | Substitution], **kwargs)[source]
Create a LogInfo action.
- class launch.actions.log.LogInterface[source]
Bases:
Action- __init__(*, msg: str | Path | Substitution | Iterable[str | Path | Substitution], level: str | Path | Substitution | Iterable[str | Path | Substitution], **kwargs)[source]
Create a Log action.
- execute(context: LaunchContext) None[source]
Execute the action.
- property level: List[Substitution]
Getter for self.__level.
- property msg: List[Substitution]
Getter for self.__msg.
- class launch.actions.log.LogWarning[source]
Bases:
SharedLogSpecificParse,LogInterfaceAction that logs a message with level WARNING when executed.
- __init__(*, msg: str | Path | Substitution | Iterable[str | Path | Substitution], **kwargs)[source]
Create a LogWarning action.
Bases:
ActionParse log_* tag.