Documentation ¶
Index ¶
- func NewMultiLogger(loggers ...domain.Logger) domain.Logger
- func NewServer(config _app.Config) *server
- type MultiLogger
- func (l *MultiLogger) Debug(args ...interface{})
- func (l *MultiLogger) Debugf(template string, args ...interface{})
- func (l *MultiLogger) Error(args ...interface{})
- func (l *MultiLogger) Errorf(template string, args ...interface{})
- func (l *MultiLogger) Fatal(args ...interface{})
- func (l *MultiLogger) Fatalf(template string, args ...interface{})
- func (l *MultiLogger) Info(args ...interface{})
- func (l *MultiLogger) Infof(template string, args ...interface{})
- func (l *MultiLogger) Named(name string) domain.Logger
- func (l *MultiLogger) Panic(args ...interface{})
- func (l *MultiLogger) Panicf(template string, args ...interface{})
- func (l *MultiLogger) Warn(args ...interface{})
- func (l *MultiLogger) Warnf(template string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
@title log-rush-distribution-server @version 1.0 @description this is a log-rush log distribution server @contact.name API Support @contact.email contact@fabiankachlock.dev @license.name MIT @license.url https://github.com/log-rush/distribution-server/blob/main/LICENSE @host localhost:7000 @BasePath / @Tag.name logstream @Tag.description all endpoints for logstreams @Tag.name log @Tag.description all endpoints for logs
Types ¶
type MultiLogger ¶ added in v0.2.0
func (*MultiLogger) Debug ¶ added in v0.2.0
func (l *MultiLogger) Debug(args ...interface{})
func (*MultiLogger) Debugf ¶ added in v0.2.0
func (l *MultiLogger) Debugf(template string, args ...interface{})
func (*MultiLogger) Error ¶ added in v0.2.0
func (l *MultiLogger) Error(args ...interface{})
func (*MultiLogger) Errorf ¶ added in v0.2.0
func (l *MultiLogger) Errorf(template string, args ...interface{})
func (*MultiLogger) Fatal ¶ added in v0.2.0
func (l *MultiLogger) Fatal(args ...interface{})
func (*MultiLogger) Fatalf ¶ added in v0.2.0
func (l *MultiLogger) Fatalf(template string, args ...interface{})
func (*MultiLogger) Info ¶ added in v0.2.0
func (l *MultiLogger) Info(args ...interface{})
func (*MultiLogger) Infof ¶ added in v0.2.0
func (l *MultiLogger) Infof(template string, args ...interface{})
func (*MultiLogger) Panic ¶ added in v0.2.0
func (l *MultiLogger) Panic(args ...interface{})
func (*MultiLogger) Panicf ¶ added in v0.2.0
func (l *MultiLogger) Panicf(template string, args ...interface{})
func (*MultiLogger) Warn ¶ added in v0.2.0
func (l *MultiLogger) Warn(args ...interface{})
func (*MultiLogger) Warnf ¶ added in v0.2.0
func (l *MultiLogger) Warnf(template string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.