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

Method setLogFile

nodejs_package/brainflow/ml_model.ts:148–155  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

146 }
147
148 public static setLogFile(file: string): void
149 {
150 const res = MLModuleDLL.getInstance().setLogFileMLModule(file);
151 if (res !== BrainFlowExitCodes.STATUS_OK)
152 {
153 throw new BrainFlowError (res, 'Could not redirect to log file');
154 }
155 }
156
157 public static logMessage(logLevel: LogLevels, message: string): void
158 {

Callers

nothing calls this directly

Calls 1

getInstanceMethod · 0.45

Tested by

no test coverage detected