public static getLoggerInstance ( ) : |
||
Résultat |
public static function getLoggerInstance()
{
if (static::$log === null) {
static::$log = new Logger('elasticsearch-indexer');
static::$log->pushHandler(new StreamHandler(static::getFilePath(), Logger::ERROR));
}
return static::$log;
}