It is AWS best practice to enable Lambda logging by which of these methods.
Use Lambda metrics and CloudWatch alarms.
Create custom metrics within your Lambda code.
Use S3 metrics and CloudWatch alarms
Create custom metrics within your CloudWatch code.