| 149 void purple_debug_set_enabled(gboolean enabled); |
149 void purple_debug_set_enabled(gboolean enabled); |
| 150 |
150 |
| 151 /** |
151 /** |
| 152 * Check if console debug output is enabled. |
152 * Check if console debug output is enabled. |
| 153 * |
153 * |
| 154 * @return TRUE if debuggin is enabled, FALSE if it is not. |
154 * @return TRUE if debugging is enabled, FALSE if it is not. |
| 155 */ |
155 */ |
| 156 gboolean purple_debug_is_enabled(void); |
156 gboolean purple_debug_is_enabled(void); |
| |
157 |
| |
158 /** |
| |
159 * Enable or disable verbose debugging. This ordinarily should only be called |
| |
160 * by #purple_debug_init, but there are cases where this can be useful for |
| |
161 * plugins. |
| |
162 * |
| |
163 * @param verbose TRUE to enable verbose debugging or FALSE to disable it. |
| |
164 * |
| |
165 * @since 2.6.0 |
| |
166 */ |
| |
167 void purple_debug_set_verbose(gboolean verbose); |
| |
168 |
| |
169 /** |
| |
170 * Check if verbose logging is enabled. |
| |
171 * |
| |
172 * @return TRUE if verbose debugging is enabled, FALSE if it is not. |
| |
173 * |
| |
174 * @since 2.6.0 |
| |
175 */ |
| |
176 gboolean purple_debug_is_verbose(void); |
| |
177 |
| |
178 /** |
| |
179 * Enable or disable verbose debugging. This ordinarily should only be called |
| |
180 * by #purple_debug_init, but there are cases where this can be useful for |
| |
181 * plugins. |
| |
182 * |
| |
183 * @param unsafe TRUE to enable verbose debugging or FALSE to disable it. |
| |
184 * |
| |
185 * @since 2.6.0 |
| |
186 */ |
| |
187 void purple_debug_set_unsafe(gboolean unsafe); |
| |
188 |
| |
189 /** |
| |
190 * Check if unsafe debugging is enabled. |
| |
191 * |
| |
192 * @return TRUE if verbose debugging is enabled, FALSE if it is not. |
| |
193 * |
| |
194 * @since 2.6.0 |
| |
195 */ |
| |
196 gboolean purple_debug_is_unsafe(void); |
| 157 |
197 |
| 158 /*@}*/ |
198 /*@}*/ |
| 159 |
199 |
| 160 /**************************************************************************/ |
200 /**************************************************************************/ |
| 161 /** @name UI Registration Functions */ |
201 /** @name UI Registration Functions */ |