Skip to content

Commit

Permalink
update default log level
Browse files Browse the repository at this point in the history
  • Loading branch information
DanLiu2Intel committed Jun 13, 2024
1 parent 88e2da9 commit 5af48ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/plugins/intel_npu/src/utils/src/logger/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Logger& Logger::global() {
}
static Logger log("global", logLvl);
#else
static Logger log("global", ov::log::Level::NO);
static Logger log("global", ov::log::Level::ERROR);
#endif
return log;
}
Expand All @@ -78,7 +78,8 @@ Logger Logger::clone(std::string_view name) const {

bool Logger::isActive(ov::log::Level msgLevel) const {
return static_cast<int32_t>(msgLevel) <= static_cast<int32_t>(_logLevel);
}
}// info (2) <= defualt?
//default is trace: 2<=4

std::ostream& Logger::getBaseStream() {
return std::cout;
Expand Down

0 comments on commit 5af48ab

Please sign in to comment.