src/helpers/LoggerHelper.php
public static function targetConfigs(array $categories): array
    {
        $configs = [];

        foreach ($categories as $category) {
            $configs[$category] = static::targetConfig($category);
        }

        return array_filter($configs);
    }
public static function targetConfigs(array $categories): array
    {
        $configs = [];

        foreach ($categories as $category) {
            $configs[$category] = static::targetConfig($category);
        }

        return array_filter($configs);
    }
public static function targetConfigs ( array $ categories ) : array { $ configs = [ ] ; foreach ( $ categories as $ category ) { $ configs [ $ category ] = static :: targetConfig ( $ category ) ; } return array_filter ( $ configs ) ; }
Takes an array of log categories and creates log target configs

@param array $categories
@return array
Takes an array of log categories and creates log target configs