AgsLog

AgsLog — Log

Functions

Types and Values

#define AGS_TYPE_LOG
struct AgsLog
struct AgsLogClass

Object Hierarchy

    GObject
    ╰── AgsLog

Includes

#include <ags/lib/ags_log.h>

Description

The AgsLog logging class.

Functions

ags_log_add_message ()

void
ags_log_add_message (AgsLog *log,
                     gchar *str);

Add a message to log .

Parameters

log

the AgsLog

 

str

the message

 

Since: 1.0.0


ags_log_get_messages ()

GList *
ags_log_get_messages (AgsLog *log);

Get log messages as GList containing strings.

Parameters

log

the AgsLog

 

Returns

the GList containing log messages

Since: 1.0.0


ags_log_get_instance ()

AgsLog *
ags_log_get_instance ();

Get your logging instance.

Returns

the AgsLog instance

Since: 1.0.0


ags_log_new ()

AgsLog *
ags_log_new ();

Instantiate a new AgsLog.

Returns

the new instance

Since: 1.0.0


AGS_IS_LOG()

#define AGS_IS_LOG(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LOG))

AGS_LOG()

#define AGS_LOG(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LOG, AgsLog))

AGS_LOG_CLASS()

#define AGS_LOG_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LOG, AgsLogClass))

AGS_LOG_GET_CLASS()

#define AGS_LOG_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_LOG, AgsLogClass))

ags_log_get_type ()

GType
ags_log_get_type (void);

Types and Values

AGS_TYPE_LOG

#define AGS_TYPE_LOG                (ags_log_get_type())

struct AgsLog

struct AgsLog;

struct AgsLogClass

struct AgsLogClass {
  GObjectClass gobject;
};