add logger lua interface
working on framework...