Adaptive Framework
0.9.0
|
Implementation of afw_log interface for log director. More...
#include "afw_internal.h"
#include "afw_log_impl_declares.h"
#include "afw_service_type_impl_declares.h"
Go to the source code of this file.
Data Structures | |
struct | impl_log_entry_s |
struct | impl_log_head_s |
struct | impl_log_self_s |
struct | impl_format_write_t |
Macros | |
#define | AFW_IMPLEMENTATION_ID "log" |
Typedefs | |
typedef struct impl_log_entry_s | impl_log_entry_t |
typedef struct impl_log_head_s | impl_log_head_t |
typedef struct impl_log_self_s | impl_afw_log_self_t |
Functions | |
void | afw_log_internal_register_logType_context_type (const afw_utf8_t *log_type_id, afw_xctx_t *xctx) |
Register logType context type. | |
const afw_log_t * | afw_log_internal_create_environment_log (afw_xctx_t *xctx) |
Internal create environment log. | |
afw_log_get_priority_id_map () | |
afw_log_priority_id_to_priority (const afw_utf8_t *priority_id) | |
Convert a log priority id to priority. More... | |
afw_log_priority_to_priority_id (afw_log_priority_t priority) | |
Convert a log priority to priority id. More... | |
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... | |
afw_log_set_mask (const afw_log_t *instance, afw_log_priority_mask_t mask, afw_xctx_t *xctx) | |
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_internal_conf_type_create_cede_p (const afw_utf8_t *type, const afw_object_t *conf, const afw_utf8_t *source_location, const afw_pool_t *p, afw_xctx_t *xctx) |
Configuration handler for entry type "log". | |
void | impl_afw_log_destroy (const afw_log_t *instance, afw_xctx_t *xctx) |
void | impl_afw_log_set_own_mask (const afw_log_t *instance, afw_log_priority_mask_t mask, afw_xctx_t *xctx) |
void | impl_afw_log_write (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) |
void | afw_log_internal_register_service_type (afw_xctx_t *xctx) |
afw_integer_t | impl_afw_service_type_related_instance_count (const afw_service_type_t *instance, const afw_utf8_t *id, afw_xctx_t *xctx) |
void | impl_afw_service_type_start_cede_p (const afw_service_type_t *instance, const afw_object_t *properties, const afw_pool_t *p, afw_xctx_t *xctx) |
void | impl_afw_service_type_stop (const afw_service_type_t *instance, const afw_utf8_t *id, afw_xctx_t *xctx) |
void | impl_afw_service_type_restart_cede_p (const afw_service_type_t *instance, const afw_object_t *properties, const afw_pool_t *p, afw_xctx_t *xctx) |
afw_log_impl_throw_property_invalid (const afw_log_t *log, const afw_utf8_t *property_name, afw_xctx_t *xctx) | |
Developers should call this for configuration property errors. More... | |
afw_log_impl_throw_property_required (const afw_log_t *log, const afw_utf8_t *property_name, afw_xctx_t *xctx) | |
Developers should call this for missing required configuration property. More... | |
afw_log_impl_create_cede_p (const afw_log_inf_t *inf, afw_size_t instance_size, const afw_object_t *properties, const afw_pool_t *p, afw_xctx_t *xctx) | |
Developers should call this in all create functions for afw_log. More... | |
Implementation of afw_log interface for log director.
Definition in file afw_log.c.