src/modules/LoggerTrait.php
protected static function loggerCategory($category): string
    {
        /** @noinspection PhpUndefinedFieldInspection */
        $prefix = static::$category ?? '';

        if (empty($category)) {
            return $prefix;
        }

        return ($prefix ? $prefix . ':' : '') . $category;
    }
protected static function loggerCategory($category): string
    {
        /** @noinspection PhpUndefinedFieldInspection */
        $prefix = static::$category ?? '';

        if (empty($category)) {
            return $prefix;
        }

        return ($prefix ? $prefix . ':' : '') . $category;
    }
protected static function loggerCategory ( $ category ) : string { /** @noinspection PhpUndefinedFieldInspection */ $ prefix = static :: $ category ?? '' ; if ( empty ( $ category ) ) { return $ prefix ; } return ( $ prefix ? $ prefix . ':' : '' ) . $ category ; }
The log categories

@param $category
@return string
The log categories