2 import "goby/protobuf/option_extensions.proto";
3 import "dccl/option_extensions.proto";
5 package goby.util.protobuf;
9 option (dccl.msg).unit_system = "si";
20 optional Verbosity tty_verbosity = 1
21 [default = QUIET, (goby.field).description = "Terminal verbosity"];
23 optional bool show_gui = 2 [
25 (goby.field).description =
26 "Set to true to display windowed NCurses GUI for terminal output."
31 optional string file_name = 1 [
32 (goby.field).description =
33 "Path to the debug file to write. If 'file_dir' is set, this "
34 "field is the path relative to 'file_dir', otherwise it is an "
35 "absolute path. The string '%1%' must be present (unless omit.file_timestamp = true), which will "
36 "be replaced by the current UTC date and time. Additionally, "
37 "'%2%' will be replaced by the application name if present.",
38 default = "%2%_%1%.txt",
39 (goby.field).cfg = { action: ADVANCED }
41 optional string file_dir = 2 [
42 (goby.field).description =
43 "Directory to store log file in. If not specified, 'file_name' "
44 "will be assumed to be an full path to the log file"
47 optional Verbosity verbosity = 3 [
49 (goby.field).description = "Verbosity for this file log"
52 optional uint32 log_rotate_sec = 4 [
53 (goby.field).description =
54 "How often to rotate the glog file, in seconds.",
55 (dccl.field).units.base_dimensions = "T",
56 (goby.field).cfg = { action: ADVANCED }
61 optional bool file_timestamp = 1 [default = false];
62 optional bool latest_symlink = 2 [default = false];
64 optional Omit omit = 5;
66 optional FileLog file_log = 3
67 [(goby.field).description = "Open a file for (debug) logging."];
69 optional bool show_dccl_log = 4
70 [default = false, (goby.field).cfg = { action: ADVANCED }];