Updated to work with new debug class
Update log function - added PartialImplementation specific log function