docs/ns-debug: typo

Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
jsvisa 2024-04-01 22:55:38 +08:00
parent 1b1ae77cc4
commit 3cd348e8b7

View file

@ -363,7 +363,7 @@ For example the value `0s` will essentially turn on archive mode. If set to `1h`
Returns a printed representation of the stacks of all goroutines. Note that the web3 wrapper for this method takes care of the printing and does not return the string. Returns a printed representation of the stacks of all goroutines. Note that the web3 wrapper for this method takes care of the printing and does not return the string.
| Client | Method invocation | | Client | Method invocation |
| :------ | ------------------------------------------ | | :------ | ------------------------------------------------ |
| Console | `debug.stacks(filter *string)` | | Console | `debug.stacks(filter *string)` |
| RPC | `{"method": "debug_stacks", "params": [filter]}` | | RPC | `{"method": "debug_stacks", "params": [filter]}` |
@ -742,7 +742,7 @@ Sets the logging verbosity ceiling. Log messages with level up to and including
The verbosity of individual packages and source files can be raised using `debug_vmodule`. The verbosity of individual packages and source files can be raised using `debug_vmodule`.
| Client | Method invocation | | Client | Method invocation |
| :------ | ------------------------------------------------- | | :------ | --------------------------------------------------- |
| Console | `debug.verbosity(level)` | | Console | `debug.verbosity(level)` |
| RPC | `{"method": "debug_verbosity", "params": [number]}` | | RPC | `{"method": "debug_verbosity", "params": [number]}` |