SilverStripe solr Search

LoggerTrait

Trait LoggerTrait

Trait for getting and setting the logger.

Table of Contents

Properties

$logger  : LoggerInterface
The logger to use

Methods

getLogger()  : LoggerInterface
Get the logger
setLogger()  : void
Set the logger if needed

Properties

$logger

The logger to use

protected LoggerInterface $logger

Methods

getLogger()

Get the logger

public getLogger() : LoggerInterface
Return values
LoggerInterface

setLogger()

Set the logger if needed

public setLogger(LoggerInterface $logger) : void
Parameters
$logger : LoggerInterface

        
On this page

Search results