Added format method to chain

Added a format method to allow modification of default log object.