Documentation ¶
Index ¶
- type TestLogService
- func (l TestLogService) NewLogger(prefix string, flag int) *log.Logger
- func (l TestLogService) NewRawLogger(prefix string, flag int) *log.Logger
- func (l TestLogService) NewStaticLevelLogger(prefix string, flag int, level logging.Level) *log.Logger
- func (l TestLogService) NewStaticLevelWriter(level logging.Level) io.Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestLogService ¶
type TestLogService struct {
// contains filtered or unexported fields
}
func New ¶
func New() TestLogService
func NewWithPrefix ¶ added in v1.3.0
func NewWithPrefix(prefix string) TestLogService
func (TestLogService) NewLogger ¶
func (l TestLogService) NewLogger(prefix string, flag int) *log.Logger
func (TestLogService) NewRawLogger ¶
func (l TestLogService) NewRawLogger(prefix string, flag int) *log.Logger
func (TestLogService) NewStaticLevelLogger ¶
func (TestLogService) NewStaticLevelWriter ¶
func (l TestLogService) NewStaticLevelWriter(level logging.Level) io.Writer
Click to show internal directories.
Click to hide internal directories.