Skip to content

Commit eabc183

Browse files
committed
update doc and examples
1 parent cbb78fa commit eabc183

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

docs/core/logging.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,10 @@ Logging utility supports native AOT serialization by default without any changes
677677
In case you want to use the `LogEvent`, `Custom Log Formatter` features or serialize your own types when Logging events it is required
678678
that you do some changes in your Lambda `Main` method.
679679

680+
!!! info
681+
682+
Starting from version 1.6.0 it is required to update `Amazon.Lambda.Serialization.SystemTextJson` to `version 2.4.3` in your `csproj`.
683+
680684
### Configure
681685

682686
The change needed is to replace `SourceGeneratorLambdaJsonSerializer` with `PowertoolsSourceGeneratorSerializer`.

examples/AOT/AOT_Logging/src/AOT_Logging/AOT_Logging.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<ItemGroup>
2020
<PackageReference Include="Amazon.Lambda.RuntimeSupport" Version="1.10.0"/>
2121
<PackageReference Include="Amazon.Lambda.Core" Version="2.2.0"/>
22-
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.1"/>
22+
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.3"/>
2323
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="1.5.1" />
2424
</ItemGroup>
2525
</Project>

examples/AOT/AOT_Metrics/src/AOT_Metrics/AOT_Metrics.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<ItemGroup>
2020
<PackageReference Include="Amazon.Lambda.RuntimeSupport" Version="1.10.0"/>
2121
<PackageReference Include="Amazon.Lambda.Core" Version="2.2.0"/>
22-
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.1"/>
22+
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.3"/>
2323
<PackageReference Include="AWS.Lambda.Powertools.Metrics" Version="1.7.1" />
2424
</ItemGroup>
2525
</Project>

examples/AOT/AOT_Tracing/src/AOT_Tracing/AOT_Tracing.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<ItemGroup>
2020
<PackageReference Include="Amazon.Lambda.RuntimeSupport" Version="1.10.0"/>
2121
<PackageReference Include="Amazon.Lambda.Core" Version="2.2.0"/>
22-
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.1"/>
22+
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.3"/>
2323
<PackageReference Include="AWS.Lambda.Powertools.Tracing" Version="1.5.1" />
2424
</ItemGroup>
2525
</Project>

0 commit comments

Comments
 (0)