1# Example 2 3This example shows how you could wrap the reader of an file being 4uploaded to Amazon S3 with a logger that will log the usage of the 5reader, and print call stacks when the reader's Read, Seek, or ReadAt 6methods encounter an error. 7 8# Usage 9 10This bucket uses the bucket name, key, and local file name passed to upload the local file to S3 as the key into the bucket. 11 12```sh 13AWS_REGION=us-west-2 AWS_PROFILE=default go run . "mybucket" "10MB.file" ./10MB.file 14``` 15