PHP Class Wallmander\ElasticsearchIndexer\Model\Log

Author: Mikael Mattsson ([email protected])
Datei anzeigen Open project: wallmanderco/elasticsearch-indexer Class Usage Examples

Public Properties

Property Type Description
$log Monolog\Logger | null

Public Methods

Method Description
add ( string $message ) Add a line to the log.
get ( ) : string Get entire log.
getFilePath ( string $filename = 'elasticsearch-indexer' ) : string Get the full path to a log file.
getLoggerInstance ( ) : Logger Get the logger instance.

Method Details

add() public static method

Add a line to the log.
public static add ( string $message )
$message string

get() public static method

Get entire log.
public static get ( ) : string
return string

getFilePath() public static method

Get the full path to a log file.
public static getFilePath ( string $filename = 'elasticsearch-indexer' ) : string
$filename string
return string

getLoggerInstance() public static method

Get the logger instance.
public static getLoggerInstance ( ) : Logger
return Monolog\Logger

Property Details

$log public_oe static_oe property

public static Logger,Monolog|null $log
return Monolog\Logger | null