Added LuaHook function.
Added LogLua function.