mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-20 06:58:16 +03:00
hood: |knob {tag} {level} to set dill verbosity
This commit is contained in:
parent
f2073dbc34
commit
0bf9e98d08
@ -155,6 +155,7 @@
|
||||
++ poke-drum-set-boot-apps (wrap poke-set-boot-apps):from-drum
|
||||
++ poke-helm-hi (wrap poke-hi):from-helm
|
||||
::++ poke-helm-invite (wrap poke-invite):from-helm
|
||||
++ poke-helm-knob (wrap poke-knob):from-helm
|
||||
++ poke-helm-mass (wrap poke-mass):from-helm
|
||||
++ poke-helm-reload (wrap poke-reload):from-helm
|
||||
++ poke-helm-reload-desk (wrap poke-reload-desk):from-helm
|
||||
|
10
pkg/arvo/gen/hood/knob.hoon
Normal file
10
pkg/arvo/gen/hood/knob.hoon
Normal file
@ -0,0 +1,10 @@
|
||||
:: Helm: Adjust vane error verbosity knob
|
||||
::
|
||||
/? 310
|
||||
::
|
||||
::::
|
||||
::
|
||||
:- %say
|
||||
|= [^ [error-tag=@tas level=?(%hush %soft %loud) ~] ~]
|
||||
:- %helm-knob
|
||||
[error-tag level]
|
@ -40,6 +40,7 @@
|
||||
$% [%bonk wire ~] ::
|
||||
{$conf wire dock ship term} ::
|
||||
{$flog wire flog:dill} ::
|
||||
[%knob wire @tas ?(%hush %soft %loud)] ::
|
||||
{$nuke wire ship} ::
|
||||
[%serve wire binding:eyre generator:eyre] ::
|
||||
{$poke wire dock pear} ::
|
||||
@ -197,6 +198,10 @@
|
||||
|= ~ =< abet
|
||||
(emit %flog /helm %verb ~)
|
||||
::
|
||||
++ poke-knob
|
||||
|= [error-tag=@tas level=?(%hush %soft %loud)] =< abet
|
||||
(emit %knob /helm error-tag level)
|
||||
::
|
||||
++ take-onto :: result of %conf
|
||||
|= saw/(each suss:gall tang) =< abet
|
||||
%- emit
|
||||
|
Loading…
Reference in New Issue
Block a user