diff --git a/readme.md b/readme.md index e29a597..a2ad518 100644 --- a/readme.md +++ b/readme.md @@ -17,6 +17,11 @@ You can use laravel's default `\Log` class to use this `\Log::info('user logged in', ['id' => 123, 'name' => 'Naren']);` +### Usage with AWS Lambda + +Make sure the AWS Lambda template contains an IAM role with enough access. +So think about Logs:CreateLogGroup, Logs:DescribeLogGroups, Logs:CreateLogStream, Logs:DescribeLogStream, Logs:PutRetentionPolicy and Logs:PutLogEvents + ### Config Config for logging is defined at `config/logging.php`. Add `cloudwatch` to the `channels` array