platform/api/symfony/Component/HttpKernel/Attribute/WithLogLevel.yaml

33 lines
564 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: WithLogLevel
class_comment: null
dependencies:
- name: LogLevel
type: class
source: Psr\Log\LogLevel
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: level
comment: '# * Defines the log level applied to an exception.
# *
# * @author Dejan Angelov <angelovdejan@protonmail.com>
# */
# #[\Attribute(\Attribute::TARGET_CLASS)]
# final class WithLogLevel
# {
# /**
# * @param LogLevel::* $level The level to use to log the exception'
traits:
- Psr\Log\LogLevel
interfaces: []