Re: Easiest logging..
will guaraldi <[email protected]>
| Newsgroups | gmane.comp.games.mud.client.lyntin |
|---|---|
| Message-ID | <[email protected]> |
Um... use the regular logger. There's a stripansi option--if you set that to false, then it'll log all data from the mud and the user and it won't strip the ansi. If you want the user input commands in a specific format, then delve into the logger code (lyntin/modules/logger.py) and adjust the tomudFilter method. I think that answers your question. If not, provide more detail about what you're trying to do and what you want the outcome to be. /will On Sun, 2 May 2004 [email protected] wrote: > > What is the easiest way to log exactly what goes to the UI screen? I've > written my own logging module that timestamps, so I will just add this > functionality to that one. I suspect I will not use mud_filter_hook. > What should I do? I want the user input commands to be in reverse blue > and everything, keep all ansi codes, etc. > > -- whatever it is, you can find it at http://www.bluesock.org/~willg/ except Will--you can only see him in real life. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click