Haka
Data Fields
log_module Struct Reference

#include <include/haka/log_module.h>

Data Fields

struct module module
 
struct logger_module *(* init_logger )(struct parameters *args)
 
void(* cleanup_logger )(struct logger_module *logger)
 

Detailed Description

Log module structure. This module type will allow to create custom logging back-end for Haka to, for instance, put the log into syslog.

Field Documentation

void(* log_module::cleanup_logger) (struct logger_module *logger)

Destroy a logger.

struct logger_module*(* log_module::init_logger) (struct parameters *args)

Create a new logger. This function must fill the fields of the struct logger_module.

struct module log_module::module

Module structure.


The documentation for this struct was generated from the following file: