comparison src/account.h @ 13507:702107dd58f1

[gaim-migrate @ 15883] I noticed that we were writing "FOO has signed off" noticed to the system log after we disconnected. With the HTML logger, this results in a new <html>...</html> block being added, with a duplicate header and everything. It seems we shouldn't be writing these messages after the system log has been closed. "Fixing" the HTML logger might be a good idea as well. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 14 Mar 2006 06:59:14 +0000
parents e5f780a6137b
children
comparison
equal deleted inserted replaced
13506:c358be635301 13507:702107dd58f1
703 const char *name, gboolean default_value); 703 const char *name, gboolean default_value);
704 704
705 705
706 /** 706 /**
707 * Returns the system log for an account. 707 * Returns the system log for an account.
708 * Create it if it doesn't already exist. 708 *
709 * 709 * @param account The account.
710 * @param account The account. 710 * @param create Should it be created if it doesn't exist?
711 * 711 *
712 * @return The log. 712 * @return The log.
713 */ 713 *
714 GaimLog *gaim_account_get_log(GaimAccount *account); 714 * @note Callers should almost always pass @c FALSE for @a create.
715 * Passing @c TRUE could result in an existing log being reopened,
716 * if the log has already been closed, which not all loggers deal
717 * with appropriately.
718 */
719 GaimLog *gaim_account_get_log(GaimAccount *account, gboolean create);
715 720
716 /** 721 /**
717 * Frees the system log of an account 722 * Frees the system log of an account
718 * 723 *
719 * @param account The account. 724 * @param account The account.