Class: Cheetah::Recorder Abstract
- Inherits:
-
Object
- Object
- Cheetah::Recorder
- Defined in:
- lib/cheetah.rb
Overview
Defines a recorder interface. Recorder is an object that handles recording of the command execution into a logger. It decides what exactly gets logged, at what level and using what messages.
Direct Known Subclasses
Instance Method Summary collapse
-
#record_commands(commands) ⇒ Object
abstract
Called to record the executed commands.
-
#record_status(status) ⇒ Object
abstract
Called to record the executed command exit status.
-
#record_stderr(stderr) ⇒ Object
abstract
Called to record part of the output the executed command wrote to stderr.
-
#record_stdin(stdin) ⇒ Object
abstract
Called to record part of the executed command input.
-
#record_stdout(stdout) ⇒ Object
abstract
Called to record part of the output the executed command wrote to stdout.
Instance Method Details
#record_commands(commands) ⇒ Object
Called to record the executed commands.
92 |
# File 'lib/cheetah.rb', line 92 abstract_method :record_commands |
#record_status(status) ⇒ Object
Called to record the executed command exit status.
125 |
# File 'lib/cheetah.rb', line 125 abstract_method :record_status |
#record_stderr(stderr) ⇒ Object
Called to record part of the output the executed command wrote to stderr.
117 |
# File 'lib/cheetah.rb', line 117 abstract_method :record_stderr |
#record_stdin(stdin) ⇒ Object
Called to record part of the executed command input.
99 |
# File 'lib/cheetah.rb', line 99 abstract_method :record_stdin |
#record_stdout(stdout) ⇒ Object
Called to record part of the output the executed command wrote to stdout.
108 |
# File 'lib/cheetah.rb', line 108 abstract_method :record_stdout |