| 149 * See purple_debug(). |
149 * See purple_debug(). |
| 150 */ |
150 */ |
| 151 void purple_debug_fatal(const gchar *category, const gchar *format, ...) G_GNUC_PRINTF(2, 3); |
151 void purple_debug_fatal(const gchar *category, const gchar *format, ...) G_GNUC_PRINTF(2, 3); |
| 152 |
152 |
| 153 /** |
153 /** |
| 154 * purple_debug_set_enabled: |
|
| 155 * @enabled: %TRUE to enable debug output or %FALSE to disable it. |
|
| 156 * |
|
| 157 * Enable or disable printing debug output to the console. |
|
| 158 */ |
|
| 159 void purple_debug_set_enabled(gboolean enabled); |
|
| 160 |
|
| 161 /** |
|
| 162 * purple_debug_is_enabled: |
|
| 163 * |
|
| 164 * Check if console debug output is enabled. |
|
| 165 * |
|
| 166 * Returns: %TRUE if debugging is enabled, %FALSE if it is not. |
|
| 167 */ |
|
| 168 gboolean purple_debug_is_enabled(void); |
|
| 169 |
|
| 170 /** |
|
| 171 * purple_debug_set_verbose: |
154 * purple_debug_set_verbose: |
| 172 * @verbose: %TRUE to enable verbose debugging or %FALSE to disable it. |
155 * @verbose: %TRUE to enable verbose debugging or %FALSE to disable it. |
| 173 * |
156 * |
| 174 * Enable or disable verbose debugging. This ordinarily should only be called |
157 * Enable or disable verbose debugging. This ordinarily should only be called |
| 175 * by purple_debug_init(), but there are cases where this can be useful for |
158 * by purple_debug_init(), but there are cases where this can be useful for |
| 207 * messages that could potentially contain passwords and other |
190 * messages that could potentially contain passwords and other |
| 208 * sensitive information are not logged. |
191 * sensitive information are not logged. |
| 209 */ |
192 */ |
| 210 gboolean purple_debug_is_unsafe(void); |
193 gboolean purple_debug_is_unsafe(void); |
| 211 |
194 |
| 212 /** |
|
| 213 * purple_debug_set_colored: |
|
| 214 * @colored: %TRUE to enable colored output, %FALSE to disable it. |
|
| 215 * |
|
| 216 * Enable or disable colored output for bash console. |
|
| 217 */ |
|
| 218 void purple_debug_set_colored(gboolean colored); |
|
| 219 |
|
| 220 /****************************************************************************** |
195 /****************************************************************************** |
| 221 * Debug Subsystem |
196 * Debug Subsystem |
| 222 *****************************************************************************/ |
197 *****************************************************************************/ |
| 223 |
198 |
| 224 /** |
199 /** |