mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Log string map size
This commit is contained in:
@@ -295,7 +295,7 @@ namespace Robust.Shared.Serialization
|
||||
|
||||
_stringMapHash = _serverHash;
|
||||
|
||||
LogSzr.Debug($"Locked in at {_dict.StringCount} mapped strings.");
|
||||
LogSzr.Debug($"Locked in at {_dict.StringCount} mapped strings ({ByteHelpers.FormatBytes(msg.Package!.Length)}).");
|
||||
|
||||
packageStream.Position = 0;
|
||||
if (EnableCaching)
|
||||
@@ -439,7 +439,7 @@ namespace Robust.Shared.Serialization
|
||||
|
||||
_stringMapHash = msgMapStr.Hash!;
|
||||
LogSzr.Debug($"Read {added} strings from cache {hashStr}.");
|
||||
LogSzr.Debug($"Locked in at {_dict.StringCount} mapped strings.");
|
||||
LogSzr.Debug($"Locked in at {_dict.StringCount} mapped strings ({ByteHelpers.FormatBytes(file.Length)}).");
|
||||
// ok we're good now
|
||||
var channel = msgMapStr.MsgChannel;
|
||||
OnClientCompleteHandshake(_net, channel);
|
||||
|
||||
Reference in New Issue
Block a user