/// <summary> /// send your own log message to BrainFlow's logger /// </summary> /// <param name="log_level"></param> /// <param name="message"></param> public static void log_message (int log_level, string message) { int res = BoardControllerLibrary.log_message (log_level, message); if (res != (int)CustomExitCodes.STATUS_OK) { throw new BrainFlowException (res); } }