add logger util
support complex initialization expression