Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileLogLogger ¶
type FileLogLogger struct {
// contains filtered or unexported fields
}
func CreateFileLogger ¶
func CreateFileLogger(appName string, options *FileLogOptions) (*FileLogLogger, error)
func (*FileLogLogger) Debug ¶
func (logger *FileLogLogger) Debug(now time.Time, msg string)
Debug ...
func (*FileLogLogger) Error ¶
func (logger *FileLogLogger) Error(now time.Time, msg string)
Error ...
func (*FileLogLogger) Shutdown ¶
func (logger *FileLogLogger) Shutdown()
type FileLogOptions ¶
type FileLogOptions struct { Directory string `json:"dir,omitempty"` DaysToKeep uint `json:"daysToKeep,omitempty"` }
FileLogOptions ...
Click to show internal directories.
Click to hide internal directories.