Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseLogsFile ¶
func CloseLogsFile()
Types ¶
type LogFileDriver ¶
type LogFileDriver struct {
FilePath string
}
func (LogFileDriver) GetTarget ¶
func (f LogFileDriver) GetTarget() interface{}
type LogNullDriver ¶
type LogNullDriver struct{}
func (LogNullDriver) GetTarget ¶
func (n LogNullDriver) GetTarget() interface{}
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func NewLogger ¶
func NewLogger(driver LogsDriver) *Logger
func ResolveLogger ¶
func ResolveLogger() *Logger
type LogsDriver ¶
type LogsDriver interface {
GetTarget() interface{}
}
Click to show internal directories.
Click to hide internal directories.