Skip to content

Commit

Permalink
Better protobuf type diagnostics (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeralsing committed Oct 15, 2022
1 parent 6e8f7fe commit a0fd83b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Proto.Remote/Serialization/Serialization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,7 @@ private struct TypeSerializerItem

public void Init(ActorSystem system)
{
foreach (var tl in TypeLookup)
{
system.Diagnostics.RegisterEvent("Serialization", $"Registered Protobuf Type {tl.Key}");
}
system.Diagnostics.RegisterObject("Serialization", "Protobuf Types", TypeLookup.Keys.ToArray());

foreach (var s in _serializers)
{
Expand Down

0 comments on commit a0fd83b

Please sign in to comment.