fix comment

This commit is contained in:
vms 2020-12-09 12:09:26 +03:00
parent b631dab17f
commit 014d724ea4

View File

@ -75,9 +75,9 @@ pub struct WasmLoggerBuilder {
}
impl WasmLoggerBuilder {
/// Initializes a builder of the global logger. Set log level based on the RUST_LOG environment variable if it set,
/// or log::Level::Info otherwise. It is a initial method in this builder chain, please note, that logger wouldn't
/// work without subsequent build() call.
/// Initializes a builder of the global logger. Set log level based on the WASM_LOG environment variable if it set,
/// or WASM_DEFAULT_LOG_LEVEL otherwise. It is a initial method in this builder chain, please note,
/// that logger wouldn't work without subsequent build() call.
pub fn new() -> Self {
use std::str::FromStr;