Function sp_io::logging::log[][src]

pub fn log(level: LogLevel, target: &str, message: &[u8])

Request to print a log message on the host.

Note that this will be only displayed if the host is enabled to display log messages with given level and target.

Instead of using directly, prefer setting up RuntimeLogger and using log macros.