Skip to content

Commit

Permalink
Closes #17
Browse files Browse the repository at this point in the history
  • Loading branch information
andreashuber-lawo committed Jan 18, 2017
1 parent 6256a03 commit e4c8d9d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Lawo.GlowAnalyzerProxy.Main/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,12 @@ private async Task ForwardAsync(
var payload = payloadStream.ToArray();
var length = payload.Length;

if (length > 0)
{
await this.logQueue.Enqueue(
() => Task.Run(() => logInfo.Logger.LogData("DecodedPayload", direction, payload, 0, length)));
}

await this.EnqueueLogOperationAsync(
logInfo, type, shortDirection, length, i => i.Logger.LogMessage(direction, message, payload));
}
Expand Down

0 comments on commit e4c8d9d

Please sign in to comment.