GSIServer log messagecontent before invoking event
This commit is contained in:
parent
1d5df8a095
commit
4b66a7147a
@ -44,8 +44,8 @@ internal class GSIServer
|
||||
|
||||
StreamReader reader = new (request.InputStream, request.ContentEncoding);
|
||||
string content = await reader.ReadToEndAsync();
|
||||
OnMessage?.Invoke(content);
|
||||
this.logger?.Log(LogLevel.Debug, content);
|
||||
OnMessage?.Invoke(content);
|
||||
}
|
||||
HttpListener.Close();
|
||||
IsRunning = false;
|
||||
|
Loading…
Reference in New Issue
Block a user