github.com/anycable/anycable-go@v1.5.1/metrics/custom_printer_unsupported.go (about) 1 //go:build (!darwin && !linux) || !mrb 2 // +build !darwin,!linux !mrb 3 4 package metrics 5 6 import ( 7 "errors" 8 "log/slog" 9 ) 10 11 // NewCustomPrinter generates log formatter from the provided (as path) 12 // Ruby script 13 func NewCustomPrinter(path string, l *slog.Logger) (*BasePrinter, error) { 14 return nil, errors.New("unsupported") 15 }