Documentation ¶
Index ¶
- type DefaultLogger
- func (d DefaultLogger) Debug(message string, args ...interface{})
- func (d DefaultLogger) Error(message string, args ...interface{})
- func (d DefaultLogger) Fatal(message string, args ...interface{})
- func (d DefaultLogger) Info(message string, args ...interface{})
- func (d DefaultLogger) Warn(message string, args ...interface{})
- type LogService
- func (logSrv LogService) Debug(stream protos.LogService_DebugServer) error
- func (logSrv LogService) Error(stream protos.LogService_ErrorServer) error
- func (logSrv LogService) Fatal(stream protos.LogService_FatalServer) error
- func (logSrv LogService) Info(stream protos.LogService_InfoServer) error
- func (logSrv LogService) Warn(stream protos.LogService_WarnServer) error
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultLogger ¶
type DefaultLogger struct { }
func (DefaultLogger) Debug ¶
func (d DefaultLogger) Debug(message string, args ...interface{})
func (DefaultLogger) Error ¶
func (d DefaultLogger) Error(message string, args ...interface{})
func (DefaultLogger) Fatal ¶
func (d DefaultLogger) Fatal(message string, args ...interface{})
func (DefaultLogger) Info ¶
func (d DefaultLogger) Info(message string, args ...interface{})
func (DefaultLogger) Warn ¶
func (d DefaultLogger) Warn(message string, args ...interface{})
type LogService ¶
type LogService struct { protos.UnimplementedLogServiceServer // contains filtered or unexported fields }
func NewLogService ¶
func NewLogService(logger Logger) *LogService
func (LogService) Debug ¶
func (logSrv LogService) Debug(stream protos.LogService_DebugServer) error
func (LogService) Error ¶
func (logSrv LogService) Error(stream protos.LogService_ErrorServer) error
func (LogService) Fatal ¶
func (logSrv LogService) Fatal(stream protos.LogService_FatalServer) error
func (LogService) Info ¶
func (logSrv LogService) Info(stream protos.LogService_InfoServer) error
func (LogService) Warn ¶
func (logSrv LogService) Warn(stream protos.LogService_WarnServer) error
Click to show internal directories.
Click to hide internal directories.