Struct PntosLoggingPlugin
Defined in File logging.h
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_typeandsource_plugin_identifierare information on the plugin that sent the logout,levelis the event severity, andmessagethe 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)
-
PntosCommonPlugin common