<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="cutter-CutLogger">
<refmeta>
<refentrytitle role="top_of_page" id="cutter-CutLogger.top_of_page">CutLogger</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>CUTTER Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>CutLogger</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsect1 id="cutter-CutLogger.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_return" colwidth="150px"/>
<colspec colname="functions_name"/>
<tbody>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-log">cut_log</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-log-critical">cut_log_critical</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-log-error">cut_log_error</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-log-warning">cut_log_warning</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-log-message">cut_log_message</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-log-info">cut_log_info</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-log-debug">cut_log_debug</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-log-trace">cut_log_trace</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-set-log-level">cut_set_log_level</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-get-log-level">cut_get_log_level</link></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-get-interesting-log-level">cut_get_interesting_log_level</link></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-need-log">cut_need_log</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-need-critical-log">cut_need_critical_log</link></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-need-error-log">cut_need_error_log</link></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-need-warning-log">cut_need_warning_log</link></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-need-message-log">cut_need_message_log</link></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-need-info-log">cut_need_info_log</link></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-need-debug-log">cut_need_debug_log</link></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-need-trace-log">cut_need_trace_log</link></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="CUT-LOG-NULL-SAFE-STRING:CAPS">CUT_LOG_NULL_SAFE_STRING</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GQuark"><returnvalue>GQuark</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-enum-error-quark">cut_enum_error_quark</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GQuark"><returnvalue>GQuark</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-flags-error-quark">cut_flags_error_quark</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GQuark"><returnvalue>GQuark</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-logger-error-quark">cut_logger_error_quark</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="CutLogLevelFlags"><returnvalue>CutLogLevelFlags</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-log-level-flags-from-string">cut_log_level_flags_from_string</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="CutLogItemFlags"><returnvalue>CutLogItemFlags</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-log-item-flags-from-string">cut_log_item_flags_from_string</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="CutLogger"><returnvalue>CutLogger</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="cut-logger">cut_logger</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-logger-default-log-handler">cut_logger_default_log_handler</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="CutLogger"><returnvalue>CutLogger</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="cut-logger-new">cut_logger_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-logger-log">cut_logger_log</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-logger-log-va-list">cut_logger_log_va_list</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="CutLogLevelFlags"><returnvalue>CutLogLevelFlags</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-logger-get-target-level">cut_logger_get_target_level</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="CutLogLevelFlags"><returnvalue>CutLogLevelFlags</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-logger-get-resolved-target-level">cut_logger_get_resolved_target_level</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-logger-set-target-level">cut_logger_set_target_level</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-logger-set-target-level-by-string">cut_logger_set_target_level_by_string</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-logger-set-interesting-level">cut_logger_set_interesting_level</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="CutLogLevelFlags"><returnvalue>CutLogLevelFlags</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-logger-get-interesting-level">cut_logger_get_interesting_level</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="CutLogItemFlags"><returnvalue>CutLogItemFlags</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-logger-get-target-item">cut_logger_get_target_item</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-logger-set-target-item">cut_logger_set_target_item</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-logger-set-target-item-by-string">cut_logger_set_target_item_by_string</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-logger-connect-default-handler">cut_logger_connect_default_handler</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-logger-disconnect-default-handler">cut_logger_disconnect_default_handler</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="CUT-GLIB-LOG-DELEGATE:CAPS">CUT_GLIB_LOG_DELEGATE</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-glib-log-handler">cut_glib_log_handler</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="cutter-CutLogger.other" role="other_proto">
<title role="other_proto.title">Types and Values</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="name" colwidth="150px"/>
<colspec colname="description"/>
<tbody>
<row><entry role="datatype_keyword">enum</entry><entry role="function_name"><link linkend="CutLogLevelFlags">CutLogLevelFlags</link></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="CUT-LOG-LEVEL-ALL:CAPS">CUT_LOG_LEVEL_ALL</link></entry></row>
<row><entry role="datatype_keyword">enum</entry><entry role="function_name"><link linkend="CutLogItemFlags">CutLogItemFlags</link></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="CUT-LOG-ITEM-ALL:CAPS">CUT_LOG_ITEM_ALL</link></entry></row>
<row><entry role="datatype_keyword">enum</entry><entry role="function_name"><link linkend="CutLogColorize">CutLogColorize</link></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="CUT-ENUM-ERROR:CAPS">CUT_ENUM_ERROR</link></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="CUT-FLAGS-ERROR:CAPS">CUT_FLAGS_ERROR</link></entry></row>
<row><entry role="datatype_keyword">enum</entry><entry role="function_name"><link linkend="CutEnumError">CutEnumError</link></entry></row>
<row><entry role="datatype_keyword">enum</entry><entry role="function_name"><link linkend="CutFlagsError">CutFlagsError</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>


