Documentation
¶
Index ¶
- type DevLogger
- func (d *DevLogger) Debug(msg string, kv ...any)
- func (d *DevLogger) Debugf(template string, args ...any)
- func (d *DevLogger) Error(msg string, kv ...any)
- func (d *DevLogger) Errorf(template string, args ...any)
- func (d *DevLogger) Info(msg string, kv ...any)
- func (d *DevLogger) Infof(template string, args ...any)
- func (d *DevLogger) Warn(msg string, kv ...any)
- func (d *DevLogger) Warnf(template string, args ...any)
- type Logger
- type ProdLogger
- func (p *ProdLogger) Debug(msg string, kv ...any)
- func (p *ProdLogger) Debugf(template string, args ...any)
- func (p *ProdLogger) Error(msg string, kv ...any)
- func (p *ProdLogger) Errorf(template string, args ...any)
- func (p *ProdLogger) Info(msg string, kv ...any)
- func (p *ProdLogger) Infof(template string, args ...any)
- func (p *ProdLogger) Warn(msg string, kv ...any)
- func (p *ProdLogger) Warnf(template string, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DevLogger ¶
type DevLogger struct {
// contains filtered or unexported fields
}
func NewDevLogger ¶
func NewDevLogger() *DevLogger
type Logger ¶
type ProdLogger ¶
type ProdLogger struct {
// contains filtered or unexported fields
}
func NewProdLogger ¶
func NewProdLogger() *ProdLogger
func (*ProdLogger) Debug ¶
func (p *ProdLogger) Debug(msg string, kv ...any)
func (*ProdLogger) Debugf ¶
func (p *ProdLogger) Debugf(template string, args ...any)
func (*ProdLogger) Error ¶
func (p *ProdLogger) Error(msg string, kv ...any)
func (*ProdLogger) Errorf ¶
func (p *ProdLogger) Errorf(template string, args ...any)
func (*ProdLogger) Info ¶
func (p *ProdLogger) Info(msg string, kv ...any)
func (*ProdLogger) Infof ¶
func (p *ProdLogger) Infof(template string, args ...any)
func (*ProdLogger) Warn ¶
func (p *ProdLogger) Warn(msg string, kv ...any)
func (*ProdLogger) Warnf ¶
func (p *ProdLogger) Warnf(template string, args ...any)
Click to show internal directories.
Click to hide internal directories.