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