public void EnableLogging()
        {
            otc_logger_func X = (string message) =>
            {
                Console.WriteLine(message);
            };

            otc_log_enable(0x7FFFFFFF);
            otc_log_set_logger_func(X);
        }
        public void EnableLogging()
        {
            otc_logger_func X = (string message) =>
            {
                Console.WriteLine(message);
            };

            otc_log_enable(OTC_LOG_LEVEL_ALL);
            otc_log_set_logger_callback(X);
        }
 internal static extern void otc_log_set_logger_func(otc_logger_func logger);
 internal static extern void otc_log_set_logger_callback(otc_logger_func logger);