Log
Table of Contents
Namespaces
Interfaces
- IDataLogger
- Interface IDataLogger
- IFileBased
- Interface IFileBased
- ILogFactory
- Interface ILogFactory
- IWriter
- Interface IWriter
Classes
- BeforeMessageLoggedEvent
- Even for when a log item is being logged
Traits
- RotationTrait
- Trait RotationTrait
Functions
- logger() : LoggerInterface
- Get a PSR logger
Functions
logger()
Get a PSR logger
logger([string|null $appId = null ]) : LoggerInterface
Whenever possible, inject a logger into your classes instead of relying on this helper function.
Parameters
- $appId : string|null = null
-
optional parameter to acquire the app-specific logger