1. A method of automatic application logging, comprising: receiving a directive for logging data associated with an application; modifying one or more runtime objects of an instance of the application running on a processor according to the directive to collect the data; and collecting the data via the modified one or more runtime objects.