Back to Browse

LOGGING - Powertools for AWS Lambda | .NET ON AWS | Serverless | Amazon

1.9K views
Nov 23, 2023
19:07

Powertools for AWS Lambda (.NET) Logging utility provides a Lambda-optimized logger to output JSON logs. In this blog post, let's learn how to get started with the Powertools for Lambda logging utility when building Lambda Functions in .NET. In this video, let's learn how to get started with the Powertools for Lambda Logging utility when building Lambda Functions in .NET. We will learn how to use the AWS.Lambda.Powertools.Logging Nuget page from the Lambda Powertools to write log statements to AWS CloudWatch. We will see how to use the Logging attribute and also the Logger classes from the NuGet package. 00:00 Introduction 03:01 Logging Attribute 04:47 Service Name 05:40 Add Log Statement 07:03 Deploy 08:06 Viewing Logs 09:30 Adding Parameters 11:04 Additional Properties 13:29 Append Key(s) 16:00 ClearState 17:54 Exceptions 18:21 Conclusion 🔗Blog - https://www.rahulpnath.com/blog/powertools-for-aws-lambda-logger/ 🔗Lambda Powertools Logging - https://docs.powertools.aws.dev/lambda/dotnet/core/logging/ 🔗 GitHub Issues - https://github.com/aws-powertools/powertools-lambda-dotnet/issues/514 Additional Watching 📹Lambda Annotations Framework - https://youtu.be/qWxjCkqX_lM 📹Lambda Annotations CRUD API - https://youtu.be/Zx6JpVKUoLQ 🔗Lambda Lifecycle - https://www.rahulpnath.com/blog/lambda-lifecycle-and-net/ 📹 .NET Dependency Injection - https://youtu.be/YR6HkvNBpX4 📹AWS Lambda - https://youtu.be/IHIJFVUQyFY 📹Lambda Udemy Course - https://bit.ly/aws-lambda-udemy 📹Lambda Development Environment - https://youtu.be/RYOG7W0fOK4 📹AWS Credential Management - https://youtu.be/ukam37umkQc 📹 ASP Series - https://bit.ly/asp-net-core-series 📹AWS Series - https://bit.ly/aws-net-series Come say hi! ✋ 🌍 Blog - https://rahulpnath.com/ ✉ Subscribe to my Newsletter - https://www.rahulpnath.com/subscribe 🐦Twitter - https://twitter.com/rahulpnath 📸Instagram - https://www.instagram.com/rahulpnath/ #dotnet #aws #lambda

Download

0 formats

No download links available.

LOGGING - Powertools for AWS Lambda | .NET ON AWS | Serverless | Amazon | NatokHD