How can I shorten a singleton call?
<p>I have a singleton class that basically deals with logs. Every place at which I call it in the code, I have to type:</p>

<pre><code>LogClass::GetInstance()-&gt;WriteToLog("text");
</code></pre>

<p>How can I shorten this call so that I can just type <code>WriteToLog("text")</code> and it will call the function on the singleton object?</p>
