Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for appendNonBuiltIns (0.22 sec)

  1. src/log/slog/handler.go

    		state.appendAttr(String(key, msg))
    	}
    	state.groups = stateGroups // Restore groups passed to ReplaceAttrs.
    	state.appendNonBuiltIns(r)
    	state.buf.WriteByte('\n')
    
    	h.mu.Lock()
    	defer h.mu.Unlock()
    	_, err := h.w.Write(*state.buf)
    	return err
    }
    
    func (s *handleState) appendNonBuiltIns(r Record) {
    	// preformatted Attrs
    	if pfa := s.h.preformattedAttrs; len(pfa) > 0 {
    		s.buf.WriteString(s.sep)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
Back to top