Skip to content

Instantly share code, notes, and snippets.

@phantom42
Last active July 22, 2016 13:43
Show Gist options
  • Save phantom42/28cc80872b0eb0930091ccade2ea4d87 to your computer and use it in GitHub Desktop.
Save phantom42/28cc80872b0eb0930091ccade2ea4d87 to your computer and use it in GitHub Desktop.
logger snippet for sublimetext. type "logger" and hit TAB. then TAB through to each of the fields to replace logging markers. instructions: Tools -> New Snippet -> (paste this in) -> save
<snippet>
<content><![CDATA[
<cflog text='$TM_FILENAME ${1:mark} ${2:1}' file='${3:application}'>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>logger</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>text.html.cfm</scope> -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment