Skip to content

Commit

Permalink
Akka.NET v1.5 upgrade guide documentation fix (#6778).
Browse files Browse the repository at this point in the history
  • Loading branch information
F0b0s committed Aug 8, 2023
1 parent 4d757c9 commit 70d76d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ In `Directory.Build.props`:
</Project>
```

Note, in order to log more than 6 parameters you need to explicitly create ```object[]``` and pass your arguments into this. It was done in order to eliminate large numbers of accidental ```object[]``` allocations that were created implicitly through the params keyword AND to eliminate the large amount of boxing that occurred whenever value types (struct) were logged:
Note, in order to log more than 6 parameters you need to explicitly create ```object[]``` and pass your arguments into corresponding method. It was done in order to eliminate large numbers of accidental ```object[]``` allocations that were created implicitly through the params keyword AND to eliminate the large amount of boxing that occurred whenever value types (struct) were logged:

```csharp
var @params = new[]{arg1, arg2, arg3, arg4, arg5, arg6, arg7};
Expand Down

0 comments on commit 70d76d9

Please sign in to comment.