Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogLevelVarName = "LOG_LEVEL" LogColorVarName = "LOG_COLOR" LogOutputVarName = "LOG_OUTPUT" LogFormatVarName = "LOG_FORMAT" LogTimeFormatVarName = "LOG_TIMEFORMAT" )
Variables ¶
This section is empty.
Functions ¶
func ExpandTimeFormat ¶
Types ¶
type RotatingLogWriter ¶
type RotatingLogWriter struct {
// contains filtered or unexported fields
}
func NewRotatingLogWriter ¶
func NewRotatingLogWriter(pattern string, isPattern bool) (*RotatingLogWriter, error)
func (*RotatingLogWriter) Close ¶
func (w *RotatingLogWriter) Close() error
func (*RotatingLogWriter) Rotate ¶
func (w *RotatingLogWriter) Rotate() error
Click to show internal directories.
Click to hide internal directories.