Skip to content

Commit b1291bf

Browse files
authored
system_{addLogFilter, resetLogFilter} RPCs (#2916)
1 parent 026ef3c commit b1291bf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

packages/types/src/interfaces/system/definitions.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,21 @@ export default {
115115
description: 'Returns the state of the syncing of the node',
116116
params: [],
117117
type: 'SyncState'
118+
},
119+
addLogFilter: {
120+
description: 'Adds the supplied directives to the current log filter',
121+
params: [
122+
{
123+
name: 'directives',
124+
type: 'Text'
125+
}
126+
],
127+
type: 'Null'
128+
},
129+
resetLogFilter: {
130+
description: 'Resets the log filter to Substrate defaults',
131+
params: [],
132+
type: 'Null'
118133
}
119134
},
120135
types: {

0 commit comments

Comments
 (0)