Skip to content

Commit 3d787ad

Browse files
authored
Merge pull request #38 from yojagad/SystemLogData
Add RpcLogCategory enum
2 parents 41d1bbb + 8c00486 commit 3d787ad

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/proto/FunctionRpc.proto

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,12 @@ message RpcLog {
383383
None = 6;
384384
}
385385

386+
// Category of the log. Defaults to User if not specified.
387+
enum RpcLogCategory {
388+
User = 0;
389+
System = 1;
390+
}
391+
386392
// Unique id for invocation (if exists)
387393
string invocation_id = 1;
388394

@@ -404,6 +410,9 @@ message RpcLog {
404410

405411
// json serialized property bag, or could use a type scheme like map<string, TypedData>
406412
string properties = 7;
413+
414+
// Category of the log. Either user(default) or system.
415+
RpcLogCategory log_category = 8;
407416
}
408417

409418
// Encapsulates an Exception
@@ -414,7 +423,7 @@ message RpcException {
414423
// Stack trace for the exception
415424
string stack_trace = 1;
416425

417-
// Textual message describing hte exception
426+
// Textual message describing the exception
418427
string message = 2;
419428
}
420429

0 commit comments

Comments
 (0)