Add vlogging.sublime-snippet.
This commit is contained in:
parent
f482b3dab9
commit
eadffcfdd2
1 changed files with 16 additions and 0 deletions
16
voussoir/vlogging.sublime-snippet
Normal file
16
voussoir/vlogging.sublime-snippet
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
<snippet>
|
||||||
|
<content><![CDATA[
|
||||||
|
from voussoirkit import vlogging
|
||||||
|
|
||||||
|
log = vlogging.getLogger(__name__)
|
||||||
|
|
||||||
|
def main(argv):
|
||||||
|
argv = vlogging.set_level_by_argv(log, argv)
|
||||||
|
|
||||||
|
]]></content>
|
||||||
|
<tabTrigger>vlogging</tabTrigger>
|
||||||
|
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
|
||||||
|
<!-- <tabTrigger>hello</tabTrigger> -->
|
||||||
|
<!-- Optional: Set a scope to limit where the snippet will trigger -->
|
||||||
|
<scope>source.python</scope>
|
||||||
|
</snippet>
|
Loading…
Reference in a new issue