[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua_settagmethod
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 18 Jan 2000 15:42:40 -0200 (EDT)
>From firstname.lastname@example.org Mon Jan 17 17:36:39 2000
>From: "Thomas Tong" <email@example.com>
>The project I'm using LUA in with doesn't have stderr available. I've
>been able to get around it by changing the lua _ALERT function to write
>out to a log file instead.
>Rather than changing the LUA code I'd like to change _ALERT to map to
>my function instead. From reading the documentation, it appears that
>settagmethod would be the way to go.
No, you have to *redefine* _ALERT:
or, to expand this:
Please tell us where the documentation misled you and we'll fix it.