[flexcoders] override/monkey patch global functions possible?

2008-08-02 Thread Boon Chew
Hi, Is it possible to override global functions such as trace( ) ?  For example, sometimes I want the trace( ) to tell me where they are called from, but it's kinda a pain to have to import getQualifiedClassName and sprinkle code with stuff like (getQualifiedClassName(this) + : + ...); all

RE: [flexcoders] override/monkey patch global functions possible?

2008-08-02 Thread Alex Harui
To: flexcoders Subject: [flexcoders] override/monkey patch global functions possible? Hi, Is it possible to override global functions such as trace( ) ? For example, sometimes I want the trace( ) to tell me where they are called from, but it's kinda a pain to have to import getQualifiedClassName