Documentation
¶
Index ¶
- Constants
- type Level
- type MinLog
- func NewClassicMinLog() *MinLog
- func NewClassicMinLogWithPackageName(packageName string) *MinLog
- func NewMinLog(appName string, level Level, withColor bool, flag int) *MinLog
- func NewMinLogWithLogger(packageName string, level Level, withColor bool, logger *log.Logger) *MinLog
- func NewMinLogWithWriter(appName string, level Level, withColor bool, flag int, logWriter io.Writer) *MinLog
- func (this *MinLog) Debug(args ...interface{})
- func (this *MinLog) Error(args ...interface{})
- func (this *MinLog) GetLevel() Level
- func (this *MinLog) GetLogger() *log.Logger
- func (this *MinLog) GetPackageName() string
- func (this *MinLog) Info(args ...interface{})
- func (this *MinLog) IsColorized() bool
- func (this *MinLog) SetLevel(level Level)
- func (this *MinLog) SetLogger(l *log.Logger)
- func (this *MinLog) SetPackageName(newPackageName string)
- func (this *MinLog) SetWriter(writer io.Writer)
- func (this *MinLog) Severe(args ...interface{})
- func (this *MinLog) Warning(args ...interface{})
- func (this *MinLog) WithColor(isColorized bool)
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinLog ¶
type MinLog struct {
// contains filtered or unexported fields
}
func NewClassicMinLog ¶
func NewClassicMinLog() *MinLog
func NewMinLogWithLogger ¶
func NewMinLogWithWriter ¶
func (*MinLog) GetPackageName ¶
func (*MinLog) IsColorized ¶
func (*MinLog) SetPackageName ¶
Click to show internal directories.
Click to hide internal directories.