title: Jlog Getinstance in Joomla 3.0?
body: <p>I made a small extension for Joomla 2.5 and it worked.
  But the issue is when i trying to make it compatible with Joomla 3, I get errors about JLog::getInstance method is not found.
  I know that they removed it and it got replaced by JLogLogger but that is also not working.</p>
  
  <p>Can someone please help me and make it work?
  The code I am using in Joomla 2.5 is</p>
  
  <pre><code>$log = JLog::getInstance();
  $log-&gt;addEntry(array('comment' =&gt; $server['REMOTE_ADDR'] . " is allowed"));
  </code></pre>
  
  <p>I made a variable called $log because I am using it more.
  This is just a small code from the extension.</p>