Lines Matching defs:level
212 /** @brief Get threshold given level and direction
214 * @param[in] level - The threshold level (WARNING/CRITICAL/etc)
219 double getThreshold(pldm::utils::Level level,
227 switch (level)
247 /* @brief returns true if the given threshold at level/direction is defined.
249 * @param[in] level - The threshold level (WARNING/CRITICAL/etc)
254 bool isThresholdValid(pldm::utils::Level level,
257 return std::isfinite(getThreshold(level, direction));
262 * @param[in] level - The threshold level (WARNING/CRITICAL/etc)
267 bool getThresholdAlarm(pldm::utils::Level level,
270 if (!isThresholdValid(level, direction))
274 switch (level)
338 * @param[in] level - The threshold level (WARNING/CRITICAL/etc)
346 int setThresholdAlarm(pldm::utils::Level level,
352 * @param[in] eventType - event level in pldm::utils::Level
402 * @brief Create a threshold log for the given level/direction tuple.
404 * @param[in] level - The level of the threshold.
408 void createThresholdLog(pldm::utils::Level level,