syslog-ng source
evtfmt.c File Reference
#include "evt_internals.h"
#include <stdlib.h>
#include <string.h>
Include dependency graph for evtfmt.c:

Functions

char * evt_format (EVTREC *e)
 

Function Documentation

◆ evt_format()

char* evt_format ( EVTREC *  e)

evt_format: : event record

Formats the given event as specified by the current configuration.

Return value: returns a newly allocated string. The caller is responsible for freeing the returned value.

Variable Documentation

◆ ef_formatter

char*(* ef_formatter) (EVTREC *e) ( EVTREC *  e)

◆ ef_name

char* ef_name