Adaptive Framework
0.9.0
|
Adaptive Framework afw_log interface helpers header. More...
#include "afw_interface.h"
Go to the source code of this file.
Data Structures | |
struct | afw_log_priority_id_map_entry_s |
Macros | |
#define | afw_log_release afw_log_destroy |
#define | AFW_LOG(priority, message, xctx) |
Log an afw_utf8_t message to environment's log. More... | |
#define | AFW_LOG_Z(priority, message_z, xctx) |
Log an afw_utf8_z_t message to environment's log. More... | |
#define | AFW_LOG_VZ(priority, format_z, ap, xctx) |
Log an message to environment's log using a printf style format and va_list. More... | |
#define | AFW_LOG_FZ(priority, xctx, format_z, ...) |
Log an message to environment's log using a printf style format and parameters. More... | |
Typedefs | |
typedef struct afw_log_priority_id_map_entry_s | afw_log_priority_id_map_entry_t |
Functions | |
const afw_log_priority_id_map_entry_t * | afw_log_get_priority_id_map () |
afw_log_priority_t | afw_log_priority_id_to_priority (const afw_utf8_t *priority_id) |
Convert a log priority id to priority. More... | |
const afw_utf8_t * | afw_log_priority_to_priority_id (afw_log_priority_t priority) |
Convert a log priority to priority id. More... | |
afw_log_priority_mask_t | afw_log_priority_mask (afw_log_priority_t priority) |
Get the priority mask for a log priority. More... | |
afw_log_priority_mask_t | afw_log_up_to_priority_mask (afw_log_priority_t priority) |
Get the priority mask for all equal or higher log priorities. More... | |
afw_boolean_t | afw_log_priority_in_mask (afw_log_priority_mask_t mask, afw_log_priority_t priority) |
Determined if log priority corresponding bit is on in mask. More... | |
void | afw_log_set_priority_in_mask (afw_log_priority_mask_t *mask, afw_log_priority_t priority, afw_boolean_t value) |
Set the corresponding bit for a priority in a mask. More... | |
void | afw_log_write_z (const afw_log_t *instance, afw_log_priority_t priority, const afw_utf8_z_t *source_z, const afw_utf8_z_t *message_z, afw_xctx_t *xctx) |
Log an afw_utf8_z_t message. More... | |
void | afw_log_write_vz (const afw_log_t *instance, afw_log_priority_t priority, const afw_utf8_z_t *source_z, const afw_utf8_z_t *format_z, va_list ap, afw_xctx_t *xctx) |
Log an message using a printf style format and va_list. More... | |
void | afw_log_write_fz (const afw_log_t *instance, afw_log_priority_t priority, const afw_utf8_z_t *source_z, afw_xctx_t *xctx, const afw_utf8_z_t *format_z,...) |
Log an message using a printf style format and parameters. More... | |
const afw_log_factory_t * | afw_log_file_factory_get () |
Get the factory for log type file. More... | |
const afw_log_factory_t * | afw_log_standard_factory_get () |
Get the factory for log type standard. More... | |
void | afw_log_add_to_environment (const afw_log_t *instance, afw_xctx_t *xctx) |
Add a log to the list of logs called by environment log. More... | |
void | afw_log_set_mask (const afw_log_t *instance, afw_log_priority_mask_t mask, afw_xctx_t *xctx) |
Adaptive Framework afw_log interface helpers header.
Definition in file afw_log.h.