Documentation ¶
Index ¶
- type Level
- type Logger
- func (l Logger) Close() error
- func (l Logger) Debug(args ...interface{})
- func (l Logger) Error(args ...interface{})
- func (l Logger) GetLogger() *log.Logger
- func (l Logger) Info(args ...interface{})
- func (l Logger) NewWithRequestID(requestID string) Logger
- func (l Logger) Println(args ...interface{})
- func (l *Logger) ReopenLogFile()
- func (l Logger) Warn(args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func NewFileLogger ¶
func (Logger) NewWithRequestID ¶
func (Logger) Println ¶
func (l Logger) Println(args ...interface{})
Write a new line with args. Unless you really want to customize output format, use "Info", "Warn", "Error" instead
func (*Logger) ReopenLogFile ¶
func (l *Logger) ReopenLogFile()
Click to show internal directories.
Click to hide internal directories.