94#ifndef LOG_SERVICE_IMP_H
95#define LOG_SERVICE_IMP_H
171 (
const char *line_start,
size_t line_length));
178 (
void *instance,
char *
buf,
size_t bufsize));
Definition: log_service_imp.h:102
static void exit()
De-initialize a loadable logging service.
static log_service_error get_log_name(void *instance, char *buf, size_t bufsize) noexcept
Provide the name for a log file this service would access.
Definition: log_sink_json.cc:456
static log_service_error open(log_line *ll, void **instance) noexcept
Open a new instance.
Definition: log_filter_dragnet.cc:1568
static int characteristics(void) noexcept
Get characteristics of a log-service.
Definition: log_filter_dragnet.cc:1623
static int run(void *instance, log_line *ll) noexcept
Have the service process one log line.
Definition: log_filter_dragnet.cc:1545
static log_service_error flush(void **instance) noexcept
Flush any buffers.
Definition: log_filter_dragnet.cc:1613
static log_service_error close(void **instance) noexcept
Close and release an instance.
Definition: log_filter_dragnet.cc:1589
static void init()
Initialize a loadable logging service.
static log_service_error parse_log_line(const char *line_start, size_t line_length) noexcept
Parse a single line in an error log of this format.
Definition: log_sink_json.cc:126
enum enum_log_service_error log_service_error
Error codes.
REQUIRES_SERVICE_PLACEHOLDER(registry)
LOG SINKS: WRITERS.
Definition: buf0block_hint.cc:30
#define DEFINE_METHOD(retval, name, args)
A macro to ensure method implementation has required properties, that is it does not throw exceptions...
Definition: service_implementation.h:79
log_line ("log event")
Definition: keyring_log_builtins_definition.cc:72