Added better error handling code to logger class.
Added improved filtering of sensitive data to logger class.
Added more loggers to logger class with finer control over whats logged.