LoggingMonitor

Implements QueryMonitorInterface, LoggerAwareInterface

Query monitor handling logging of queries.

since

2.0.0

package

Joomla Framework

Methods

startQuery

Act on a query being started.

startQuery(string sql, object[]|null boundParams = null) : void
since

2.0.0

Arguments

sql

stringThe SQL to be executed.

boundParams

object[]|nullList of bound params, used with the query. Each item is an object that holds: value, dataType

stopQuery

Act on a query being stopped.

stopQuery() : void
since

2.0.0