Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>Logging region</Title>
- <Shortcut>logr</Shortcut>
- <Description>Code snippet for inserting log4net Logging region with ILog static object.</Description>
- <Author>Corentin Pane</Author>
- </Header>
- <Snippet>
- <Declarations>
- <Literal default="true" Editable="false">
- <ID>classname</ID>
- <ToolTip>Class name</ToolTip>
- <Function>ClassName()</Function>
- <Default>ClassNamePlaceholder</Default>
- </Literal>
- </Declarations>
- <Code Language="csharp"><![CDATA[
- #region Logging
- private static readonly ILog log = LogManager.GetLogger("default", typeof($classname$));
- #endregion
- $end$]]>
- </Code>
- </Snippet>
- </CodeSnippet>
- </CodeSnippets>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement