Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
log_policy [2011/07/31 18:17] 127.0.0.1 external edit |
log_policy [2026/08/28 03:25] (current) hermann Sync from local documentation review |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Log Policy ====== | + | ====== Log Policy ====== |
| ===== Description ===== | ===== Description ===== | ||
| - | This container forces a maximum log level | + | This container executes the functors it contains under a specified maximum log level, temporarily overriding the log policy otherwise in effect for as long as its content runs. |
| ===== Inputs ===== | ===== Inputs ===== | ||
| - | ^ Name ^ Type ^ Description ^ | + | None. |
| - | | Maximum log level | [[ Log tag Type|Log tag ]] | Maximum log level. | | + | |
| - | | Force specified log level | [[ Bool Type|Bool ]] | Only the specified maximum level is reported. | | + | |
| ===== Optional Inputs ===== | ===== Optional Inputs ===== | ||
| + | |||
| + | ^ Name ^ Type ^ Description ^ Default Value ^ | ||
| + | | Maximum Log Level | [[Log Tag Type]] | Maximum log level allowed while the contained functors execute. | Debug 2 | | ||
| + | | Force Specified Log Level | [[Boolean Value Type]] | Always use Maximum Log Level, even when the log level already in effect is more restrictive. | No | | ||
| ===== Outputs ===== | ===== Outputs ===== | ||
| + | |||
| + | None. | ||
| + | |||
| + | ===== Group ===== | ||
| [[Functor List#Control | Control]] | [[Functor List#Control | Control]] | ||
| - | ===== Internal Name ===== | + | ===== Notes ===== |
| + | |||
| + | When Maximum Log Level is less restrictive than the log level already in effect, or when Force Specified Log Level is true, the log level is temporarily changed to Maximum Log Level while the contained functors execute. The previous log level is always restored afterwards, whether or not an error occurs. | ||
| + | |||
| + | ===== Internal Name ===== | ||
| LogPolicy | LogPolicy | ||