SwamiLog

SwamiLog

Synopsis

#define             SWAMI_ERROR
enum                SwamiError;
GQuark              swami_error_quark                   (void);
#define             swami_log_if_fail                   (expr)
#define             SWAMI_DEBUG                         (format,
                                                         args...)
#define             SWAMI_INFO                          (format,
                                                         args...)
#define             SWAMI_PARAM_ERROR                   (param)
#define             SWAMI_CRITICAL                      (format,
                                                         args...)

Description

Details

SWAMI_ERROR

#define SWAMI_ERROR  swami_error_quark()

enum SwamiError

typedef enum
{
  SWAMI_ERROR_FAIL,		/* general failure */
  SWAMI_ERROR_INVALID,		/* invalid parameter/setting/etc */
  SWAMI_ERROR_CANCELED,		/* an operation was canceled (SwamiLoopFinder) */
  SWAMI_ERROR_UNSUPPORTED, /* an unsupported feature or unhandled operation */
  SWAMI_ERROR_IO		/* I/O related error */
} SwamiError;

swami_error_quark ()

GQuark              swami_error_quark                   (void);

swami_log_if_fail()

#define             swami_log_if_fail(expr)

SWAMI_DEBUG()

#define             SWAMI_DEBUG(format, args...)

SWAMI_INFO()

#define             SWAMI_INFO(format, args...)

SWAMI_PARAM_ERROR()

#define             SWAMI_PARAM_ERROR(param)

SWAMI_CRITICAL()

#define             SWAMI_CRITICAL(format, args...)