I have a pretty complex series of lambda functions that trigger one another. Each one is also fairly complex in itself. It’d be great to be able to send arbitrary log lines to the dynamically created CloudWatch logs to provide more info of where functions are during execution and at the time of failure, should that occur. Or maybe there’s a better way to log using lambda. I’m fairly new to these AWS products.
What’s the best/recommended way to do this?