Module: RSMP::Collector::Logging

Defined in:
lib/rsmp/collect/collector/logging.rb

Instance Method Summary collapse

Instance Method Details

#log_completeObject



12
13
14
# File 'lib/rsmp/collect/collector/logging.rb', line 12

def log_complete
  @distributor.log "#{identifier}: Done", level: :collect
end

#log_incompleteObject



8
9
10
# File 'lib/rsmp/collect/collector/logging.rb', line 8

def log_incomplete
  @distributor.log "#{identifier}: #{describe_progress}", level: :collect
end

#log_startObject



4
5
6
# File 'lib/rsmp/collect/collector/logging.rb', line 4

def log_start
  @distributor.log "#{identifier}: Waiting for #{describe_matcher}".strip, level: :collect
end