P004 Added new logging options for console level logging plus some initial unit tests