Class AWS::S3::Logging::Log
In: lib/aws/s3/logging.rb
Parent: Object

A bucket log exposes requests made on the given bucket. Lines of the log represent a single request. The lines of a log can be accessed with the lines method.

  log = Bucket.logs_for('marcel').first
  log.lines

More information about the logged requests can be found in the documentation for Log::Line.

Methods

lines  

Classes and Modules

Class AWS::S3::Logging::Log::Line

Attributes

log  [R] 

Public Instance methods

Returns the lines for the log. Each line is wrapped in a Log::Line.

[Source]

     # File lib/aws/s3/logging.rb, line 100
100:         def lines
101:           log.value.map {|line| Line.new(line)}
102:         end

[Validate]