Skip to content

Instantly share code, notes, and snippets.

@orbanbotond
Created December 29, 2014 12:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orbanbotond/3ebb0cb44c4b666567b2 to your computer and use it in GitHub Desktop.
Save orbanbotond/3ebb0cb44c4b666567b2 to your computer and use it in GitHub Desktop.
logger and rails logger snippets
<snippet>
<content><![CDATA[logger.${1:debug} "${2:your debug info}"]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>log</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.ruby</scope>
</snippet>
<snippet>
<content><![CDATA[Rails.logger.${1:debug} "${2:your debug info}"]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>rlog</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.ruby</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment