Expand description
Logging utils. See “log” crate documentation for details
Example:
use log::{info, LevelFilter};
use tarantool_module::log::{TarantoolLogger, say, SayLevel};
log::set_logger(&TarantoolLogger {}).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§
- Tarantool
Logger - Log trait implementation. Wraps say().
Enums§
Functions§
- say
- Format and print a message to Tarantool log file.