Documentation
¶
Index ¶
- type File
- func (t *File) Debug(args ...interface{})
- func (t *File) Error(err error)
- func (t *File) Fatal(err error)
- func (t *File) Info(args ...interface{})
- func (t *File) Init(app interfaces.IService) error
- func (t *File) Message(args ...interface{})
- func (t *File) Panic(err error)
- func (t *File) Push(level interfaces.LogLevel, msg string, toParent bool)
- func (t *File) SetLevel(level interfaces.LogLevel)
- func (t *File) Stop() error
- func (t *File) Warn(args ...interface{})
- type Mock
- func (t *Mock) Debug(args ...interface{})
- func (t *Mock) Error(err error)
- func (t *Mock) Fatal(err error)
- func (t *Mock) Info(args ...interface{})
- func (t *Mock) Init(app interfaces.IService) error
- func (t *Mock) Message(args ...interface{})
- func (t *Mock) Panic(err error)
- func (t *Mock) Push(level interfaces.LogLevel, msg string, toParent bool)
- func (t *Mock) SetLevel(level interfaces.LogLevel)
- func (t *Mock) Stop() error
- func (t *Mock) Warn(args ...interface{})
- type Std
- func (t *Std) Debug(args ...interface{})
- func (t *Std) Error(err error)
- func (t *Std) Fatal(err error)
- func (t *Std) Info(args ...interface{})
- func (t *Std) Init(app interfaces.IService) error
- func (t *Std) Message(args ...interface{})
- func (t *Std) Panic(err error)
- func (t *Std) Push(level interfaces.LogLevel, msg string, toParent bool)
- func (t *Std) SetLevel(level interfaces.LogLevel)
- func (t *Std) Stop() error
- func (t *Std) Warn(args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
Parent interfaces.ILogger
Level interfaces.LogLevel
FName string
// contains filtered or unexported fields
}
func (*File) SetLevel ¶
func (t *File) SetLevel(level interfaces.LogLevel)
type Mock ¶
type Mock struct {
}
func (*Mock) SetLevel ¶
func (t *Mock) SetLevel(level interfaces.LogLevel)
type Std ¶
type Std struct {
Parent interfaces.ILogger
Level interfaces.LogLevel
}
func (*Std) SetLevel ¶
func (t *Std) SetLevel(level interfaces.LogLevel)
Click to show internal directories.
Click to hide internal directories.