mirror of
https://github.com/fluencelabs/marine.git
synced 2024-12-12 06:45:32 +00:00
enable logger by default
This commit is contained in:
parent
58f14427f1
commit
8f41f5816b
@ -263,7 +263,7 @@ fn from_raw_module_config(config: RawModuleConfig) -> Result<(String, ModuleConf
|
|||||||
config.name,
|
config.name,
|
||||||
ModuleConfig {
|
ModuleConfig {
|
||||||
mem_pages_count: config.mem_pages_count,
|
mem_pages_count: config.mem_pages_count,
|
||||||
logger_enabled: config.logger_enabled.unwrap_or_default(),
|
logger_enabled: config.logger_enabled.unwrap_or(true),
|
||||||
imports,
|
imports,
|
||||||
wasi,
|
wasi,
|
||||||
},
|
},
|
||||||
@ -275,7 +275,7 @@ fn from_raw_default_module_config(config: RawDefaultModuleConfig) -> Result<Modu
|
|||||||
let wasi = config.wasi.map(from_raw_wasi_config);
|
let wasi = config.wasi.map(from_raw_wasi_config);
|
||||||
Ok(ModuleConfig {
|
Ok(ModuleConfig {
|
||||||
mem_pages_count: config.mem_pages_count,
|
mem_pages_count: config.mem_pages_count,
|
||||||
logger_enabled: config.logger_enabled.unwrap_or_default(),
|
logger_enabled: config.logger_enabled.unwrap_or(true),
|
||||||
imports,
|
imports,
|
||||||
wasi,
|
wasi,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user