Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Modules | Data Structures | Macros | Typedefs

Modules

 afw_log
 

Data Structures

struct  afw_log_s
 Interface afw_log public struct. More...
 
struct  afw_log_inf_s
 Interface afw_log_inf_s struct. More...
 

Macros

#define AFW_LOG_INTERFACE_NAME   "afw_log"
 define for interface afw_log name.
 
#define afw_log_destroy(instance, xctx)
 Call method destroy of interface afw_log. More...
 
#define afw_log_set_own_mask(instance, mask, xctx)
 Call method set_own_mask of interface afw_log. More...
 
#define afw_log_write(instance, priority, source_z, message, xctx)
 Call method write of interface afw_log. More...
 

Typedefs

typedef void(* afw_log_destroy_t) (const afw_log_t *instance, afw_xctx_t *xctx)
 
typedef void(* afw_log_set_own_mask_t) (const afw_log_t *instance, afw_log_priority_mask_t mask, afw_xctx_t *xctx)
 
typedef void(* afw_log_write_t) (const afw_log_t *instance, afw_log_priority_t priority, const afw_utf8_z_t *source_z, const afw_utf8_t *message, afw_xctx_t *xctx)
 

Detailed Description

Log.

Macro Definition Documentation

◆ afw_log_destroy

#define afw_log_destroy (   instance,
  xctx 
)
Value:
(instance)->inf->destroy( \
(instance), \
(xctx) \
)

Call method destroy of interface afw_log.

Parameters
instancePointer to this log instance.
xctxThis is the caller's xctx.

Definition at line 3053 of file afw_interface.h.

◆ afw_log_set_own_mask

#define afw_log_set_own_mask (   instance,
  mask,
  xctx 
)
Value:
(instance)->inf->set_own_mask( \
(instance), \
(mask), \
(xctx) \
)

Call method set_own_mask of interface afw_log.

Parameters
instancePointer to this log instance.
maskLog priority mask.
xctxThis is the caller's xctx.

Definition at line 3068 of file afw_interface.h.

◆ afw_log_write

#define afw_log_write (   instance,
  priority,
  source_z,
  message,
  xctx 
)
Value:
(instance)->inf->write( \
(instance), \
(priority), \
(source_z), \
(message), \
(xctx) \
)

Call method write of interface afw_log.

Parameters
instancePointer to this log instance.
priorityLog priority level.
source_zSource file name
messageMessage to log.
xctxThis is the caller's xctx.

Definition at line 3087 of file afw_interface.h.

Typedef Documentation

◆ afw_log_destroy_t

typedef void(* afw_log_destroy_t) (const afw_log_t *instance, afw_xctx_t *xctx)
See also
afw_log_destroy()

Definition at line 3019 of file afw_interface.h.

◆ afw_log_set_own_mask_t

typedef void(* afw_log_set_own_mask_t) (const afw_log_t *instance, afw_log_priority_mask_t mask, afw_xctx_t *xctx)
See also
afw_log_set_own_mask()

Definition at line 3025 of file afw_interface.h.

◆ afw_log_write_t

typedef void(* afw_log_write_t) (const afw_log_t *instance, afw_log_priority_t priority, const afw_utf8_z_t *source_z, const afw_utf8_t *message, afw_xctx_t *xctx)
See also
afw_log_write()

Definition at line 3032 of file afw_interface.h.