Skip to content

Commit 7dd3c7e

Browse files
committed
fix: updated logger implementation
1 parent 27c884d commit 7dd3c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Unicorn.Properties/PropertiesService/ContractStatusChangedEventHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public ContractStatusChangedEventHandler()
5555
public async Task FunctionHandler(CloudWatchEvent<ContractStatusChangedEvent> contractStatusChangedEvent,
5656
ILambdaContext context)
5757
{
58-
context.Logger.LogInformation(JsonSerializer.Serialize(contractStatusChangedEvent));
58+
Logger.LogInformation(JsonSerializer.Serialize(contractStatusChangedEvent));
5959
try
6060
{
6161
await SaveContractStatus(contractStatusChangedEvent.Detail).ConfigureAwait(false);

0 commit comments

Comments
 (0)