Elgg  Version 5.1
Namespaces | Functions | Variables
Loggable.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Traits
 

Functions

 Elgg\Traits::setLogger (LoggerInterface $logger=null)
 Set (or remove) the logger. More...
 
 Elgg\Traits::getLogger ()
 Returns logger. More...
 
 Elgg\Traits::log ($level, $message, array $context=[])
 Log a message. More...
 
 Elgg\Traits::logDeprecatedMessage (string $message, string $version)
 Sends a message about deprecated use of a function, view, etc. More...
 

Variables

trait Elgg\Traits::Loggable
 Enables adding a logger. More...