title: Get the type or pass a module like and object in VB
body: <p>I have a logger that works like so:</p>
  
  <pre><code> Dim logger = new Logger(Me)
  </code></pre>
  
  <p>This has the effect of extracting out some information of the entity provided in string format. Unfortunately we have a couple of <code>Modules</code> in our code so this naturally does not work.</p>
  
  <p>Is there a way to get the <code>Type</code> of a module or basically make it fit without having to pass the information about the module in as a collection of strings.</p>