MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / setLogFile

Method setLogFile

nodejs_package/brainflow/board_shim.ts:199–206  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

197 }
198
199 public static setLogFile(file: string): void
200 {
201 const res = BoardControllerDLL.getInstance().setLogFileBoardController(file);
202 if (res !== BrainFlowExitCodes.STATUS_OK)
203 {
204 throw new BrainFlowError (res, 'Could not redirect to log file');
205 }
206 }
207
208 public static logMessage(logLevel: LogLevels, message: string): void
209 {

Callers

nothing calls this directly

Calls 1

getInstanceMethod · 0.45

Tested by

no test coverage detected