replace map with target_map

This commit is contained in:
vms 2020-10-29 14:13:28 +03:00
parent c9cd2ad4d3
commit dc2851379e

View File

@ -80,7 +80,7 @@ impl WasmLogger {
/// Set mapping between logging targets and numbers.
/// Used to efficiently enable & disable logs per target on the host.
pub fn with_target_map(mut self, map: TargetMap) -> Self {
self.map = map;
self.target_map = map;
self
}