set up log files

This commit is contained in:
Nam Tran
2020-11-24 18:36:58 -06:00
parent 14070f8017
commit a561e6b428
2 changed files with 18 additions and 8 deletions

View File

@@ -25,10 +25,10 @@ Channel::Channel(char const * ptr, size_t len) {
void Channel::Print(){
if (valid) {
spdlog::info("channel {}, spill {}, size {}, blocks {}, crossing {}, integrals {}, {}, {}",
spdlog::get("zynqDump")->info("channel {}, spill {}, size {}, blocks {}, crossing {}, integrals {}, {}, {}",
id, spill, size, block_count, crossing, integral[0], integral[1], integral[2]);
}
else {
spdlog::info("Invalid channel");
spdlog::get("zynqDump")->info("Invalid channel");
}
}