|
@@ -28,7 +28,7 @@ namespace InABox.Rpc
|
|
|
var start = DateTime.Now;
|
|
|
var parameters = Serialization.ReadBinary<TParameters>(payload, BinarySerializationSettings.Latest);
|
|
|
if (IsLogCommand)
|
|
|
- Logger.Send(LogType.Information, session.UserID, $"[{session.Platform} {session.Version}] {parameters.FullDescription()}");
|
|
|
+ Logger.Send(LogType.Information, session.UserID, $"[{session.Platform} {session.Version}] {parameters.ShortDescription()} {parameters.FullDescription()}");
|
|
|
|
|
|
try
|
|
|
{
|
|
@@ -39,7 +39,8 @@ namespace InABox.Rpc
|
|
|
var description = result.FullDescription();
|
|
|
Logger.Send(LogType.Information, session.UserID, string.Format("[{0} {1}] [{2:D8}] {3} Complete{4}",
|
|
|
session.Platform, session.Version,
|
|
|
- (int)DateTime.Now.Subtract(start).TotalMilliseconds, parameters.ShortDescription(),
|
|
|
+ (int)DateTime.Now.Subtract(start).TotalMilliseconds,
|
|
|
+ parameters.ShortDescription(),
|
|
|
string.IsNullOrWhiteSpace(description) ? "" : $" {description}"));
|
|
|
}
|
|
|
|