Added new features for the logger for #28 #29 #30