34 lines
507 B
Protocol Buffer
34 lines
507 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package cls;
|
||
|
|
||
|
message Log
|
||
|
{
|
||
|
int64 time = 1;
|
||
|
message Content
|
||
|
{
|
||
|
string key = 1;
|
||
|
string value = 2;
|
||
|
}
|
||
|
repeated Content contents= 2;
|
||
|
}
|
||
|
|
||
|
message LogTag
|
||
|
{
|
||
|
string key = 1;
|
||
|
string value = 2;
|
||
|
}
|
||
|
|
||
|
message LogGroup
|
||
|
{
|
||
|
repeated Log logs= 1;
|
||
|
optional string contextFlow = 2;
|
||
|
optional string filename = 3;
|
||
|
optional string source = 4;
|
||
|
repeated LogTag logTags = 5;
|
||
|
}
|
||
|
|
||
|
message LogGroupList
|
||
|
{
|
||
|
repeated LogGroup logGroupList = 1;
|
||
|
}
|