MCPcopy Create free account
hub / github.com/containerd/nerdctl / PreProcess

Method PreProcess

pkg/logging/syslog_logger.go:126–133  ·  view source on GitHub ↗
(ctx context.Context, dataStore string, config *logging.Config)

Source from the content-addressed store, hash-verified

124}
125
126func (sy *SyslogLogger) PreProcess(ctx context.Context, dataStore string, config *logging.Config) error {
127 logger, err := parseSyslog(config.ID, sy.Opts)
128 if err != nil {
129 return err
130 }
131 sy.logger = logger
132 return nil
133}
134
135func (sy *SyslogLogger) Process(stdout <-chan string, stderr <-chan string) error {
136 var wg sync.WaitGroup

Callers

nothing calls this directly

Calls 1

parseSyslogFunction · 0.85

Tested by

no test coverage detected