Expand description
Logging utils. See “log” crate documentation for details
Example:
use log::{info, LevelFilter};
use tarantool::log::{TarantoolLogger, say, SayLevel};
static LOGGER: TarantoolLogger = TarantoolLogger::new();
log::set_logger(&LOGGER).unwrap();
log::set_max_level(LevelFilter::Debug);
info!("Hello {}", username);
// Or you can write to Tarantool logger directly
say(SayLevel::Info, "log_demo.rs", 9, None, "Hello world");
See also:
Structs
Enums
- Tarantool-native logging levels (use it with say())
Functions
- Format and print a message to the Tarantool log file.