updated logger
now using in clangastvisitor
nicer output