Documentation ¶
Overview ¶
Package server implements the sansshell 'Logging' service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is used to implement the gRPC Server
func (*Server) GetVerbosity ¶
GetVerbosity returns the last set value (or 0 if it's never been set).
func (*Server) SetVerbosity ¶
func (s *Server) SetVerbosity(ctx context.Context, req *pb.SetVerbosityRequest) (*pb.VerbosityReply, error)
SetVerbosity sets the logging level and returns the last value before this was called.
Click to show internal directories.
Click to hide internal directories.