From 4a6624fc1268bfd67b0424ae18558c0ec87877c5 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sun, 6 Dec 2020 10:38:46 +0100 Subject: [PATCH] system_{addLogFilter, resetLogFilter} RPCs --- .../types/src/interfaces/system/definitions.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/packages/types/src/interfaces/system/definitions.ts b/packages/types/src/interfaces/system/definitions.ts index c9793a779bb1..bd796b9e2721 100644 --- a/packages/types/src/interfaces/system/definitions.ts +++ b/packages/types/src/interfaces/system/definitions.ts @@ -115,6 +115,21 @@ export default { description: 'Returns the state of the syncing of the node', params: [], type: 'SyncState' + }, + addLogFilter: { + description: 'Adds the supplied directives to the current log filter', + params: [ + { + name: 'directives', + type: 'Text' + } + ], + type: 'Null' + }, + resetLogFilter: { + description: 'Resets the log filter to Substrate defaults', + params: [], + type: 'Null' } }, types: {