Goby3  3.1.5a
2024.05.23
logger.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 
3 import "dccl/option_extensions.proto";
4 
5 package goby.middleware.protobuf;
6 
7 message LoggerRequest
8 {
9  enum State
10  {
11  START_LOGGING = 1;
12  STOP_LOGGING = 2;
13  ROTATE_LOG = 3;
14  }
15  required State requested_state = 1;
16  optional bool close_log = 2
17  [default = false]; // if true, close log when using STOP_LOGGING
18 }