<refsect1 id="cutter-CutLogger.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>

</refsect1>
<refsect1 id="cutter-CutLogger.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="cut-log" role="macro">
<title>cut_log()</title>
<indexterm zone="cut-log"><primary>cut_log</primary></indexterm>
<programlisting language="C">#define             cut_log(level, format, ...)</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-log-critical" role="macro">
<title>cut_log_critical()</title>
<indexterm zone="cut-log-critical"><primary>cut_log_critical</primary></indexterm>
<programlisting language="C">#define             cut_log_critical(format, ...)</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-log-error" role="macro">
<title>cut_log_error()</title>
<indexterm zone="cut-log-error"><primary>cut_log_error</primary></indexterm>
<programlisting language="C">#define             cut_log_error(format, ...)</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-log-warning" role="macro">
<title>cut_log_warning()</title>
<indexterm zone="cut-log-warning"><primary>cut_log_warning</primary></indexterm>
<programlisting language="C">#define             cut_log_warning(format, ...)</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-log-message" role="macro">
<title>cut_log_message()</title>
<indexterm zone="cut-log-message"><primary>cut_log_message</primary></indexterm>
<programlisting language="C">#define             cut_log_message(format, ...)</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-log-info" role="macro">
<title>cut_log_info()</title>
<indexterm zone="cut-log-info"><primary>cut_log_info</primary></indexterm>
<programlisting language="C">#define             cut_log_info(format, ...)</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-log-debug" role="macro">
<title>cut_log_debug()</title>
<indexterm zone="cut-log-debug"><primary>cut_log_debug</primary></indexterm>
<programlisting language="C">#define             cut_log_debug(format, ...)</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-log-trace" role="macro">
<title>cut_log_trace()</title>
<indexterm zone="cut-log-trace"><primary>cut_log_trace</primary></indexterm>
<programlisting language="C">#define             cut_log_trace(format, ...)</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-set-log-level" role="macro">
<title>cut_set_log_level()</title>
<indexterm zone="cut-set-log-level"><primary>cut_set_log_level</primary></indexterm>
<programlisting language="C">#define             cut_set_log_level(level)</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-get-log-level" role="macro">
<title>cut_get_log_level</title>
<indexterm zone="cut-get-log-level"><primary>cut_get_log_level</primary></indexterm>
<programlisting language="C">#define             cut_get_log_level()</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-get-interesting-log-level" role="macro">
<title>cut_get_interesting_log_level</title>
<indexterm zone="cut-get-interesting-log-level"><primary>cut_get_interesting_log_level</primary></indexterm>
<programlisting language="C">#define             cut_get_interesting_log_level()</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-need-log" role="macro">
<title>cut_need_log()</title>
<indexterm zone="cut-need-log"><primary>cut_need_log</primary></indexterm>
<programlisting language="C">#define             cut_need_log(level)</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-need-critical-log" role="macro">
<title>cut_need_critical_log</title>
<indexterm zone="cut-need-critical-log"><primary>cut_need_critical_log</primary></indexterm>
<programlisting language="C">#define             cut_need_critical_log()</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-need-error-log" role="macro">
<title>cut_need_error_log</title>
<indexterm zone="cut-need-error-log"><primary>cut_need_error_log</primary></indexterm>
<programlisting language="C">#define             cut_need_error_log()</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-need-warning-log" role="macro">
<title>cut_need_warning_log</title>
<indexterm zone="cut-need-warning-log"><primary>cut_need_warning_log</primary></indexterm>
<programlisting language="C">#define             cut_need_warning_log()</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-need-message-log" role="macro">
<title>cut_need_message_log</title>
<indexterm zone="cut-need-message-log"><primary>cut_need_message_log</primary></indexterm>
<programlisting language="C">#define             cut_need_message_log()</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-need-info-log" role="macro">
<title>cut_need_info_log</title>
<indexterm zone="cut-need-info-log"><primary>cut_need_info_log</primary></indexterm>
<programlisting language="C">#define             cut_need_info_log()</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-need-debug-log" role="macro">
<title>cut_need_debug_log</title>
<indexterm zone="cut-need-debug-log"><primary>cut_need_debug_log</primary></indexterm>
<programlisting language="C">#define             cut_need_debug_log()</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-need-trace-log" role="macro">
<title>cut_need_trace_log</title>
<indexterm zone="cut-need-trace-log"><primary>cut_need_trace_log</primary></indexterm>
<programlisting language="C">#define             cut_need_trace_log()</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="CUT-LOG-NULL-SAFE-STRING:CAPS" role="macro">
<title>CUT_LOG_NULL_SAFE_STRING()</title>
<indexterm zone="CUT-LOG-NULL-SAFE-STRING:CAPS"><primary>CUT_LOG_NULL_SAFE_STRING</primary></indexterm>
<programlisting language="C">#define CUT_LOG_NULL_SAFE_STRING(string) ((string) ? (string) : "(null)")
</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-enum-error-quark" role="function">
<title>cut_enum_error_quark&#160;()</title>
<indexterm zone="cut-enum-error-quark"><primary>cut_enum_error_quark</primary></indexterm>
<programlisting language="C"><link linkend="GQuark"><returnvalue>GQuark</returnvalue></link>
cut_enum_error_quark (<parameter><type>void</type></parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-flags-error-quark" role="function">
<title>cut_flags_error_quark&#160;()</title>
<indexterm zone="cut-flags-error-quark"><primary>cut_flags_error_quark</primary></indexterm>
<programlisting language="C"><link linkend="GQuark"><returnvalue>GQuark</returnvalue></link>
cut_flags_error_quark (<parameter><type>void</type></parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-error-quark" role="function">
<title>cut_logger_error_quark&#160;()</title>
<indexterm zone="cut-logger-error-quark"><primary>cut_logger_error_quark</primary></indexterm>
<programlisting language="C"><link linkend="GQuark"><returnvalue>GQuark</returnvalue></link>
cut_logger_error_quark (<parameter><type>void</type></parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-log-level-flags-from-string" role="function">
<title>cut_log_level_flags_from_string&#160;()</title>
<indexterm zone="cut-log-level-flags-from-string"><primary>cut_log_level_flags_from_string</primary></indexterm>
<programlisting language="C"><link linkend="CutLogLevelFlags"><returnvalue>CutLogLevelFlags</returnvalue></link>
cut_log_level_flags_from_string (<parameter>const <link linkend="gchar"><type>gchar</type></link> *level_name</parameter>,
                                 <parameter><link linkend="CutLogLevelFlags"><type>CutLogLevelFlags</type></link> base_flags</parameter>,
                                 <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-log-item-flags-from-string" role="function">
<title>cut_log_item_flags_from_string&#160;()</title>
<indexterm zone="cut-log-item-flags-from-string"><primary>cut_log_item_flags_from_string</primary></indexterm>
<programlisting language="C"><link linkend="CutLogItemFlags"><returnvalue>CutLogItemFlags</returnvalue></link>
cut_log_item_flags_from_string (<parameter>const <link linkend="gchar"><type>gchar</type></link> *item_name</parameter>,
                                <parameter><link linkend="CutLogItemFlags"><type>CutLogItemFlags</type></link> base_flags</parameter>,
                                <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger" role="function">
<title>cut_logger&#160;()</title>
<indexterm zone="cut-logger"><primary>cut_logger</primary></indexterm>
<programlisting language="C"><link linkend="CutLogger"><returnvalue>CutLogger</returnvalue></link>&#160;*
cut_logger (<parameter><type>void</type></parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-default-log-handler" role="function">
<title>cut_logger_default_log_handler&#160;()</title>
<indexterm zone="cut-logger-default-log-handler"><primary>cut_logger_default_log_handler</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_logger_default_log_handler (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>,
                                <parameter>const <link linkend="gchar"><type>gchar</type></link> *domain</parameter>,
                                <parameter><link linkend="CutLogLevelFlags"><type>CutLogLevelFlags</type></link> level</parameter>,
                                <parameter>const <link linkend="gchar"><type>gchar</type></link> *file</parameter>,
                                <parameter><link linkend="guint"><type>guint</type></link> line</parameter>,
                                <parameter>const <link linkend="gchar"><type>gchar</type></link> *function</parameter>,
                                <parameter><link linkend="GTimeVal"><type>GTimeVal</type></link> *time_value</parameter>,
                                <parameter>const <link linkend="gchar"><type>gchar</type></link> *message</parameter>,
                                <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-new" role="function">
<title>cut_logger_new&#160;()</title>
<indexterm zone="cut-logger-new"><primary>cut_logger_new</primary></indexterm>
<programlisting language="C"><link linkend="CutLogger"><returnvalue>CutLogger</returnvalue></link>&#160;*
cut_logger_new (<parameter><type>void</type></parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-log" role="function">
<title>cut_logger_log&#160;()</title>
<indexterm zone="cut-logger-log"><primary>cut_logger_log</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_logger_log (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>,
                <parameter>const <link linkend="gchar"><type>gchar</type></link> *domain</parameter>,
                <parameter><link linkend="CutLogLevelFlags"><type>CutLogLevelFlags</type></link> level</parameter>,
                <parameter>const <link linkend="gchar"><type>gchar</type></link> *file</parameter>,
                <parameter><link linkend="guint"><type>guint</type></link> line</parameter>,
                <parameter>const <link linkend="gchar"><type>gchar</type></link> *function</parameter>,
                <parameter>const <link linkend="gchar"><type>gchar</type></link> *format</parameter>,
                <parameter>...</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-log-va-list" role="function">
<title>cut_logger_log_va_list&#160;()</title>
<indexterm zone="cut-logger-log-va-list"><primary>cut_logger_log_va_list</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_logger_log_va_list (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>,
                        <parameter>const <link linkend="gchar"><type>gchar</type></link> *domain</parameter>,
                        <parameter><link linkend="CutLogLevelFlags"><type>CutLogLevelFlags</type></link> level</parameter>,
                        <parameter>const <link linkend="gchar"><type>gchar</type></link> *file</parameter>,
                        <parameter><link linkend="guint"><type>guint</type></link> line</parameter>,
                        <parameter>const <link linkend="gchar"><type>gchar</type></link> *function</parameter>,
                        <parameter>const <link linkend="gchar"><type>gchar</type></link> *format</parameter>,
                        <parameter><link linkend="va-list"><type>va_list</type></link> args</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-get-target-level" role="function">
<title>cut_logger_get_target_level&#160;()</title>
<indexterm zone="cut-logger-get-target-level"><primary>cut_logger_get_target_level</primary></indexterm>
<programlisting language="C"><link linkend="CutLogLevelFlags"><returnvalue>CutLogLevelFlags</returnvalue></link>
cut_logger_get_target_level (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-get-resolved-target-level" role="function">
<title>cut_logger_get_resolved_target_level&#160;()</title>
<indexterm zone="cut-logger-get-resolved-target-level"><primary>cut_logger_get_resolved_target_level</primary></indexterm>
<programlisting language="C"><link linkend="CutLogLevelFlags"><returnvalue>CutLogLevelFlags</returnvalue></link>
cut_logger_get_resolved_target_level (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-set-target-level" role="function">
<title>cut_logger_set_target_level&#160;()</title>
<indexterm zone="cut-logger-set-target-level"><primary>cut_logger_set_target_level</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_logger_set_target_level (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>,
                             <parameter><link linkend="CutLogLevelFlags"><type>CutLogLevelFlags</type></link> level</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-set-target-level-by-string" role="function">
<title>cut_logger_set_target_level_by_string&#160;()</title>
<indexterm zone="cut-logger-set-target-level-by-string"><primary>cut_logger_set_target_level_by_string</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
cut_logger_set_target_level_by_string (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>,
                                       <parameter>const <link linkend="gchar"><type>gchar</type></link> *level_name</parameter>,
                                       <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-set-interesting-level" role="function">
<title>cut_logger_set_interesting_level&#160;()</title>
<indexterm zone="cut-logger-set-interesting-level"><primary>cut_logger_set_interesting_level</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_logger_set_interesting_level (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>,
                                  <parameter>const <link linkend="gchar"><type>gchar</type></link> *key</parameter>,
                                  <parameter><link linkend="CutLogLevelFlags"><type>CutLogLevelFlags</type></link> level</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-get-interesting-level" role="function">
<title>cut_logger_get_interesting_level&#160;()</title>
<indexterm zone="cut-logger-get-interesting-level"><primary>cut_logger_get_interesting_level</primary></indexterm>
<programlisting language="C"><link linkend="CutLogLevelFlags"><returnvalue>CutLogLevelFlags</returnvalue></link>
cut_logger_get_interesting_level (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-get-target-item" role="function">
<title>cut_logger_get_target_item&#160;()</title>
<indexterm zone="cut-logger-get-target-item"><primary>cut_logger_get_target_item</primary></indexterm>
<programlisting language="C"><link linkend="CutLogItemFlags"><returnvalue>CutLogItemFlags</returnvalue></link>
cut_logger_get_target_item (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-set-target-item" role="function">
<title>cut_logger_set_target_item&#160;()</title>
<indexterm zone="cut-logger-set-target-item"><primary>cut_logger_set_target_item</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_logger_set_target_item (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>,
                            <parameter><link linkend="CutLogItemFlags"><type>CutLogItemFlags</type></link> item</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-set-target-item-by-string" role="function">
<title>cut_logger_set_target_item_by_string&#160;()</title>
<indexterm zone="cut-logger-set-target-item-by-string"><primary>cut_logger_set_target_item_by_string</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
cut_logger_set_target_item_by_string (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>,
                                      <parameter>const <link linkend="gchar"><type>gchar</type></link> *item_name</parameter>,
                                      <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-connect-default-handler" role="function">
<title>cut_logger_connect_default_handler&#160;()</title>
<indexterm zone="cut-logger-connect-default-handler"><primary>cut_logger_connect_default_handler</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_logger_connect_default_handler (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-logger-disconnect-default-handler" role="function">
<title>cut_logger_disconnect_default_handler&#160;()</title>
<indexterm zone="cut-logger-disconnect-default-handler"><primary>cut_logger_disconnect_default_handler</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_logger_disconnect_default_handler (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="CUT-GLIB-LOG-DELEGATE:CAPS" role="macro">
<title>CUT_GLIB_LOG_DELEGATE()</title>
<indexterm zone="CUT-GLIB-LOG-DELEGATE:CAPS"><primary>CUT_GLIB_LOG_DELEGATE</primary></indexterm>
<programlisting language="C">#define             CUT_GLIB_LOG_DELEGATE(domain)</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="cut-glib-log-handler" role="function">
<title>cut_glib_log_handler&#160;()</title>
<indexterm zone="cut-glib-log-handler"><primary>cut_glib_log_handler</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_glib_log_handler (<parameter>const <link linkend="gchar"><type>gchar</type></link> *log_domain</parameter>,
                      <parameter><link linkend="GLogLevelFlags"><type>GLogLevelFlags</type></link> log_level</parameter>,
                      <parameter>const <link linkend="gchar"><type>gchar</type></link> *message</parameter>,
                      <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>
</para>
</refsect2>

</refsect1>
<refsect1 id="cutter-CutLogger.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="CutLogLevelFlags" role="enum">
<title>enum CutLogLevelFlags</title>
<indexterm zone="CutLogLevelFlags"><primary>CutLogLevelFlags</primary></indexterm>
<para>
</para>
<refsect3 id="CutLogLevelFlags.members" role="enum_members">
<title>Members</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="enum_members_name" colwidth="300px"/>
<colspec colname="enum_members_description"/>
<colspec colname="enum_members_annotations" colwidth="200px"/>
<tbody>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-LEVEL-DEFAULT:CAPS">CUT_LOG_LEVEL_DEFAULT</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-LEVEL-NONE:CAPS">CUT_LOG_LEVEL_NONE</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-LEVEL-CRITICAL:CAPS">CUT_LOG_LEVEL_CRITICAL</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-LEVEL-ERROR:CAPS">CUT_LOG_LEVEL_ERROR</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-LEVEL-WARNING:CAPS">CUT_LOG_LEVEL_WARNING</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-LEVEL-MESSAGE:CAPS">CUT_LOG_LEVEL_MESSAGE</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-LEVEL-INFO:CAPS">CUT_LOG_LEVEL_INFO</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-LEVEL-DEBUG:CAPS">CUT_LOG_LEVEL_DEBUG</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-LEVEL-TRACE:CAPS">CUT_LOG_LEVEL_TRACE</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="CUT-LOG-LEVEL-ALL:CAPS" role="macro">
<title>CUT_LOG_LEVEL_ALL</title>
<indexterm zone="CUT-LOG-LEVEL-ALL:CAPS"><primary>CUT_LOG_LEVEL_ALL</primary></indexterm>
<programlisting language="C">#define             CUT_LOG_LEVEL_ALL</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="CutLogItemFlags" role="enum">
<title>enum CutLogItemFlags</title>
<indexterm zone="CutLogItemFlags"><primary>CutLogItemFlags</primary></indexterm>
<para>
</para>
<refsect3 id="CutLogItemFlags.members" role="enum_members">
<title>Members</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="enum_members_name" colwidth="300px"/>
<colspec colname="enum_members_description"/>
<colspec colname="enum_members_annotations" colwidth="200px"/>
<tbody>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-ITEM-DEFAULT:CAPS">CUT_LOG_ITEM_DEFAULT</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-ITEM-NONE:CAPS">CUT_LOG_ITEM_NONE</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-ITEM-DOMAIN:CAPS">CUT_LOG_ITEM_DOMAIN</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-ITEM-LEVEL:CAPS">CUT_LOG_ITEM_LEVEL</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-ITEM-LOCATION:CAPS">CUT_LOG_ITEM_LOCATION</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-ITEM-TIME:CAPS">CUT_LOG_ITEM_TIME</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-ITEM-NAME:CAPS">CUT_LOG_ITEM_NAME</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-ITEM-PID:CAPS">CUT_LOG_ITEM_PID</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="CUT-LOG-ITEM-ALL:CAPS" role="macro">
<title>CUT_LOG_ITEM_ALL</title>
<indexterm zone="CUT-LOG-ITEM-ALL:CAPS"><primary>CUT_LOG_ITEM_ALL</primary></indexterm>
<programlisting language="C">#define             CUT_LOG_ITEM_ALL</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="CutLogColorize" role="enum">
<title>enum CutLogColorize</title>
<indexterm zone="CutLogColorize"><primary>CutLogColorize</primary></indexterm>
<para>
</para>
<refsect3 id="CutLogColorize.members" role="enum_members">
<title>Members</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="enum_members_name" colwidth="300px"/>
<colspec colname="enum_members_description"/>
<colspec colname="enum_members_annotations" colwidth="200px"/>
<tbody>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-COLORIZE-DEFAULT:CAPS">CUT_LOG_COLORIZE_DEFAULT</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-COLORIZE-NONE:CAPS">CUT_LOG_COLORIZE_NONE</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-LOG-COLORIZE-CONSOLE:CAPS">CUT_LOG_COLORIZE_CONSOLE</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="CUT-ENUM-ERROR:CAPS" role="macro">
<title>CUT_ENUM_ERROR</title>
<indexterm zone="CUT-ENUM-ERROR:CAPS"><primary>CUT_ENUM_ERROR</primary></indexterm>
<programlisting language="C">#define CUT_ENUM_ERROR           (cut_enum_error_quark())
</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="CUT-FLAGS-ERROR:CAPS" role="macro">
<title>CUT_FLAGS_ERROR</title>
<indexterm zone="CUT-FLAGS-ERROR:CAPS"><primary>CUT_FLAGS_ERROR</primary></indexterm>
<programlisting language="C">#define CUT_FLAGS_ERROR          (cut_flags_error_quark())
</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="CutEnumError" role="enum">
<title>enum CutEnumError</title>
<indexterm zone="CutEnumError"><primary>CutEnumError</primary></indexterm>
<para>
</para>
<refsect3 id="CutEnumError.members" role="enum_members">
<title>Members</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="enum_members_name" colwidth="300px"/>
<colspec colname="enum_members_description"/>
<colspec colname="enum_members_annotations" colwidth="200px"/>
<tbody>
<row role="constant"><entry role="enum_member_name"><para id="CUT-ENUM-ERROR-NULL-NAME:CAPS">CUT_ENUM_ERROR_NULL_NAME</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-ENUM-ERROR-UNKNOWN-NAME:CAPS">CUT_ENUM_ERROR_UNKNOWN_NAME</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="CutFlagsError" role="enum">
<title>enum CutFlagsError</title>
<indexterm zone="CutFlagsError"><primary>CutFlagsError</primary></indexterm>
<para>
</para>
<refsect3 id="CutFlagsError.members" role="enum_members">
<title>Members</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="enum_members_name" colwidth="300px"/>
<colspec colname="enum_members_description"/>
<colspec colname="enum_members_annotations" colwidth="200px"/>
<tbody>
<row role="constant"><entry role="enum_member_name"><para id="CUT-FLAGS-ERROR-NULL-NAME:CAPS">CUT_FLAGS_ERROR_NULL_NAME</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="CUT-FLAGS-ERROR-UNKNOWN-NAMES:CAPS">CUT_FLAGS_ERROR_UNKNOWN_NAMES</para></entry>
<entry role="enum_member_description"></entry>
<entry role="enum_member_annotations"></entry>
</row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>

</refsect1>

</refentry>
