chore: debug > 0 for println! and verbose > 0

This commit is contained in:
Jesús Pérez Lorenzo 2021-09-17 17:10:23 +01:00
parent ef6aaf8bbc
commit 506a9eb086

View File

@ -20,7 +20,7 @@ pub struct CollsData {
}
impl CollsData {
pub fn new(env: AppEnv) -> Self {
pub fn new(env: AppEnv,verbose: isize) -> Self {
// dbg!(&env.contexts);
let (klouds_frmt, klouds_content) = load_from_module(env.to_owned(),"klouds");
// let (ta_frmt, ta_content) = load_from_module(env.to_owned(),"ta");
@ -29,7 +29,8 @@ impl CollsData {
klouds: KloudStore::new(
Kloud::entries(&klouds_content,&klouds_frmt),
"klouds".to_owned(),
DataContext::default()
DataContext::default(),
verbose
),
/*
ta: KloudStore::new(