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

Method log_message

csharp_package/brainflow/brainflow/ml_model.cs:56–63  ·  view source on GitHub ↗

send your own log message to BrainFlow's logger

(int log_level, string message)

Source from the content-addressed store, hash-verified

54 /// <param name="log_level"></param>
55 /// <param name="message"></param>
56 public static void log_message (int log_level, string message)
57 {
58 int res = MLModuleLibrary.log_message_ml_module (log_level, message);
59 if (res != (int)BrainFlowExitCodes.STATUS_OK)
60 {
61 throw new BrainFlowError (res);
62 }
63 }
64
65 /// <summary>
66 /// enable ML logger with level INFO

Callers

nothing calls this directly

Calls 1

log_message_ml_moduleMethod · 0.65

Tested by

no test coverage detected