Virtual Method

PurpleDebugUiis_enabled

unstable since: 3.0

[]

Declaration [src]

gboolean
is_enabled (
  PurpleDebugUi* ui,
  PurpleDebugLevel level,
  const gchar* category
)
[]

Description [src]

Checks if the ui should output messages at the given level and optional category.

Typically this function will not need to be called outside of libpurple.

Available since: 3.0

[]

Parameters

level

Type: PurpleDebugLevel

The PurpleDebugLevel.

category

Type: const gchar*

An optional category.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
[]

Return value

Type: gboolean

TRUE if the given level and category will be output by ui, FALSE otherwise.