mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
clean up some debug spew
This commit is contained in:
parent
9f409fda2d
commit
88ea0145da
1 changed files with 3 additions and 3 deletions
|
|
@ -789,7 +789,7 @@ fn main() -> ! {
|
||||||
};
|
};
|
||||||
let dict = req.dict.as_str().expect("dict utf-8 decode error");
|
let dict = req.dict.as_str().expect("dict utf-8 decode error");
|
||||||
let key = req.key.as_str().expect("key utf-8 decode error");
|
let key = req.key.as_str().expect("key utf-8 decode error");
|
||||||
log::info!("get: {:?} {}", bname, key);
|
log::debug!("get: {:?} {}", bname, key);
|
||||||
if basis_cache.dict_attributes(&mut pddb_os, dict, bname).is_err() {
|
if basis_cache.dict_attributes(&mut pddb_os, dict, bname).is_err() {
|
||||||
if req.create_dict {
|
if req.create_dict {
|
||||||
match basis_cache.dict_add(&mut pddb_os, dict, bname) {
|
match basis_cache.dict_add(&mut pddb_os, dict, bname) {
|
||||||
|
|
@ -1130,7 +1130,7 @@ fn main() -> ! {
|
||||||
if let Some(rec) = token_dict.get(&token) {
|
if let Some(rec) = token_dict.get(&token) {
|
||||||
for basis in basis_cache.access_list().iter() {
|
for basis in basis_cache.access_list().iter() {
|
||||||
let temp = if let Some (name) = &rec.basis {Some(name)} else {Some(basis)};
|
let temp = if let Some (name) = &rec.basis {Some(name)} else {Some(basis)};
|
||||||
log::info!("read (spec: {:?}){:?} {}", rec.basis, temp, rec.key);
|
log::debug!("read (spec: {:?}){:?} {}", rec.basis, temp, rec.key);
|
||||||
match basis_cache.key_read(&mut pddb_os,
|
match basis_cache.key_read(&mut pddb_os,
|
||||||
&rec.dict, &rec.key,
|
&rec.dict, &rec.key,
|
||||||
&mut pbuf.data[..pbuf.len as usize], Some(pbuf.position as usize),
|
&mut pbuf.data[..pbuf.len as usize], Some(pbuf.position as usize),
|
||||||
|
|
@ -1164,7 +1164,7 @@ fn main() -> ! {
|
||||||
if let Some(rec) = token_dict.get(&token) {
|
if let Some(rec) = token_dict.get(&token) {
|
||||||
for basis in basis_cache.access_list().iter() {
|
for basis in basis_cache.access_list().iter() {
|
||||||
let temp = if let Some (name) = &rec.basis {Some(name)} else {Some(basis)};
|
let temp = if let Some (name) = &rec.basis {Some(name)} else {Some(basis)};
|
||||||
log::info!("write (spec: {:?}){:?} {}", rec.basis, temp, rec.key);
|
log::debug!("write (spec: {:?}){:?} {}", rec.basis, temp, rec.key);
|
||||||
match basis_cache.key_update(&mut pddb_os,
|
match basis_cache.key_update(&mut pddb_os,
|
||||||
&rec.dict, &rec.key,
|
&rec.dict, &rec.key,
|
||||||
&pbuf.data[..pbuf.len as usize], Some(pbuf.position as usize),
|
&pbuf.data[..pbuf.len as usize], Some(pbuf.position as usize),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue