Struct PntosLoggingPlugin

Struct Documentation

struct PntosLoggingPlugin

A plugin for logging out data to an arbitrary sink (e.g. console, file, network, etc.).

Public Members

PntosCommonPlugin common
void (*log)(struct PntosLoggingPlugin *self, PntosPluginTypes source_plugin_type, char *source_plugin_identifier, PntosLoggingLevel level, char *message)

Log a string to the logging plugin’s sink. source_plugin_type and source_plugin_identifier are information on the plugin that sent the logout, level is the event severity, and message the string contents to be logged.

void (*log_fmt)(struct PntosLoggingPlugin *self, PntosPluginTypes source_plugin_type, char *source_plugin_identifier, PntosLoggingLevel level, char *fmt, va_list args)