Function log

Source
pub fn log(message: &[u8])
๐Ÿ‘ŽDeprecated since 4.0.0: Use env::log_str for logging messages.
Expand description

Log the UTF-8 encodable message.

ยงExamples

use near_sdk::env::log;

log(b"Text");