/** * Formatter constructor. * @param string $template Log message template * @param string[] $paths Request paths to apply masking to */ public function __construct($template, $paths = null) { if ($paths) { $this->paths = $paths; } else { $this->paths = ['/ean-services/rs/hotel/v3/itin', '/ean-services/rs/hotel/v3/res']; } parent::__construct($template); }