<?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ライブラリ</refmiscinfo>
</refmeta>
<refnamediv>
<refname>CutLogger</refname>
<refpurpose/>
</refnamediv>

<refsynopsisdiv id="cutter-CutLogger.synopsis" role="synopsis">
<title role="synopsis.title">概要</title>

<synopsis>#define             <link linkend="CUT-ENUM-ERROR:CAPS">CUT_ENUM_ERROR</link>
#define             <link linkend="CUT-FLAGS-ERROR:CAPS">CUT_FLAGS_ERROR</link>
#define             <link linkend="CUT-GLIB-LOG-DELEGATE:CAPS">CUT_GLIB_LOG_DELEGATE</link>               (domain)
#define             <link linkend="CUT-LOG-ITEM-ALL:CAPS">CUT_LOG_ITEM_ALL</link>
#define             <link linkend="CUT-LOG-LEVEL-ALL:CAPS">CUT_LOG_LEVEL_ALL</link>
#define             <link linkend="CUT-LOG-NULL-SAFE-STRING:CAPS">CUT_LOG_NULL_SAFE_STRING</link>            (string)
enum                <link linkend="CutEnumError">CutEnumError</link>;
enum                <link linkend="CutFlagsError">CutFlagsError</link>;
enum                <link linkend="CutLogColorize">CutLogColorize</link>;
enum                <link linkend="CutLogItemFlags">CutLogItemFlags</link>;
enum                <link linkend="CutLogLevelFlags">CutLogLevelFlags</link>;
struct              <link linkend="CutLogger">CutLogger</link>;
struct              <link linkend="CutLoggerClass">CutLoggerClass</link>;
<link linkend="GQuark"><returnvalue>GQuark</returnvalue></link>              <link linkend="cut-enum-error-quark">cut_enum_error_quark</link>                (<parameter><type>void</type></parameter>);
<link linkend="GQuark"><returnvalue>GQuark</returnvalue></link>              <link linkend="cut-flags-error-quark">cut_flags_error_quark</link>               (<parameter><type>void</type></parameter>);
#define             <link linkend="cut-get-interesting-log-level">cut_get_interesting_log_level</link>
#define             <link linkend="cut-get-log-level">cut_get_log_level</link>
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="cut-glib-log-handler">cut_glib_log_handler</link>                (<parameter>const <link linkend="gchar"><type>gchar</type></link> *log_domain</parameter>,
                                                         <parameter><link linkend="GLogLevelFlags"><type>GLogLevelFlags</type></link> log_level</parameter>,
                                                         <parameter><link linkend="gchar"><type>gchar</type></link>の値。</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);
#define             <link linkend="cut-log">cut_log</link>                             (level,
                                                         format,
                                                         ...)
#define             <link linkend="cut-log-critical">cut_log_critical</link>                    (format,
                                                         ...)
#define             <link linkend="cut-log-debug">cut_log_debug</link>                       (format,
                                                         ...)
#define             <link linkend="cut-log-error">cut_log_error</link>                       (format,
                                                         ...)
#define             <link linkend="cut-log-info">cut_log_info</link>                        (format,
                                                         ...)
<link linkend="CutLogItemFlags"><returnvalue>CutLogItemFlags</returnvalue></link>     <link linkend="cut-log-item-flags-from-string">cut_log_item_flags_from_string</link>      (<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>);
<link linkend="CutLogLevelFlags"><returnvalue>CutLogLevelFlags</returnvalue></link>    <link linkend="cut-log-level-flags-from-string">cut_log_level_flags_from_string</link>     (<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>);
#define             <link linkend="cut-log-message">cut_log_message</link>                     (format,
                                                         ...)
#define             <link linkend="cut-log-profile">cut_log_profile</link>                     (format,
                                                         ...)
#define             <link linkend="cut-log-statistics">cut_log_statistics</link>                  (format,
                                                         ...)
#define             <link linkend="cut-log-trace">cut_log_trace</link>                       (format,
                                                         ...)
#define             <link linkend="cut-log-warning">cut_log_warning</link>                     (format,
                                                         ...)
