public static void StopLogging() { if (_delegate == null) { return; } _delegate = null; jxta_log_using(null, IntPtr.Zero); }
public static void StartLogging() { if (_delegate != null) { return; } _delegate = new NativeLogCallback(LogCallback); jxta_log_using(_delegate, IntPtr.Zero); }
static GlobalLogger() { _delegate = null; }
private static extern void jxta_log_using(NativeLogCallback logCb, IntPtr user_data);
private static extern void Noesis_RegisterLogCallback(NativeLogCallback callback);