Skip to content

Instantly share code, notes, and snippets.

@pratamawijaya
Created October 11, 2016 03:16
Show Gist options
  • Save pratamawijaya/8dc73028052d46c36cc905f056280f41 to your computer and use it in GitHub Desktop.
Save pratamawijaya/8dc73028052d46c36cc905f056280f41 to your computer and use it in GitHub Desktop.
<templateSet group="AndroidLog">
<template name="time" value="Timber.e(&quot;$METHOD_NAME$() : $content$ %s&quot;,$exception$);" description="Timber.e(Method,Exc)" toReformat="true" toShortenFQNames="true">
<variable name="METHOD_NAME" expression="methodName()" defaultValue="" alwaysStopAt="true" />
<variable name="content" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="exception" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_STATEMENT" value="true" />
</context>
</template>
<template name="timd" value="Timber.d(&quot;$METHOD_NAME$() : $content$ %s&quot;,$exception$);" description="Timber.d(Method,exc)" toReformat="true" toShortenFQNames="true">
<variable name="METHOD_NAME" expression="methodName()" defaultValue="" alwaysStopAt="true" />
<variable name="content" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="exception" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_STATEMENT" value="true" />
</context>
</template>
</templateSet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment