Exemplo n.º 1
0
        /// <summary>
        /// redirect BrainFlow's logger from stderr to file
        /// </summary>
        /// <param name="log_file"></param>
        public static void set_log_file(string log_file)
        {
            int res = BoardControllerLibrary.set_log_file_board_controller(log_file);

            if (res != (int)CustomExitCodes.STATUS_OK)
            {
                throw new BrainFlowException(res);
            }
        }