*/
public class Collectd
{
- private static final int LOG_ERR = 3;
- private static final int LOG_WARNING = 4;
- private static final int LOG_NOTICE = 5;
- private static final int LOG_INFO = 6;
- private static final int LOG_DEBUG = 7;
+ public static final int LOG_ERR = 3;
+ public static final int LOG_WARNING = 4;
+ public static final int LOG_NOTICE = 5;
+ public static final int LOG_INFO = 6;
+ public static final int LOG_DEBUG = 7;
/**
* Java representation of collectd/src/plugin.h:plugin_register_config
CollectdShutdownInterface object);
/**
+ * Java representation of collectd/src/plugin.h:plugin_register_log
+ */
+ native public static int registerLog (String name,
+ CollectdLogInterface object);
+
+ /**
* Java representation of collectd/src/plugin.h:plugin_dispatch_values
*/
native public static int dispatchValues (ValueList vl);