Accessing object property from caller
<p>I have a file that contains essentially a library of classes. I am logging errors from these classes using a separate logEngine class that is included in the file. I would like to pull a property from the class that calls these classes and store it along with the logged errors. To put it differently file A has a class that calls different classes from file B. File B's classes log errors from a class located in file C. I would like file B's classes to pull a property out of the instanced class in file A, and include it in the logging class from file C. </p>

<p>More visual: </p>

<p>File A: Storage -> File B: Class Library for file A (storage) -> File C: Logging Class for file B</p>

<p>I need a property from the calling object in file A to be stored using the logging class in file C from the objects from file B. </p>

<p>Help me stackoverflow, you're my only hope. If this is confusing I apologize. I'm not sure if this is even possible. I am trying to avoid having to rewrite any code. </p>
