title: Can a ColdFusion cfc method determine its own name?
body: <p>I am creating an API, and within each method I make a call to a logging method for auditing and troubleshooting.  Something like:</p>
  
  <pre><code>&lt;cffunction name="isUsernameAvailable"&gt;
      &lt;cfset logAccess(request.userid,"isUsernameAvailable")&gt;
      ......
  &lt;/cffunction&gt;
  </code></pre>
  
  <p>I'd like to avoid manually repeating the method name.  Is there a way to programatically determine it?</p>
  
  <p>I've looked at GetMetaData() but it only returns info about the <em>component</em> (including all the methods) but nothing about which method is currently being called.</p>