DSDL: LogLevel extracted into a separate nested type for future extensibility

This commit is contained in:
Pavel Kirienko 2014-03-17 15:28:58 +04:00
parent 730a571c8d
commit fa8a9cd8ed
2 changed files with 10 additions and 6 deletions

View File

@ -2,11 +2,6 @@
# Generic log message.
#
uint3 SEVERITY_DEBUG = 0
uint3 SEVERITY_INFO = 1
uint3 SEVERITY_WARNING = 2
uint3 SEVERITY_ERROR = 3
uint3 severity
LogLevel level
uint8[<32] source
uint8[<128] text

View File

@ -0,0 +1,9 @@
#
# Log message severity
#
uint3 DEBUG = 0
uint3 INFO = 1
uint3 WARNING = 2
uint3 ERROR = 3
uint3 value