Skip to content

Commit 09147c9

Browse files
authored
add debug.logerror and logexception
1 parent a315279 commit 09147c9

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

Debug/dble.snippet

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3+
<CodeSnippet Format="1.0.0">
4+
<Header>
5+
<Title>dble</Title>
6+
<Shortcut>dble</Shortcut>
7+
<Description>Code snippet for Debug.LogError()</Description>
8+
<Author>UnityLibrary</Author>
9+
</Header>
10+
<Snippet>
11+
<Declarations>
12+
<Literal Editable="false"></Literal>
13+
</Declarations>
14+
<Code Language="csharp"><![CDATA[Debug.LogError("$end$");]]></Code>
15+
</Snippet>
16+
</CodeSnippet>
17+
</CodeSnippets>

Debug/dblex.snippet

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3+
<CodeSnippet Format="1.0.0">
4+
<Header>
5+
<Title>dblex</Title>
6+
<Shortcut>dblex</Shortcut>
7+
<Description>Code snippet for Debug.LogException()</Description>
8+
<Author>UnityLibrary</Author>
9+
</Header>
10+
<Snippet>
11+
<Declarations>
12+
<Literal Editable="false"></Literal>
13+
</Declarations>
14+
<Code Language="csharp"><![CDATA[Debug.LogException(e);]]></Code>
15+
</Snippet>
16+
</CodeSnippet>
17+
</CodeSnippets>

0 commit comments

Comments
 (0)