mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Add some hints about making warnings fatal. (#348785, Matt Barnes)
2006-08-05 Matthias Clasen <mclasen@redhat.com> * glib/tmpl/messages.sgml: Add some hints about making warnings fatal. (#348785, Matt Barnes)
This commit is contained in:
parent
e94c42bd46
commit
9797823fe2
@ -1,3 +1,9 @@
|
||||
2006-08-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/tmpl/messages.sgml: Add some hints
|
||||
about making warnings fatal. (#348785, Matt
|
||||
Barnes)
|
||||
|
||||
2006-07-22 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.12.1 ===
|
||||
|
@ -138,6 +138,11 @@ A convenience function/macro to log a normal message.
|
||||
A convenience function/macro to log a warning message.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
You can make warnings fatal at runtime by setting the %G_DEBUG environment
|
||||
variable (see <ulink url="glib-running.html">Running GLib Applications</ulink>).
|
||||
</para>
|
||||
|
||||
@...: format string, followed by parameters to insert into the format string (as with printf())
|
||||
|
||||
@...:
|
||||
@ -166,6 +171,12 @@ warnings exit the program, then use g_critical() for fatal errors, for
|
||||
example.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
You can also make critical warnings fatal at runtime by setting
|
||||
the %G_DEBUG environment variable (see
|
||||
<ulink url="glib-running.html">Running GLib Applications</ulink>).
|
||||
</para>
|
||||
|
||||
@...: format string, followed by parameters to insert into the format string (as with printf())
|
||||
|
||||
@...:
|
||||
@ -304,6 +315,12 @@ You can only set the levels defined by GLib to be fatal.
|
||||
%G_LOG_LEVEL_ERROR is always fatal.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
You can also make some message levels
|
||||
fatal at runtime by setting the %G_DEBUG environment variable (see
|
||||
<ulink url="glib-running.html">Running GLib Applications</ulink>).
|
||||
</para>
|
||||
|
||||
@fatal_mask: the mask containing bits set for each level of error which is
|
||||
to be fatal.
|
||||
@Returns: the old fatal mask.
|
||||
|
Loading…
Reference in New Issue
Block a user