Mention the restriction on message length. (#118043, Martyn Russell)
authorMatthias Clasen <matthiasc@src.gnome.org>
Wed, 23 Jul 2003 22:41:23 +0000 (22:41 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 23 Jul 2003 22:41:23 +0000 (22:41 +0000)
* glib/tmpl/messages.sgml: Mention the restriction on message length.  (#118043, Martyn Russell)

docs/reference/ChangeLog
docs/reference/glib/tmpl/messages.sgml

index e5c06e6..270e9a1 100644 (file)
@@ -1,3 +1,7 @@
+2003-07-24  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/tmpl/messages.sgml: Mention the restriction on message length.  (#118043, Martyn Russell)
+
 2003-07-18  Matthias Clasen  <maclas@gmx.de>
 
        * glib/tmpl/arrays_pointer.sgml: Add a note about double indirection in 
index 0f49203..959edbe 100644 (file)
@@ -6,8 +6,11 @@ versatile support for logging messages with different levels of importance.
 
 <!-- ##### SECTION Long_Description ##### -->
 <para>
-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. 
+</para>
+
+<para>
+Note that the formatted messages must not exceed 1024 bytes. Longer messages will be truncated. 
 </para>
 
 <para>
@@ -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 <function>printf()</function>
-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.
 </para>
 
-@...: the parameters to insert into the format string.
-<!-- # Unused Parameters # -->
-@format: the message format. See the <function>printf()</function>
-documentation.
-@args...: the parameters to insert into the format string.
+@...: format string, followed by parameters to insert into the format string (as with <function>printf()</function>)
 
 
 <!-- ##### MACRO g_warning ##### -->
@@ -149,10 +148,6 @@ assertion failure.
 </para>
 
 @...: the parameters to insert into the format string.
-<!-- # Unused Parameters # -->
-@format: the message format. See the <function>printf()</function>
-documentation.
-@args...: the parameters to insert into the format string.
 
 
 <!-- ##### FUNCTION g_log_set_handler ##### -->