handlers.go
func (handler *WriteHandler) Handle(record *Record) error {
	_, err := handler.Writer.Write([]byte(handler.Formatter.Format(record) + "\n"))
	return err
}
func (handler *WriteHandler) Handle(record *Record) error {
	_, err := handler.Writer.Write([]byte(handler.Formatter.Format(record) + "\n"))
	return err
}
func ( handler * WriteHandler ) Handle ( record * Record ) error { _ , err := handler . Writer . Write ( [ ] byte ( handler . Formatter . Format ( record ) + " \n " ) ) return err }
// Handle writes all provided log records to writer provided during creation.
Handle writes all provided log records to writer provided during creation .