[][src]Function sentry::capture_message

pub fn capture_message(msg: &str, level: Level) -> Uuid

Captures an arbitrary message.

This creates an event from the given message and sends it to the current hub.