added sample logger with tagging