PHP Class Wallmander\ElasticsearchIndexer\Model\Log

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

Méthodes publiques

Свойство Type Description
$log Monolog\Logger | null

Méthodes publiques

Méthode 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 méthode

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

get() public static méthode

Get entire log.
public static get ( ) : string
Résultat string

getFilePath() public static méthode

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

getLoggerInstance() public static méthode

Get the logger instance.
public static getLoggerInstance ( ) : Logger
Résultat Monolog\Logger

Property Details

$log public_oe static_oe property

public static Logger,Monolog|null $log
Résultat Monolog\Logger | null