SHARE
TWEET

Untitled

a guest Jan 22nd, 2020 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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>Logging region</Title>
  6.             <Shortcut>logr</Shortcut>
  7.             <Description>Code snippet for inserting log4net Logging region with ILog static object.</Description>
  8.             <Author>Corentin Pane</Author>
  9.         </Header>
  10.         <Snippet>
  11.              <Declarations>
  12.                 <Literal default="true" Editable="false">
  13.                     <ID>classname</ID>
  14.                     <ToolTip>Class name</ToolTip>
  15.                     <Function>ClassName()</Function>
  16.                     <Default>ClassNamePlaceholder</Default>
  17.                 </Literal>
  18.             </Declarations>
  19.             <Code Language="csharp"><![CDATA[
  20.        #region Logging
  21.        private static readonly ILog log = LogManager.GetLogger("default", typeof($classname$));
  22.        #endregion
  23.     $end$]]>
  24.             </Code>
  25.         </Snippet>
  26.     </CodeSnippet>
  27. </CodeSnippets>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top