update example plugin for new logger changes