mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-15 10:55:13 +01:00
Fix log level enum values (#89)
This commit is contained in:
parent
42d0367b4f
commit
595720ed62
@ -555,9 +555,10 @@ enum LogLevel {
|
||||
LOG_LEVEL_ERROR = 1;
|
||||
LOG_LEVEL_WARN = 2;
|
||||
LOG_LEVEL_INFO = 3;
|
||||
LOG_LEVEL_DEBUG = 4;
|
||||
LOG_LEVEL_VERBOSE = 5;
|
||||
LOG_LEVEL_VERY_VERBOSE = 6;
|
||||
LOG_LEVEL_CONFIG = 4;
|
||||
LOG_LEVEL_DEBUG = 5;
|
||||
LOG_LEVEL_VERBOSE = 6;
|
||||
LOG_LEVEL_VERY_VERBOSE = 7;
|
||||
}
|
||||
message SubscribeLogsRequest {
|
||||
option (id) = 28;
|
||||
@ -572,7 +573,6 @@ message SubscribeLogsResponse {
|
||||
option (no_delay) = false;
|
||||
|
||||
LogLevel level = 1;
|
||||
string tag = 2;
|
||||
string message = 3;
|
||||
bool send_failed = 4;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -581,6 +581,7 @@ class LogLevel(APIIntEnum):
|
||||
LOG_LEVEL_ERROR = 1
|
||||
LOG_LEVEL_WARN = 2
|
||||
LOG_LEVEL_INFO = 3
|
||||
LOG_LEVEL_DEBUG = 4
|
||||
LOG_LEVEL_VERBOSE = 5
|
||||
LOG_LEVEL_VERY_VERBOSE = 6
|
||||
LOG_LEVEL_CONFIG = 4
|
||||
LOG_LEVEL_DEBUG = 5
|
||||
LOG_LEVEL_VERBOSE = 6
|
||||
LOG_LEVEL_VERY_VERBOSE = 7
|
||||
|
Loading…
Reference in New Issue
Block a user