class AWS::S3::Logging::Log

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.

Attributes

log[R]

Public Instance Methods

lines() click to toggle source
    # File lib/aws/s3/logging.rb
101 def lines
102   log.value.lines.map {|line| Line.new(line)}
103 end
path() click to toggle source
    # File lib/aws/s3/logging.rb
111 def path
112   log.path
113 end