added simple example of client logger
refactored for new logger