Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareFile ¶
PrepareFile creates logfile and set it writable for user
func Test ¶ added in v0.5.0
func Test(callable func(TestOut))
Test run callable with changed logging output
func TestWithLevel ¶ added in v0.5.1
TestWithLevel run callable with changed logging output and log level
Types ¶
type FileLogger ¶
FileLogger wrapper
func (*FileLogger) Filename ¶
func (l *FileLogger) Filename() string
Filename returns current filename
type TextFormatter ¶
type TextFormatter struct { }
TextFormatter копипаста logrus.TextFormatter с косметическими изменениями
Click to show internal directories.
Click to hide internal directories.