Documentation
¶
Index ¶
- Constants
- func BadgerLogger(name ...string) badger.Logger
- type NFSLog
- func (l *NFSLog) Debug(args ...interface{})
- func (l *NFSLog) Debugf(format string, args ...interface{})
- func (l *NFSLog) Error(args ...interface{})
- func (l *NFSLog) Errorf(format string, args ...interface{})
- func (l *NFSLog) Fatal(args ...interface{})
- func (l *NFSLog) Fatalf(format string, args ...interface{})
- func (l *NFSLog) GetLevel() nfs.LogLevel
- func (l *NFSLog) Info(args ...interface{})
- func (l *NFSLog) Infof(format string, args ...interface{})
- func (l *NFSLog) Panic(args ...interface{})
- func (l *NFSLog) Panicf(format string, args ...interface{})
- func (l *NFSLog) ParseLevel(level string) (nfs.LogLevel, error)
- func (l *NFSLog) Print(args ...interface{})
- func (l *NFSLog) Printf(format string, args ...interface{})
- func (l *NFSLog) SetLevel(level nfs.LogLevel)
- func (l *NFSLog) Trace(args ...interface{})
- func (l *NFSLog) Tracef(format string, args ...interface{})
- func (l *NFSLog) Warn(args ...interface{})
- func (l *NFSLog) Warnf(format string, args ...interface{})
- type SlogWriter
Constants ¶
View Source
const FileName = "tstor.log"
Variables ¶
This section is empty.
Functions ¶
func BadgerLogger ¶
Types ¶
type NFSLog ¶
type NFSLog struct {
// contains filtered or unexported fields
}
func (*NFSLog) ParseLevel ¶
ParseLevel implements nfs.Logger.
type SlogWriter ¶
type SlogWriter struct {
// contains filtered or unexported fields
}
func NewSlogWriter ¶
Click to show internal directories.
Click to hide internal directories.