logger support print variable directly: logger.debug($var)
add notice level
Update example