PHP Interface Profiler\Logger\ProfilerLoggerInterface

Inheritance: extends Psr\Log\LoggerInterface
Show file Open project: loic-sharma/profiler

Public Methods

Method 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 method

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

getQueries() public method

Retrieve the queries.
public getQueries ( ) : array
return array

query() public method

Log a query statement.
public query ( string $query, integer $time ) : null
$query string
$time integer
return null