NoopLogger
    
            
            in package
            
        
    
            
            implements
                            LoggerInterface                    
    
            
            uses
                            LoggerTrait                    
    
Table of Contents
Interfaces
Methods
- emit() : void
- getInstance() : self
- isEnabled() : bool
- Determine if the logger is enabled. Instrumentation authors SHOULD call this method each time they emit a LogRecord, to ensure they have the most up-to-date response.
- log() : void
Methods
emit()
    public
                    emit(LogRecord $logRecord) : void
    Parameters
- $logRecord : LogRecord
Tags
Attributes
- #[Override]
getInstance()
    public
            static        getInstance() : self
    Return values
selfisEnabled()
Determine if the logger is enabled. Instrumentation authors SHOULD call this method each time they emit a LogRecord, to ensure they have the most up-to-date response.
    public
                    isEnabled([ContextInterface|null $context = null ][, int|null $severityNumber = null ][, string|null $eventName = null ]) : bool
    Parameters
- $context : ContextInterface|null = null
- $severityNumber : int|null = null
- $eventName : string|null = null
Attributes
- #[Override]
Return values
boollog()
    public
                    log(mixed $level, mixed $message[, array<string|int, mixed> $context = [] ]) : void
    Parameters
- $level : mixed
- $message : mixed
- $context : array<string|int, mixed> = []
Tags
Attributes
- #[Override]