github.com/Cloud-Foundations/Dominator@v0.3.4/proto/logger/messages.go (about) 1 package logger 2 3 type DebugRequest struct { 4 Args []string 5 Name string 6 Level uint8 7 } 8 9 type DebugResponse struct{} 10 11 type GetStackTraceRequest struct{} 12 13 type GetStackTraceResponse struct { 14 Data []byte 15 } 16 17 type PrintRequest struct { 18 Args []string 19 Name string 20 } 21 22 type PrintResponse struct{} 23 24 type SetDebugLevelRequest struct { 25 Name string 26 Level int16 27 } 28 29 type SetDebugLevelResponse struct{} 30 31 type WatchRequest struct { 32 DebugLevel int16 33 ExcludeRegex string // Empty: nothing excluded. Processed after includes. 34 IncludeRegex string // Empty: everything included. 35 Name string 36 } 37 38 type WatchResponse struct { 39 Error string 40 } // Log data are streamed afterwards.