Mercurial > pidgin
view src/protocols/zephyr/zephyr_err.h @ 7431:643cbc9a6035
[gaim-migrate @ 8036]
This is good enough for CVS. This is new logging. It centers around the
highly modular "GaimLogLogger," which controls how to write the log. Currently
I only have the plain text logger. I wrote the beginning of an XML logger, but
decided I didn't think it was that great an idea. Plugins can implement loggers
themselves, so you can have, like, an SQL logger or something.
The default logger writes to a file unique to the conversation, and they're saved
on disk in a heirarchical fashion: ~/.gaim/logs/aim/seanegn/robflynn-date.log would
be a conversation I had with Rob on date.
What doesn't work:
System logging
The search button in the log viewer.
Oh, chats probably don't log either, I didn't test.
You can only log in plain text right now.
Obviously, it's not done yet. But you can play around with it, and give it
some love. I'll get back to it tomorrow after school, maybe.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 05 Nov 2003 06:15:49 +0000 |
parents | 424a40f12a6c |
children | fc464a0abccc |
line wrap: on
line source
/* * zephyr_err.h: * This file is automatically generated; please do not edit it. */ #define ZERR_PKTLEN (-772103680L) #define ZERR_HEADERLEN (-772103679L) #define ZERR_ILLVAL (-772103678L) #define ZERR_HMPORT (-772103677L) #define ZERR_PORTINUSE (-772103676L) #define ZERR_BADPKT (-772103675L) #define ZERR_VERS (-772103674L) #define ZERR_NOPORT (-772103673L) #define ZERR_NONOTICE (-772103672L) #define ZERR_QLEN (-772103671L) #define ZERR_HMDEAD (-772103670L) #define ZERR_INTERNAL (-772103669L) #define ZERR_NOLOCATIONS (-772103668L) #define ZERR_NOMORELOCS (-772103667L) #define ZERR_FIELDLEN (-772103666L) #define ZERR_BADFIELD (-772103665L) #define ZERR_SERVNAK (-772103664L) #define ZERR_AUTHFAIL (-772103663L) #define ZERR_LOGINFAIL (-772103662L) #define ZERR_NOSUBSCRIPTIONS (-772103661L) #define ZERR_NOMORESUBSCRIPTIONS (-772103660L) #define ZERR_TOOMANYSUBS (-772103659L) #define ZERR_EOF (-772103658L) extern void initialize_zeph_error_table (); #define ERROR_TABLE_BASE_zeph (-772103680L) /* for compatibility with older versions... */ #define init_zeph_err_tbl initialize_zeph_error_table #define zeph_err_base ERROR_TABLE_BASE_zeph