Skip to main content

code_emit_log

Function code_emit_log 

Source
pub fn code_emit_log(source: &str, level: &str, message: &str)
Expand description

Build and emit a Log particle.

Convenience helper for native modules:

code_emit_log("my-module", "Info", "Server started on port 3000");