adding sample method showing how to build with custom logger. needs refactoring
changes for diag analyzer, work in progress