Documentation ¶
Index ¶
- Variables
- func CreateDefaultLogger()
- type Line
- type Logger
- func (l *Logger) CloseLogFiles()
- func (l *Logger) Date() string
- func (l *Logger) Error(err error) *Line
- func (l *Logger) Log(message string) *Line
- func (l *Logger) NewLine(tag string, kind string, color color.Attribute, message string) *Line
- func (l *Logger) OpenLogFiles()
- func (l *Logger) Request() *Line
- func (l *Logger) StartCron()
- func (l *Logger) Warn(message string) *Line
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultLogger Logger LogKindOut = "out" LogKindErr = "err" )
Functions ¶
func CreateDefaultLogger ¶
func CreateDefaultLogger()
Types ¶
type Line ¶
type Line struct {
// contains filtered or unexported fields
}
func (*Line) PrintInExternalFiles ¶
func (l *Line) PrintInExternalFiles()
func (*Line) StringPlain ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) CloseLogFiles ¶
func (l *Logger) CloseLogFiles()
func (*Logger) OpenLogFiles ¶
func (l *Logger) OpenLogFiles()
Click to show internal directories.
Click to hide internal directories.