static int logErrorChannel(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (TypeChecker.CheckTypes <UnityEngine.Object, string, string>(L, 1) && TypeChecker.CheckParamsType <object>(L, 4, count - 3))
            {
                UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
                string             arg1 = ToLua.ToString(L, 2);
                string             arg2 = ToLua.ToString(L, 3);
                object[]           arg3 = ToLua.ToParamsObject(L, 4, count - 3);
                LogProxy.logErrorChannel(arg0, arg1, arg2, arg3);
                return(0);
            }
            else if (TypeChecker.CheckTypes <string, string>(L, 1) && TypeChecker.CheckParamsType <object>(L, 3, count - 2))
            {
                string   arg0 = ToLua.ToString(L, 1);
                string   arg1 = ToLua.ToString(L, 2);
                object[] arg2 = ToLua.ToParamsObject(L, 3, count - 2);
                LogProxy.logErrorChannel(arg0, arg1, arg2);
                return(0);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: LogProxy.logErrorChannel"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }