Debian Codegraph @

docs/gexiv2-0.16/callback.LogHandler.html

raw symbols SCIP
1 <!--
2 SPDX-FileCopyrightText: Unknown authors
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5 -->
6
7 <!DOCTYPE html>
8 <html lang="en">
9 <head>
10 <title>GExiv2.LogHandler</title>
11 <meta name="viewport" content="width=device-width, initial-scale=1">
12
13 <meta charset="utf-8" />
14
15
16 <meta property="og:type" content="website"/>
17
18
19
20
21 <meta property="og:title" content="GExiv2.LogHandler"/>
22 <meta property="og:description" content="Reference for GExiv2.LogHandler"/>
23 <meta name="twitter:title" content="GExiv2.LogHandler"/>
24 <meta name="twitter:description" content="Reference for GExiv2.LogHandler"/>
25
26
27
28 <meta name="twitter:card" content="summary"/>
29
30
31
32
33
34
35 <link rel="stylesheet" href="style.css" type="text/css" />
36
37
38
39
40 <script src="urlmap.js"></script>
41
42
43 <script src="fzy.js"></script>
44 <script src="search.js"></script>
45
46 <script src="main.js"></script>
47
48
49 </head>
50
51 <body>
52 <div id="body-wrapper" tabindex="-1">
53
54 <nav class="sidebar devhelp-hidden">
55
56
57 <div class="search section">
58 <form id="search-form" autocomplete="off">
59 <input id="search-input" type="text" name="do-not-autocomplete" placeholder="Click, or press 's' to search" autocomplete="off"/>
60 </form>
61 </div>
62
63 <div class="section namespace">
64 <h3><a href="index.html">GExiv2</a></h3>
65 <p>API Version: 0.16</p>
66
67 <p>Library Version: 0.16.2</p>
68
69 </div>
70
71
72 <div class="section">
73 <h5>Functions</h5>
74 <div class="links">
75
76 </div>
77 </div>
78
79
80 <div class="section generator">
81 <p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2025.5</p>
82 </div>
83 </nav>
84
85 <button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>
86
87
88 <section id="main" class="content">
89 <header>
90 <h3>Function </h3>
91 <h1><a href="index.html">GExiv2</a><span class="sep"></span>LogHandler</h1>
92 </header>
93
94 <section>
95 <div class="docblock">
96 <p></p>
97 </div>
98 <div class="declaration toggle-wrapper">
99 <h4 id="declaration" style="display:flex;">
100 Declaration
101 <a href="#declaration" class="anchor"></a>
102
103 </h4>
104
105 <div class="docblock">
106 <pre><code><div class="highlight"><pre><span></span><span class="kt">void</span>
107 <span class="p">(</span><span class="o">*</span><span class="w"> </span><span class="n">GExiv2LogHandler</span><span class="p">)</span><span class="w"> </span><span class="p">(</span>
108 <span class="w"> </span><span class="n">GExiv2LogLevel</span><span class="w"> </span><span class="n">level</span><span class="p">,</span>
109 <span class="w"> </span><span class="k">const</span><span class="w"> </span><span class="n">gchar</span><span class="o">*</span><span class="w"> </span><span class="n">msg</span>
110 <span class="p">)</span>
111 </pre></div>
112 </code></pre>
113 </div>
114 </div>
115
116 <div class="description toggle-wrapper">
117 <h4 id="description" style="display:flex;">
118 Description
119 <a href="#description" class="anchor"></a>
120
121 <a class="srclink" title="go to source location" href="https://gitlab.gnome.org/GNOME/gexiv2/-/blob/gexiv2/gexiv2-log.h#L37">[src]</a>
122
123 </h4>
124
125 <div class="docblock">
126 <p>The log handler can be set by <a href="func.log_set_handler.html"><code>gexiv2_log_set_handler()</code></a>. When set, the log handler will receive
127 all log messages emitted by Exiv2 and gexiv2. It&#8217;s up to the handler to decide where (and if)
128 the images are displayed or&nbsp;stored.</p>
129 </div>
130
131 <div class="docblock">
132
133
134
135
136
137
138
139 </div>
140
141
142 </div>
143
144
145 <div class="parameters toggle-wrapper">
146 <h4 id="parameters">
147 Parameters
148 <a href="#parameters" class="anchor"></a>
149 </h4>
150
151 <div class="docblock">
152 <dl class="arguments">
153
154 <dt class="arg-name"><code>level</code></dt>
155 <dd class="arg-description">
156 <p><em>Type:</em>&nbsp;<a href="enum.LogLevel.html"><code>GExiv2LogLevel</code></a></p>
157 <p>The <code>GExiv2LogLevel</code> for the particular&nbsp;message.</p>
158 <table>
159
160
161
162
163
164
165
166
167
168 </table>
169 </dd>
170
171 <dt class="arg-name"><code>msg</code></dt>
172 <dd class="arg-description">
173 <p><em>Type:</em>&nbsp;<code>const gchar*</code></p>
174 <p>The log&nbsp;message.</p>
175 <table>
176
177
178
179
180
181
182
183 <tr><td title="transfer: none">The data is owned by the caller of the function.</td></tr>
184 <tr><td>The value is a NUL terminated UTF-8 string.</td></tr>
185 </table>
186 </dd>
187
188
189
190 </dl>
191 </div>
192 </div>
193
194
195
196 </section>
197 </section>
198
199
200
201
202 <section id="search" class="content hidden"></section>
203
204 <footer>
205
206 </footer>
207 </div>
208 </body>
209 </html>