You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C++ defined PriorityLevel at src/app/EventLoggingTypes.h
enum class PriorityLevel : uint8_t
{
First = 0,
/**
* Debug priority denotes log entries of interest to the
* developers of the system and is used primarily in the
* development phase. Debug priority logs are
* not accounted for in the bandwidth or power budgets of the
* constrained devices; as a result, they must be used only over
* a limited time span in production systems.
*/
Debug = First,
/**
* Info priority denotes log entries that provide extra insight
* and diagnostics into the running system. Info logging level may
* be used over an extended period of time in a production system,
* or may be used as the default log level in a field trial. On
* the constrained devices, the entries logged with Info level must
* be accounted for in the bandwidth and memory budget, but not in
* the power budget.
*/
Info = 1,
/**
* Critical priority denotes events whose loss would
* directly impact customer-facing features. Applications may use
* loss of Production Critical events to indicate system failure.
* On constrained devices, entries logged with Critical
* priority must be accounted for in the power and memory budget,
* as it is expected that they are always logged and offloaded
* from the device.
*/
Critical = 2,
Last = Critical,
Invalid = Last + 1,
};
Python defined PriorityLevel at src/controller/python/chip/clusters/Attribute.py
@unique
class EventPriority(Enum):
DEBUG = 1
INFO = 2
CRITICAL = 3
Platform
python
Platform Version(s)
No response
Type
Unit tested
(Optional) If manually tested please explain why this is only manually tested
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
yzm157
changed the title
[Platform] C++ and Python use inconsistent values (PriorityLevel)
[Platform][python] C++ and Python use inconsistent values (PriorityLevel)
Apr 6, 2023
yzm157
changed the title
[Platform][python] C++ and Python use inconsistent values (PriorityLevel)
[Platform] [Python] C++ and Python use inconsistent values (PriorityLevel)
Apr 6, 2023
Reproduction steps
C++ defined PriorityLevel at src/app/EventLoggingTypes.h
Python defined PriorityLevel at src/controller/python/chip/clusters/Attribute.py
Platform
python
Platform Version(s)
No response
Type
Unit tested
(Optional) If manually tested please explain why this is only manually tested
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: