Extended the Logging functionality through the PDF Creation part