code: func NewContainerLogManager(runtimeService internalapi.RuntimeService, maxSize string, maxFiles int) (ContainerLogManager, error) {
  	if maxFiles <= 1 {
  		return nil, fmt.Errorf("invalid MaxFiles %d, must be > 1", maxFiles)
  	}
  	parsedMaxSize, err := parseMaxSize(maxSize)
  	if err != nil {
  		return nil, fmt.Errorf("failed to parse container log max size %q: %v", maxSize, err)
  	}
  	// policy LogRotatePolicy
  	return &containerLogManager{
  		runtimeService: runtimeService,
  		policy: LogRotatePolicy{
  			MaxSize:  parsedMaxSize,
  			MaxFiles: maxFiles,
  		},
  		clock: clock.RealClock{},
  	}, nil
  }
docs: // NewContainerLogManager creates a new container log manager.