Documentation ¶
Index ¶
- func Caller(extends ...string) (string, int)
- func Close() error
- func Debugf(format string, v ...interface{})
- func Errorf(format string, v ...interface{})
- func Infof(format string, v ...interface{})
- func Regist(l *Log)
- func Warnf(format string, v ...interface{})
- type Log
- func (log *Log) Close() error
- func (log *Log) Debugf(format string, v ...any)
- func (log *Log) Errorf(format string, v ...any)
- func (log *Log) Infof(format string, v ...any)
- func (log *Log) SetWriter(w io.Writer) *Log
- func (log *Log) Warnf(format string, v ...any)
- func (log *Log) WithName(name string, opts ...Option) *Log
- func (log *Log) WithValues(key string, value interface{}) *Log
- type Option
- type Options
- type Rotate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
Log log
func (*Log) WithValues ¶
WithValues withvalues
Click to show internal directories.
Click to hide internal directories.