1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>ide-log: LibIDE Reference Manual</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
<link rel="home" href="index.html" title="LibIDE Reference Manual">
8
<link rel="up" href="ch18.html" title="Utilities and Logging">
9
<link rel="prev" href="ch18.html" title="Utilities and Logging">
10
<link rel="next" href="libide-ide-debug.html" title="ide-debug">
11
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
<td width="100%" align="left" class="shortcuts">
17
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
18
<a href="#libide-ide-log.description" class="shortcut">Description</a></span>
20
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21
<td><a accesskey="u" href="ch18.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22
<td><a accesskey="p" href="ch18.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23
<td><a accesskey="n" href="libide-ide-debug.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25
<div class="refentry">
26
<a name="libide-ide-log"></a><div class="titlepage"></div>
27
<div class="refnamediv"><table width="100%"><tr>
29
<h2><span class="refentrytitle"><a name="libide-ide-log.top_of_page"></a>ide-log</span></h2>
32
<td class="gallery_image" valign="top" align="right"></td>
34
<div class="refsect1">
35
<a name="libide-ide-log.functions"></a><h2>Functions</h2>
36
<div class="informaltable"><table width="100%" border="0">
38
<col width="150px" class="functions_return">
39
<col class="functions_name">
43
<td class="function_type">
44
<span class="returnvalue">void</span>
46
<td class="function_name">
47
<a class="link" href="libide-ide-log.html#ide-log-init" title="ide_log_init ()">ide_log_init</a> <span class="c_punctuation">()</span>
51
<td class="function_type">
52
<span class="returnvalue">void</span>
54
<td class="function_name">
55
<a class="link" href="libide-ide-log.html#ide-log-increase-verbosity" title="ide_log_increase_verbosity ()">ide_log_increase_verbosity</a> <span class="c_punctuation">()</span>
59
<td class="function_type">
60
<span class="returnvalue">void</span>
62
<td class="function_name">
63
<a class="link" href="libide-ide-log.html#ide-log-shutdown" title="ide_log_shutdown ()">ide_log_shutdown</a> <span class="c_punctuation">()</span>
69
<div class="refsect1">
70
<a name="libide-ide-log.description"></a><h2>Description</h2>
72
<div class="refsect1">
73
<a name="libide-ide-log.functions_details"></a><h2>Functions</h2>
74
<div class="refsect2">
75
<a name="ide-log-init"></a><h3>ide_log_init ()</h3>
76
<pre class="programlisting"><span class="returnvalue">void</span>
77
ide_log_init (<em class="parameter"><code><span class="type">gboolean</span> stdout_</code></em>,
78
<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);</pre>
79
<p>Initializes the logging subsystem.</p>
80
<div class="refsect3">
81
<a name="id-1.2.19.2.5.2.5"></a><h4>Parameters</h4>
82
<div class="informaltable"><table width="100%" border="0">
84
<col width="150px" class="parameters_name">
85
<col class="parameters_description">
86
<col width="200px" class="parameters_annotations">
90
<td class="parameter_name"><p>stdout_</p></td>
91
<td class="parameter_description"><p>Indicates logging should be written to stdout.</p></td>
92
<td class="parameter_annotations"> </td>
95
<td class="parameter_name"><p>filename</p></td>
96
<td class="parameter_description"><p>An optional file in which to store logs.</p></td>
97
<td class="parameter_annotations"> </td>
104
<div class="refsect2">
105
<a name="ide-log-increase-verbosity"></a><h3>ide_log_increase_verbosity ()</h3>
106
<pre class="programlisting"><span class="returnvalue">void</span>
107
ide_log_increase_verbosity (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
108
<p>Increases the amount of logging that will occur. By default, only
109
warning and above will be displayed.</p>
110
<p>Calling this once will cause G_LOG_LEVEL_MESSAGE to be displayed.
111
Calling this twice will cause G_LOG_LEVEL_INFO to be displayed.
112
Calling this thrice will cause G_LOG_LEVEL_DEBUG to be displayed.
113
Calling this four times will cause G_LOG_LEVEL_TRACE to be displayed.</p>
114
<p>Note that many DEBUG and TRACE level log messages are only compiled into
115
debug builds, and therefore will not be available in release builds.</p>
116
<p>This method is meant to be called for every -v provided on the command
118
<p>Calling this method more than four times is acceptable.</p>
121
<div class="refsect2">
122
<a name="ide-log-shutdown"></a><h3>ide_log_shutdown ()</h3>
123
<pre class="programlisting"><span class="returnvalue">void</span>
124
ide_log_shutdown (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
125
<p>Cleans up after the logging subsystem.</p>
128
<div class="refsect1">
129
<a name="libide-ide-log.other_details"></a><h2>Types and Values</h2>
134
Generated by GTK-Doc V1.21.1</div>
b'\\ No newline at end of file'