syntax = "proto3"; package logging; import "google/protobuf/timestamp.proto"; enum LogLevel { UNKNOWN = 0; INFO = 1; WARN = 2; ERROR = 3; FATAL = 4; } message LogEntry { string service_name = 1; string operation_name = 2; LogLevel log_level = 3; string message = 4; google.protobuf.Timestamp timestamp = 5; } message LogResponse { bool success = 1; string message = 2; } service LoggingService { rpc StreamLogs(stream LogEntry) returns (LogResponse); }