()
| 125 | |
| 126 | // logging methods |
| 127 | public static getVersion(): string |
| 128 | { |
| 129 | const len = [0]; |
| 130 | let out = ['\0'.repeat(512)]; |
| 131 | const res = MLModuleDLL.getInstance().getVersionMLModule(out, len, 512); |
| 132 | if (res !== BrainFlowExitCodes.STATUS_OK) |
| 133 | { |
| 134 | throw new BrainFlowError (res, 'Could not get version info'); |
| 135 | } |
| 136 | return out[0].substring(0, len[0]); |
| 137 | } |
| 138 | |
| 139 | public static setLogLevel(logLevel: LogLevels): void |
| 140 | { |
no test coverage detected