Add vlogging.sublime-snippet.

This commit is contained in:
voussoir 2021-01-23 17:42:12 -08:00
parent f482b3dab9
commit eadffcfdd2
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View 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>