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

Method logMessage

nodejs_package/brainflow/ml_model.ts:157–164  ·  view source on GitHub ↗
(logLevel: LogLevels, message: string)

Source from the content-addressed store, hash-verified

155 }
156
157 public static logMessage(logLevel: LogLevels, message: string): void
158 {
159 const res = MLModuleDLL.getInstance().logMessageMLModule(logLevel, message);
160 if (res !== BrainFlowExitCodes.STATUS_OK)
161 {
162 throw new BrainFlowError (res, 'Could not writte message');
163 }
164 }
165
166 // model methods
167 public prepare(): void

Callers

nothing calls this directly

Calls 1

getInstanceMethod · 0.45

Tested by

no test coverage detected