add some funcs
change anywaylogger

template AnywayLogger can used repeatedly and it not except