This repository has been archived by the owner on Jan 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathPowerActLog.xml
47 lines (47 loc) · 2.44 KB
/
PowerActLog.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!--
A live template to simplify logcat output statement in PowerAct.
Import:
Copy it to <User Dir>/.AndroidStudio<ide_version>/config/templates/
Restart the IDE. (Android Studio 4.0)
Usage:
palg(d,i,w,e)
Before using it, make sure that it doesn't conflict with the existing live templates.
-->
<templateSet group="PowerActLog">
<template name="palgd" description="Output debug level logcat in PowerAct." toReformat="false"
toShortenFQNames="true"
value="github.ryuunoakaihitomi.poweract.internal.util.DebugLog.d(TAG, "$method$: $input$");">
<variable name="method" alwaysStopAt="false" defaultValue="" expression="methodName()" />
<variable name="input" alwaysStopAt="true" defaultValue="" expression="" />
<context>
<option name="JAVA_STATEMENT" value="true" />
</context>
</template>
<template name="palgi" description="Output info level logcat in PowerAct." toReformat="false"
toShortenFQNames="true"
value="github.ryuunoakaihitomi.poweract.internal.util.DebugLog.i(TAG, "$method$: $input$");">
<variable name="method" alwaysStopAt="false" defaultValue="" expression="methodName()" />
<variable name="input" alwaysStopAt="true" defaultValue="" expression="" />
<context>
<option name="JAVA_STATEMENT" value="true" />
</context>
</template>
<template name="palgw" description="Output warn level logcat in PowerAct." toReformat="false"
toShortenFQNames="true"
value="github.ryuunoakaihitomi.poweract.internal.util.DebugLog.w(TAG, "$method$: $input$");">
<variable name="method" alwaysStopAt="false" defaultValue="" expression="methodName()" />
<variable name="input" alwaysStopAt="true" defaultValue="" expression="" />
<context>
<option name="JAVA_STATEMENT" value="true" />
</context>
</template>
<template name="palge" description="Output error level logcat in PowerAct." toReformat="false"
toShortenFQNames="true"
value="github.ryuunoakaihitomi.poweract.internal.util.DebugLog.e(TAG, "$method$: $input$");">
<variable name="method" alwaysStopAt="false" defaultValue="" expression="methodName()" />
<variable name="input" alwaysStopAt="true" defaultValue="" expression="" />
<context>
<option name="JAVA_STATEMENT" value="true" />
</context>
</template>
</templateSet>