20 #define AFW_IMPLEMENTATION_ID "file"
31 static const afw_utf8_t impl_factory_description =
37 &impl_afw_log_factory_inf,
39 &impl_factory_description
47 return &impl_afw_log_factory;
55 impl_afw_log_factory_create_log_cede_p (
92 impl_afw_log_set_own_mask(
AFW_DEFINE(const afw_object_t *)
Adaptive Framework Core Internal.
Interface afw_interface implementation declares.
Interface afw_interface implementation declares.
#define AFW_UTF8_FMT_ARG(A_STRING)
Convenience Macro for use with AFW_UTF8_FMT to specify arg.
struct afw_expression_s afw_expression_t
#define AFW_UTF8_LITERAL(A_STRING)
String literal initializer.
int afw_log_priority_mask_t
#define AFW_UTF8_FMT
Format string specifier used for afw_utf8_t.
afw_utf8_octet_t afw_utf8_z_t
NFC normalized UTF-8 null terminated string.
enum afw_log_priority_e afw_log_priority_t
Log levels. See afw_log.h for more information.
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)
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.
afw_log_file_factory_get()
Get the factory for log type file.
#define afw_pool_release(instance, xctx)
Call method release of interface afw_pool.
FILE * stdout_fd
Open file descriptor used for writing standard output. Default stdout.
Interface afw_log_factory public struct.
Struct for afw_log_impl_t.
afw_log_priority_mask_t mask
Interface afw_log public struct.
Interface afw_object public struct.
Interface afw_pool public struct.
NFC normalized UTF-8 string.
Interface afw_xctx public struct.