title: Using NLog is there any way to log the name of the logger before the trailing dot?
body: <p>I have a scenario where I could reduce the number of targets in a configuration file if I could log the name of the logger <strong>before</strong> the trailing dot character.</p>
  
  <p>Using <code>${logger:shortName=true}</code> it is possible to render the short name of the logger, that is by definition <a href="http://nlog-project.org/wiki/Logger_layout_renderer" rel="nofollow">the part after the trailing dot character</a>. However what I want to log is the part before the dot character.</p>
  
  <p>For example I might use a logger name of <code>MyNamespace.MyClass</code>, using <code>${logger:shortName=true}</code> I would get a value of <code>MyClass</code> but I cannot see a way to get a value of just <code>MyNamespace</code> as using <code>${logger:shortName=false}</code> returns the full name of <code>MyNamespace.MyClass</code>.</p>
  
  <p>So I would like to know if this is possible?</p>