Esempio n. 1
0
        /// <summary>
        /// set log level, logger is disabled by default
        /// </summary>
        /// <param name="log_level"></param>
        private static void set_log_level(int log_level)
        {
            int res = DataHandlerLibrary.set_log_level(log_level);

            if (res != (int)CustomExitCodes.STATUS_OK)
            {
                throw new BrainFlowException(res);
            }
        }
Esempio n. 2
0
 /// <summary>
 /// enable Data logger with level TRACE
 /// </summary>
 public static void enable_dev_data_logger()
 {
     DataHandlerLibrary.set_log_level((int)LogLevels.LEVEL_TRACE);
 }
Esempio n. 3
0
 /// <summary>
 /// disable Data logger
 /// </summary>
 public static void disable_data_logger()
 {
     DataHandlerLibrary.set_log_level((int)LogLevels.LEVEL_OFF);
 }
Esempio n. 4
0
 /// <summary>
 /// enable BrainFlow's logger with level INFO
 /// </summary>
 public static void enable_board_logger()
 {
     DataHandlerLibrary.set_log_level((int)LogLevels.LEVEL_INFO);
 }