Class: Mrsk::Commands::Auditor
- Inherits:
-
Base
- Object
- Base
- Mrsk::Commands::Auditor
show all
- Defined in:
- lib/mrsk/commands/auditor.rb
Constant Summary
Constants inherited
from Base
Base::MAX_LOG_SIZE
Instance Attribute Summary
Attributes inherited from Base
#config
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #run_over_ssh
Instance Method Details
#record(line) ⇒ Object
4
5
6
7
8
|
# File 'lib/mrsk/commands/auditor.rb', line 4
def record(line)
append \
[ :echo, tagged_line(line) ],
audit_log_file
end
|
#reveal ⇒ Object
10
11
12
|
# File 'lib/mrsk/commands/auditor.rb', line 10
def reveal
[ :tail, "-n", 50, audit_log_file ]
end
|