Enhancement: Added logging exception trap
Enhancement: Added support to format numbers