[Users] [Bug 3353] unify date/time stamping of all console/log messages

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Thu May 5 10:09:45 CEST 2016


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3353

--- Comment #2 from Pierre Fortin <pf at pfortin.com> ---
(In reply to comment #1)

> Not sure if this is all what you wanted in this request, but it's a start ;-)

Thanks for the 'start' :) -- really appreciated!
Compiled latest git + these mods; but not yet seeing what I was hoping for...
Digging into the code (I can read it somewhat; but haven't written C in over 40
years), it appears the code I'm hoping to see get time stamps is in
src/common/log.h where there are refs to G_GNUC_PRINTF (also in
src/common/utils.h, src/privacy.h, and possibly src/alertpanel.h &
src/statusbar.h)  Found
https://developer.gnome.org/glib/stable/glib-Miscellaneous-Macros.html#G-GNUC-PRINTF:CAPS
but I don't yet see how to change 
  void log_* (LogInstance instance, const gchar *format, ...) G_GNUC_PRINTF(2,
3);
to add time stamps...  Guessing change to struct _LogText needed; but... :)

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list