Mention the restriction on message length. (#118043, Martyn Russell)

* glib/tmpl/messages.sgml: Mention the restriction on message length.  (#118043, Martyn Russell)
This commit is contained in:
Matthias Clasen 2003-07-23 22:41:23 +00:00
parent 709941e57b
commit 8f74a6a78a
2 changed files with 11 additions and 12 deletions

View 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> 2003-07-18 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/arrays_pointer.sgml: Add a note about double indirection in * glib/tmpl/arrays_pointer.sgml: Add a note about double indirection in

View File

@ -6,8 +6,11 @@ versatile support for logging messages with different levels of importance.
<!-- ##### SECTION Long_Description ##### --> <!-- ##### SECTION Long_Description ##### -->
<para> <para>
These functions provide support for logging error messages or messages These functions provide support for logging error messages or messages used for debugging.
used for debugging. </para>
<para>
Note that the formatted messages must not exceed 1024 bytes. Longer messages will be truncated.
</para> </para>
<para> <para>
@ -88,7 +91,7 @@ function is called to terminate the program.
@log_domain: the log domain, usually #G_LOG_DOMAIN. @log_domain: the log domain, usually #G_LOG_DOMAIN.
@log_level: the log level, either from #GLogLevelFlags or a user-defined level. @log_level: the log level, either from #GLogLevelFlags or a user-defined level.
@format: the message format. See the <function>printf()</function> @format: the message format. See the <function>printf()</function>
documentation. documentation.
@Varargs: the parameters to insert into the format string. @Varargs: the parameters to insert into the format string.
@ -111,11 +114,7 @@ documentation.
A convenience function/macro to log a normal message. A convenience function/macro to log a normal message.
</para> </para>
@...: the parameters to insert into the format string. @...: format string, followed by parameters to insert into the format string (as with <function>printf()</function>)
<!-- # Unused Parameters # -->
@format: the message format. See the <function>printf()</function>
documentation.
@args...: the parameters to insert into the format string.
<!-- ##### MACRO g_warning ##### --> <!-- ##### MACRO g_warning ##### -->
@ -149,10 +148,6 @@ assertion failure.
</para> </para>
@...: the parameters to insert into the format string. @...: 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 ##### --> <!-- ##### FUNCTION g_log_set_handler ##### -->