From 8f74a6a78ac6a6bb8b12cc339653c13507a97d4a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 23 Jul 2003 22:41:23 +0000 Subject: [PATCH] Mention the restriction on message length. (#118043, Martyn Russell) * glib/tmpl/messages.sgml: Mention the restriction on message length. (#118043, Martyn Russell) --- docs/reference/ChangeLog | 4 ++++ docs/reference/glib/tmpl/messages.sgml | 19 +++++++------------ 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index e5c06e6..270e9a1 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 0f49203..959edbe 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. -- 2.7.4