added logger.error and logger.debug to make it feel like home; have close check to make sure we're not trying to close STDOUT or STDERR
added logger.error and logger.debug to make it feel like home; have close check to make sure we're not trying to close STDOUT or STDERR

anamba/nines