Sha256: a36bcb19501270e235beb76a45e45b0b95afb394f8118c007565707004cb0321

Contents?: true

Size: 238 Bytes

Versions: 4

Compression:

Stored size: 238 Bytes

Contents

class Logger

  attr_accessor :pipe

  def info_with_id message, options = {}
    field_id = "%#{-DEFAULT_LOGS_ID_LEN.to_i}s" % options[:id].to_s
    add Logger::INFO, "#{field_id} \t#{'  '*(options[:level].to_i+1)}#{message}"
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rest-ftp-daemon-0.104.5 lib/rest-ftp-daemon/logger.rb
rest-ftp-daemon-0.103.1 lib/rest-ftp-daemon/logger.rb
rest-ftp-daemon-0.101 lib/rest-ftp-daemon/logger.rb
rest-ftp-daemon-0.100.2 lib/rest-ftp-daemon/logger.rb