PHP Interface Profiler\Logger\ProfilerLoggerInterface

Inheritance: extends Psr\Log\LoggerInterface
Afficher le fichier Open project: loic-sharma/profiler

Méthodes publiques

Méthode Description
getLogs ( string $level = null ) : array Retrieve the logs for the matching level.
getQueries ( ) : array Retrieve the queries.
query ( string $query, integer $time ) : null Log a query statement.

Method Details

getLogs() public méthode

Retrieve the logs for the matching level.
public getLogs ( string $level = null ) : array
$level string
Résultat array

getQueries() public méthode

Retrieve the queries.
public getQueries ( ) : array
Résultat array

query() public méthode

Log a query statement.
public query ( string $query, integer $time ) : null
$query string
$time integer
Résultat null