From: Matthias Clasen Date: Wed, 23 Jul 2003 22:41:23 +0000 (+0000) Subject: Mention the restriction on message length. (#118043, Martyn Russell) X-Git-Tag: GLIB_2_3_0~133 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f74a6a78ac6a6bb8b12cc339653c13507a97d4a;p=platform%2Fupstream%2Fglib.git Mention the restriction on message length. (#118043, Martyn Russell) * glib/tmpl/messages.sgml: Mention the restriction on message length. (#118043, Martyn Russell) --- diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index e5c06e62d..270e9a1ba 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,7 @@ +2003-07-24 Matthias Clasen + + * glib/tmpl/messages.sgml: Mention the restriction on message length. (#118043, Martyn Russell) + 2003-07-18 Matthias Clasen * glib/tmpl/arrays_pointer.sgml: Add a note about double indirection in diff --git a/docs/reference/glib/tmpl/messages.sgml b/docs/reference/glib/tmpl/messages.sgml index 0f4920384..959edbe42 100644 --- a/docs/reference/glib/tmpl/messages.sgml +++ b/docs/reference/glib/tmpl/messages.sgml @@ -6,8 +6,11 @@ versatile support for logging messages with different levels of importance. -These functions provide support for logging error messages or messages -used for debugging. +These functions provide support for logging error messages or messages used for debugging. + + + +Note that the formatted messages must not exceed 1024 bytes. Longer messages will be truncated. @@ -88,7 +91,7 @@ function is called to terminate the program. @log_domain: the log domain, usually #G_LOG_DOMAIN. @log_level: the log level, either from #GLogLevelFlags or a user-defined level. @format: the message format. See the printf() -documentation. +documentation. @Varargs: the parameters to insert into the format string. @@ -111,11 +114,7 @@ documentation. A convenience function/macro to log a normal message. -@...: the parameters to insert into the format string. - -@format: the message format. See the printf() -documentation. -@args...: the parameters to insert into the format string. +@...: format string, followed by parameters to insert into the format string (as with printf()) @@ -149,10 +148,6 @@ assertion failure. @...: the parameters to insert into the format string. - -@format: the message format. See the printf() -documentation. -@args...: the parameters to insert into the format string.