Class: Taski::Progress::Layout::Log
- Inherits:
-
Base
- Object
- Execution::TaskObserver
- Base
- Taski::Progress::Layout::Log
- Defined in:
- lib/taski/progress/layout/log.rb
Overview
Log layout for non-TTY environments (CI, log files, piped output). Outputs plain text without terminal escape codes.
Output format:
[START] TaskName
[DONE] TaskName (123.4ms)
[FAIL] TaskName: Error message
Uses Theme::Plain by default to ensure no ANSI escape codes in output.
Instance Attribute Summary
Attributes inherited from Base
Attributes inherited from Execution::TaskObserver
Instance Method Summary collapse
-
#initialize(output: $stderr, theme: nil) ⇒ Log
constructor
A new instance of Log.
Methods inherited from Base
#on_group_completed, #on_group_started, #on_ready, #on_start, #on_stop, #on_task_updated, #queue_message, #render_template_string, #start_spinner_timer, #stop_spinner_timer, #task_registered?, #task_state
Methods inherited from Execution::TaskObserver
#on_group_completed, #on_group_started, #on_ready, #on_start, #on_stop, #on_task_updated