<link linkend="CutLogger"><returnvalue>CutLogger</returnvalue></link> *         <link linkend="cut-logger">cut_logger</link>                          (<parameter><type>void</type></parameter>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="cut-logger-connect-default-handler">cut_logger_connect_default_handler</link>  (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="cut-logger-default-log-handler">cut_logger_default_log_handler</link>      (<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><link linkend="gchar"><type>gchar</type></link>の値。</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="cut-logger-disconnect-default-handler">cut_logger_disconnect_default_handler</link>
                                                        (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>);
<link linkend="GQuark"><returnvalue>GQuark</returnvalue></link>              <link linkend="cut-logger-error-quark">cut_logger_error_quark</link>              (<parameter><type>void</type></parameter>);
<link linkend="CutLogLevelFlags"><returnvalue>CutLogLevelFlags</returnvalue></link>    <link linkend="cut-logger-get-interesting-level">cut_logger_get_interesting_level</link>    (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>);
<link linkend="CutLogLevelFlags"><returnvalue>CutLogLevelFlags</returnvalue></link>    <link linkend="cut-logger-get-resolved-target-level">cut_logger_get_resolved_target_level</link>
                                                        (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>);
<link linkend="CutLogItemFlags"><returnvalue>CutLogItemFlags</returnvalue></link>     <link linkend="cut-logger-get-target-item">cut_logger_get_target_item</link>          (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>);
<link linkend="CutLogLevelFlags"><returnvalue>CutLogLevelFlags</returnvalue></link>    <link linkend="cut-logger-get-target-level">cut_logger_get_target_level</link>         (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="cut-logger-log">cut_logger_log</link>                      (<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>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="cut-logger-log-va-list">cut_logger_log_va_list</link>              (<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>);
<link linkend="CutLogger"><returnvalue>CutLogger</returnvalue></link> *         <link linkend="cut-logger-new">cut_logger_new</link>                      (<parameter><type>void</type></parameter>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="cut-logger-set-interesting-level">cut_logger_set_interesting_level</link>    (<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>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="cut-logger-set-target-item">cut_logger_set_target_item</link>          (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>,
                                                         <parameter><link linkend="CutLogItemFlags"><type>CutLogItemFlags</type></link> item</parameter>);
<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            <link linkend="cut-logger-set-target-item-by-string">cut_logger_set_target_item_by_string</link>
                                                        (<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>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="cut-logger-set-target-level">cut_logger_set_target_level</link>         (<parameter><link linkend="CutLogger"><type>CutLogger</type></link> *logger</parameter>,
                                                         <parameter><link linkend="CutLogLevelFlags"><type>CutLogLevelFlags</type></link> level</parameter>);
<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            <link linkend="cut-logger-set-target-level-by-string">cut_logger_set_target_level_by_string</link>
                                                        (<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>);
#define             <link linkend="cut-need-critical-log">cut_need_critical_log</link>
#define             <link linkend="cut-need-debug-log">cut_need_debug_log</link>
#define             <link linkend="cut-need-error-log">cut_need_error_log</link>
#define             <link linkend="cut-need-info-log">cut_need_info_log</link>
#define             <link linkend="cut-need-log">cut_need_log</link>                        (level)
#define             <link linkend="cut-need-message-log">cut_need_message_log</link>
#define             <link linkend="cut-need-profile-log">cut_need_profile_log</link>
#define             <link linkend="cut-need-statistics-log">cut_need_statistics_log</link>
#define             <link linkend="cut-need-trace-log">cut_need_trace_log</link>
#define             <link linkend="cut-need-warning-log">cut_need_warning_log</link>
#define             <link linkend="cut-set-log-level">cut_set_log_level</link>                   (level)
</synopsis>
</refsynopsisdiv>

<refsect1 id="cutter-CutLogger.description" role="desc">
<title role="desc.title">説明</title>
<para>
</para>
</refsect1>
<refsect1 id="cutter-CutLogger.details" role="details">
<title role="details.title">詳細</title>
<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>#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>#define CUT_FLAGS_ERROR          (cut_flags_error_quark())
</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>#define             CUT_GLIB_LOG_DELEGATE(domain)</programlisting>
<para>
</para></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>#define             CUT_LOG_ITEM_ALL</programlisting>
<para>
</para></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>#define             CUT_LOG_LEVEL_ALL</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>#define CUT_LOG_NULL_SAFE_STRING(string) ((string) ? (string) : "(null)")
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CutEnumError" role="enum">
<title>enum CutEnumError</title>
<indexterm zone="CutEnumError"><primary>CutEnumError</primary></indexterm>
<programlisting>typedef enum {
    CUT_ENUM_ERROR_NULL_NAME,
    CUT_ENUM_ERROR_UNKNOWN_NAME
} CutEnumError;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CutFlagsError" role="enum">
<title>enum CutFlagsError</title>
<indexterm zone="CutFlagsError"><primary>CutFlagsError</primary></indexterm>
<programlisting>typedef enum {
    CUT_FLAGS_ERROR_NULL_NAME,
    CUT_FLAGS_ERROR_UNKNOWN_NAMES
} CutFlagsError;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CutLogColorize" role="enum">
<title>enum CutLogColorize</title>
<indexterm zone="CutLogColorize"><primary>CutLogColorize</primary></indexterm>
<programlisting>typedef enum {
    CUT_LOG_COLORIZE_DEFAULT,
    CUT_LOG_COLORIZE_NONE,
    CUT_LOG_COLORIZE_CONSOLE
} CutLogColorize;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CutLogItemFlags" role="enum">
<title>enum CutLogItemFlags</title>
<indexterm zone="CutLogItemFlags"><primary>CutLogItemFlags</primary></indexterm>
<programlisting>typedef enum {
    CUT_LOG_ITEM_DEFAULT     = 0,
    CUT_LOG_ITEM_NONE        = 1 &lt;&lt; 0,
    CUT_LOG_ITEM_DOMAIN      = 1 &lt;&lt; 1,
    CUT_LOG_ITEM_LEVEL       = 1 &lt;&lt; 2,
    CUT_LOG_ITEM_LOCATION    = 1 &lt;&lt; 3,
    CUT_LOG_ITEM_TIME        = 1 &lt;&lt; 4,
    CUT_LOG_ITEM_NAME        = 1 &lt;&lt; 5,
    CUT_LOG_ITEM_PID         = 1 &lt;&lt; 6
} CutLogItemFlags;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CutLogLevelFlags" role="enum">
<title>enum CutLogLevelFlags</title>
<indexterm zone="CutLogLevelFlags"><primary>CutLogLevelFlags</primary></indexterm>
<programlisting>typedef enum {
    CUT_LOG_LEVEL_DEFAULT    = 0,
    CUT_LOG_LEVEL_NONE       = 1 &lt;&lt; 0,
    CUT_LOG_LEVEL_CRITICAL   = 1 &lt;&lt; 1,
    CUT_LOG_LEVEL_ERROR      = 1 &lt;&lt; 2,
    CUT_LOG_LEVEL_WARNING    = 1 &lt;&lt; 3,
    CUT_LOG_LEVEL_MESSAGE    = 1 &lt;&lt; 4,
    CUT_LOG_LEVEL_INFO       = 1 &lt;&lt; 5,
    CUT_LOG_LEVEL_DEBUG      = 1 &lt;&lt; 6,
    CUT_LOG_LEVEL_TRACE      = 1 &lt;&lt; 7,
    CUT_LOG_LEVEL_STATISTICS = 1 &lt;&lt; 8,
    CUT_LOG_LEVEL_PROFILE    = 1 &lt;&lt; 9
} CutLogLevelFlags;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CutLogger" role="struct">
<title>struct CutLogger</title>
<indexterm zone="CutLogger"><primary>CutLogger</primary></indexterm>
<programlisting>struct CutLogger {
    GObject object;
};
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CutLoggerClass" role="struct">
<title>struct CutLoggerClass</title>
<indexterm zone="CutLoggerClass"><primary>CutLoggerClass</primary></indexterm>
<programlisting>struct CutLoggerClass {
    GObjectClass parent_class;

    void (*log) (CutLogger        *logger,
                 const gchar      *domain,
                 CutLogLevelFlags  level,
                 const gchar      *file,
                 guint             line,
                 const gchar      *function,
                 GTimeVal         *time_value,
                 const gchar      *message);
};
</programlisting>
<para>
</para></refsect2>
<refsect2 id="cut-enum-error-quark" role="function">
<title>cut_enum_error_quark ()</title>
<indexterm zone="cut-enum-error-quark"><primary>cut_enum_error_quark</primary></indexterm>
<programlisting><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 ()</title>
<indexterm zone="cut-flags-error-quark"><primary>cut_flags_error_quark</primary></indexterm>
<programlisting><link linkend="GQuark"><returnvalue>GQuark</returnvalue></link>              cut_flags_error_quark               (<parameter><type>void</type></parameter>);</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>#define             cut_get_interesting_log_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>#define             cut_get_log_level()</programlisting>
<para>
</para></refsect2>
<refsect2 id="cut-glib-log-handler" role="function">
<title>cut_glib_log_handler ()</title>
<indexterm zone="cut-glib-log-handler"><primary>cut_glib_log_handler</primary></indexterm>
<programlisting><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>
<refsect2 id="cut-log" role="macro">
<title>cut_log()</title>
<indexterm zone="cut-log"><primary>cut_log</primary></indexterm>
<programlisting>#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>#define             cut_log_critical(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>#define             cut_log_debug(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>#define             cut_log_error(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>#define             cut_log_info(format, ...)</programlisting>
<para>
</para></refsect2>
<refsect2 id="cut-log-item-flags-from-string" role="function">
<title>cut_log_item_flags_from_string ()</title>
<indexterm zone="cut-log-item-flags-from-string"><primary>cut_log_item_flags_from_string</primary></indexterm>
<programlisting><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-log-level-flags-from-string" role="function">
<title>cut_log_level_flags_from_string ()</title>
<indexterm zone="cut-log-level-flags-from-string"><primary>cut_log_level_flags_from_string</primary></indexterm>
<programlisting><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-message" role="macro">
<title>cut_log_message()</title>
<indexterm zone="cut-log-message"><primary>cut_log_message</primary></indexterm>
<programlisting>#define             cut_log_message(format, ...)</programlisting>
<para>
</para></refsect2>
<refsect2 id="cut-log-profile" role="macro">
<title>cut_log_profile()</title>
<indexterm zone="cut-log-profile"><primary>cut_log_profile</primary></indexterm>
<programlisting>#define             cut_log_profile(format, ...)</programlisting>
<para>
</para></refsect2>
<refsect2 id="cut-log-statistics" role="macro">
<title>cut_log_statistics()</title>
<indexterm zone="cut-log-statistics"><primary>cut_log_statistics</primary></indexterm>
<programlisting>#define             cut_log_statistics(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>#define             cut_log_trace(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>#define             cut_log_warning(format, ...)</programlisting>
<para>
</para></refsect2>
<refsect2 id="cut-logger" role="function">
<title>cut_logger ()</title>
<indexterm zone="cut-logger"><primary>cut_logger</primary></indexterm>
<programlisting><link linkend="CutLogger"><returnvalue>CutLogger</returnvalue></link> *         cut_logger                          (<parameter><type>void</type></parameter>);</programlisting>
<para>
</para></refsect2>
<refsect2 id="cut-logger-connect-default-handler" role="function">
<title>cut_logger_connect_default_handler ()</title>
<indexterm zone="cut-logger-connect-default-handler"><primary>cut_logger_connect_default_handler</primary></indexterm>
<programlisting><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-default-log-handler" role="function">
<title>cut_logger_default_log_handler ()</title>
<indexterm zone="cut-logger-default-log-handler"><primary>cut_logger_default_log_handler</primary></indexterm>
<programlisting><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-disconnect-default-handler" role="function">
<title>cut_logger_disconnect_default_handler ()</title>
<indexterm zone="cut-logger-disconnect-default-handler"><primary>cut_logger_disconnect_default_handler</primary></indexterm>
<programlisting><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-logger-error-quark" role="function">
<title>cut_logger_error_quark ()</title>
<indexterm zone="cut-logger-error-quark"><primary>cut_logger_error_quark</primary></indexterm>
<programlisting><link linkend="GQuark"><returnvalue>GQuark</returnvalue></link>              cut_logger_error_quark              (<parameter><type>void</type></parameter>);</programlisting>
<para>
</para></refsect2>
<refsect2 id="cut-logger-get-interesting-level" role="function">
<title>cut_logger_get_interesting_level ()</title>
<indexterm zone="cut-logger-get-interesting-level"><primary>cut_logger_get_interesting_level</primary></indexterm>
<programlisting><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-resolved-target-level" role="function">
<title>cut_logger_get_resolved_target_level ()</title>
<indexterm zone="cut-logger-get-resolved-target-level"><primary>cut_logger_get_resolved_target_level</primary></indexterm>
<programlisting><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-get-target-item" role="function">
<title>cut_logger_get_target_item ()</title>
<indexterm zone="cut-logger-get-target-item"><primary>cut_logger_get_target_item</primary></indexterm>
<programlisting><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-get-target-level" role="function">
<title>cut_logger_get_target_level ()</title>
<indexterm zone="cut-logger-get-target-level"><primary>cut_logger_get_target_level</primary></indexterm>
<programlisting><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-log" role="function">
<title>cut_logger_log ()</title>
<indexterm zone="cut-logger-log"><primary>cut_logger_log</primary></indexterm>
<programlisting><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 ()</title>
<indexterm zone="cut-logger-log-va-list"><primary>cut_logger_log_va_list</primary></indexterm>
<programlisting><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-new" role="function">
<title>cut_logger_new ()</title>
<indexterm zone="cut-logger-new"><primary>cut_logger_new</primary></indexterm>
<programlisting><link linkend="CutLogger"><returnvalue>CutLogger</returnvalue></link> *         cut_logger_new                      (<parameter><type>void</type></parameter>);</programlisting>
<para>
</para></refsect2>
<refsect2 id="cut-logger-set-interesting-level" role="function">
<title>cut_logger_set_interesting_level ()</title>
<indexterm zone="cut-logger-set-interesting-level"><primary>cut_logger_set_interesting_level</primary></indexterm>
<programlisting><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-set-target-item" role="function">
<title>cut_logger_set_target_item ()</title>
<indexterm zone="cut-logger-set-target-item"><primary>cut_logger_set_target_item</primary></indexterm>
<programlisting><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 ()</title>
<indexterm zone="cut-logger-set-target-item-by-string"><primary>cut_logger_set_target_item_by_string</primary></indexterm>
<programlisting><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-set-target-level" role="function">
<title>cut_logger_set_target_level ()</title>
<indexterm zone="cut-logger-set-target-level"><primary>cut_logger_set_target_level</primary></indexterm>
<programlisting><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 ()</title>
<indexterm zone="cut-logger-set-target-level-by-string"><primary>cut_logger_set_target_level_by_string</primary></indexterm>
<programlisting><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-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>#define             cut_need_critical_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>#define             cut_need_debug_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>#define             cut_need_error_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>#define             cut_need_info_log()</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>#define             cut_need_log(level)</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>#define             cut_need_message_log()</programlisting>
<para>
</para></refsect2>
<refsect2 id="cut-need-profile-log" role="macro">
<title>cut_need_profile_log</title>
<indexterm zone="cut-need-profile-log"><primary>cut_need_profile_log</primary></indexterm>
<programlisting>#define             cut_need_profile_log()</programlisting>
<para>
</para></refsect2>
<refsect2 id="cut-need-statistics-log" role="macro">
<title>cut_need_statistics_log</title>
<indexterm zone="cut-need-statistics-log"><primary>cut_need_statistics_log</primary></indexterm>
<programlisting>#define             cut_need_statistics_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>#define             cut_need_trace_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>#define             cut_need_warning_log()</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>#define             cut_set_log_level(level)</programlisting>
<para>
</para></refsect2>

</refsect1>

</refentry>
