コード例 #1
0
        public void EnableLogging()
        {
            otc_logger_func X = (string message) =>
            {
                Console.WriteLine(message);
            };

            otc_log_enable(0x7FFFFFFF);
            otc_log_set_logger_func(X);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 internal static extern void otc_log_set_logger_func(otc_logger_func logger);
コード例 #4
0
 internal static extern void otc_log_set_logger_callback(otc_logger_func logger);