public LogsRequestToOptionsMapper( IRuntimeInfoProvider runtimeInfoProvider, LogsContentEncoding contentEncoding, LogsContentType contentType, LogOutputFraming outputFraming, Option <LogsOutputGroupingConfig> outputGroupingConfig, bool follow) { this.runtimeInfoProvider = Preconditions.CheckNotNull(runtimeInfoProvider, nameof(runtimeInfoProvider)); this.contentType = contentType; this.contentEncoding = contentEncoding; this.outputFraming = outputFraming; this.outputGroupingConfig = outputGroupingConfig; this.follow = follow; }
public ModuleLogOptions( LogsContentEncoding contentEncoding, LogsContentType contentType, ModuleLogFilter filter, LogOutputFraming outputFraming, Option <LogsOutputGroupingConfig> outputGroupingConfig, bool follow) { this.ContentEncoding = contentEncoding; this.ContentType = contentType; this.Filter = Preconditions.CheckNotNull(filter, nameof(filter)); this.OutputFraming = outputFraming; this.OutputGroupingConfig = outputGroupingConfig; this.Follow = follow; }