mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-08 19:59:29 +00:00
clean up log spam
This commit is contained in:
parent
c8b7d3aab8
commit
c348230322
1 changed files with 10 additions and 10 deletions
|
@ -91,11 +91,11 @@ class JsonRPC {
|
|||
final req = _requestQueue.next;
|
||||
|
||||
_socket!.write('${req.jsonRequest}\r\n');
|
||||
Logging.instance.log(
|
||||
"JsonRPC request: wrote request ${req.jsonRequest} "
|
||||
"to socket ${_socket?.address}:${_socket?.port}",
|
||||
level: LogLevel.Info,
|
||||
);
|
||||
// Logging.instance.log(
|
||||
// "JsonRPC request: wrote request ${req.jsonRequest} "
|
||||
// "to socket ${_socket?.address}:${_socket?.port}",
|
||||
// level: LogLevel.Info,
|
||||
// );
|
||||
}
|
||||
|
||||
Future<dynamic> request(String jsonRpcRequest) async {
|
||||
|
@ -120,11 +120,11 @@ class JsonRPC {
|
|||
if (_requestQueue.length == 1) {
|
||||
_sendNextAvailableRequest();
|
||||
} else {
|
||||
Logging.instance.log(
|
||||
"JsonRPC request: queued request $jsonRpcRequest "
|
||||
"to socket ${_socket?.address}:$port",
|
||||
level: LogLevel.Info,
|
||||
);
|
||||
// Logging.instance.log(
|
||||
// "JsonRPC request: queued request $jsonRpcRequest "
|
||||
// "to socket ${_socket?.address}:$port",
|
||||
// level: LogLevel.Info,
|
||||
// );
|
||||
}
|
||||
|
||||
return req.completer.future;
|
||||
|
|
Loading…
Reference in a new issue